-
Notifications
You must be signed in to change notification settings - Fork 52
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]: TestForm app: KCombobox from main.cs causes a crash #1462
Comments
@Wagnerp TY! |
A question about this and maybe you can help me short circuit this. The error happens when the main form is shown and the Office 365 blue theme is active. Could you please have a look if there are differences between the Blue and Dark theme which could lead to this? |
Hi @giduac The only differences I can think of are the colours. You could use a application called WinMerge to compare the differences. |
if a font is selected/set here then the errror is gone. Remove the font and the error is back. |
@Smurf-IV |
@giduac FYI: I have other things scheduled - I'll not be able to get to this until the 26th of May at the earliest. |
OK, NP. I'll see how far I can get on this in the mean time. |
@giduac are you in a position to solve this, Or do you want me to "have a go" at it still ? |
Hi @Smurf-IV , The topic start shows how far i got. Keep me posted on your findings and I'll see if I can be of assistance... |
@Smurf-IV |
…t of sync - Fix Default of `Near` foe edit controls in deisgner view - Some Resharper Warnings - Some intellisense warnings - Fix a few TestForm code issues #1462
@Smurf-IV |
Describe the bug
Main.cs (form Main) contains a KCombobox that causes a throw in the designer and at runtime.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
N/A
All other forms launched from startscreen have no issues
Desktop (please complete the following information):
Additional context
Narrowed it further down to the font & size used by the KManager basefont:
Both StartScreen and Main have a KManager attached both with default base font setting:
Removing the line of code from the designer file also removed the error.
Changing the font size in the designer file from 9F to 9.01F removes the error.
Changing the font to Verdana and leaving the size at 9F removes the error.
Reversing it brings back the error.
Also observed when changing the font size of the KCombobox on main form. The error goes away.
Removing the KCombobox from the form also removes the error.
Assigning a font to KCombobox
StateCommon.ComboBox.Content.Font
removes he error.Added: as stated earlier, it is not related to a specific theme.
After these findings it looks something in Dotnet and not related to or produced by KToolkit.
The text was updated successfully, but these errors were encountered: