-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: VisualMessageBoxForm throws exception when used with custom theme #1552
Comments
Hi @lukas2-werner, Can you please state which custom theme you are using? |
I use this theme https://github.com/Krypton-Suite/Theme-Palettes/blob/alpha/Palettes/Other/Asphalt_v19.xml |
I understand that you cannot provide the actual program and we don't need that. In that way we don't have guess or try all kind of combinations to reproduce the error. TY. |
I just tried it with a random example 'Test MessageBox Clipping 2022' from Standard-Toolkit-Demos.
Start the example and switch to custom theme. |
This is triggered (possibly) by a missing case in a |
@lukas2-werner Ty. @Wagnerp, That sounds a like a case for you ... |
Hi @giduac Building on my last response, the bug is in Can you please provide a sample that triggers this bug all the time? |
Hi @Wagnerp |
What happens if you directly feed the path into the |
The same thing happens. |
@Wagnerp |
The custom palette XML files need updating to use the latest schema. It can be done individually using https://github.com/Krypton-Suite/Theme-Palettes/tree/master/Applications/Source/Palette%20Upgrade%20Tool, but I wonder if it can be extended to accept a folder as a input/output? |
Create an item in the Themes repo backlog please? |
@Wagnerp |
Need to test, but the toolkit should prompt the user to upgrade the palette XML if it's incompatible... |
Does not appear in VS 17.10.4 (It just complains about the use of .Net 9 SDK!) |
Looks like a palette version incompatibility issue. Have you tried upgrading it? |
Yes, I used the Palette Upgrade Tool but the result is the same. |
Hi @lukas2-werner, Keep an eye on discord for the notification when the next nightly will be released. |
I tested the 90.24.8.232-alpha and it works. |
Describe the bug
The following message pops up if I open a KryptonMessageBox while a custom theme is loaded:
looking at the stack trace:
It seems it is this line that is causing the bug:
Standard-Toolkit/Source/Krypton Components/Krypton.Toolkit/Controls Visuals/VisualMessageBoxForm.Designer.cs
Line 205 in cfc9950
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: