-
Notifications
You must be signed in to change notification settings - Fork 72
* Revisit #648 #2489
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
base: alpha
Are you sure you want to change the base?
* Revisit #648 #2489
Conversation
Will be testing during this week |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A strange thing is that the InternalPanel is selectable. if you click that area. When the title-bar is clicked the KForm is selected. The latter should be the case when any part of the form is clicked, the form is selected in the properties window.
I cant see any improvement in this branch atm.
Also controls cannot be added, as was the case before.
devenv_hAwOMPRKTp.mp4
Please have this corrected before requesting a review.
Thanks.
I don't know why, but it seems to work correctly in some instances but not others... |
Why does the menu interfere with the controls area / internalPanel... |
That, I don't understand, as it never touches it? |
Yesssssssssssssss......... fixed it!!!!!!!!!!! |
I'd like to take this a bit further.
|
And controls cant be added normally nor can they be moved across the form. |
This is pretty much of a hit and miss... Screen.Recording.2025-09-17.084932.mp4 |
So disabling worked at designtime, nice. There have been quite a few edits to try to get this fixed. Which most of those are likely unnecessary. So best is to clean all this out and get it nice and tidy. When going over the code I think there are also some stale code blocks. After that I'd like to go over the code and have a look at the need for nullability on vars/instances to reduce null checks. # EDIT:Or maybe better take a new branch from Alpha to lose all the changes. And:Since this all happens in the form instance the /// <summary>
/// Robust design mode detection that works both at design time and runtime.
/// </summary>
private bool IsInDesignMode()
{
// Multiple checks for robust designer mode detection
return LicenseManager.UsageMode == LicenseUsageMode.Designtime ||
Site?.DesignMode == true ||
(Site?.Container?.Components?.OfType<Control>().Any(c => c.Site?.DesignMode == true) == true);
}``` |
Not necessary, as systemmenu is now disabled at design time. That's what the code block is for. |
KryptonForm
's 'InternalPanel' designer issues #2480