Skip to content
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]: KryptonForm has "Black Line" under Titlebar when maximised #1336

Closed
mohatchaks opened this issue Feb 15, 2024 · 9 comments
Closed

[Bug]: KryptonForm has "Black Line" under Titlebar when maximised #1336

mohatchaks opened this issue Feb 15, 2024 · 9 comments
Labels
bug Something isn't working completed This issue has been completed. regression Something was working in a previous release, but isn't working now.
Milestone

Comments

@mohatchaks
Copy link

mohatchaks commented Feb 15, 2024

my info:
Canary version 90.24.1.22-beta
visual 2022
.Net framework 4.8
Windows 10
Gtx 960m ( HD Graphics 530 )
i7 6700hq

hi i get some weird line .
when i start with maximized it not get any line but when minimize or resize it get some black line on top of the form
here is some ss
also . i just changed the size of the window didn't change anything else

Capture1
Capture2
Capture4
Capture5
Capture6
empty

@mohatchaks mohatchaks added discussion Discussion thread. other All other issues. labels Feb 15, 2024
@mohatchaks mohatchaks changed the title [Other Issues]: black line on KryptonForm [Bug]: black line on KryptonForm Feb 15, 2024
@Smurf-IV Smurf-IV added bug Something isn't working regression Something was working in a previous release, but isn't working now. and removed discussion Discussion thread. other All other issues. labels Feb 16, 2024
@Smurf-IV Smurf-IV added the awaiting feedback A fix for this issue has been implemented, waiting for feedback on the fix. label Mar 24, 2024
@Smurf-IV Smurf-IV added this to the Version 90 milestone Mar 24, 2024
@Smurf-IV Smurf-IV removed the awaiting feedback A fix for this issue has been implemented, waiting for feedback on the fix. label Mar 24, 2024
@Smurf-IV
Copy link
Member

Smurf-IV commented Mar 24, 2024

I do not get the line when resizing, only in Maximised....

And it applies to all themes !

@Smurf-IV
Copy link
Member

Also, In the Krypton Form example app Using resize -> Maximised, there are defects all around where the border is supposed to be not there !

image

@Smurf-IV
Copy link
Member

  • When Set to none, the app is too big, and can be seen drawing into the next monitor
  • Fixed single - 2 pixels
  • Fixed 3D - 3 pixels
  • Fixed Dialog - 2, band also the Status bar is clipped
  • Sizeable - different mess
  • Fixed toolbar - 2

@Smurf-IV
Copy link
Member

90.23.12.352-alpha - ok

90.24.1.8-alpha - broken

@PWagner1
Copy link
Contributor

90.23.12.352-alpha - ok

90.24.1.8-alpha - broken

All changes made through those dates

@Smurf-IV Smurf-IV self-assigned this Mar 30, 2024
@Smurf-IV Smurf-IV added the under investigation This bug/issue is currently under investigation. label Mar 30, 2024
@Smurf-IV
Copy link
Member

Something in this PR:
9721f19

@Smurf-IV
Copy link
Member

Found it..
It's because the default is -1, and then that is used in the calcs...
image

@mohatchaks
Copy link
Author

hello smurf . i have tested the new updates
in canary version 90.23.12.352-beta everything is ok like u said there is no black lines on the form or some sort of bugs

. but in the version +90.23.12.352 like

90.24.1.22-beta
still line but now only when maximized
90.24.1.22-beta

90 24 1 22-beta

90.24.3.85-beta i got black background now xd

90 24 3 85-beta

i tried with .net framework 7.2 and .net core 6

@Smurf-IV
Copy link
Member

Smurf-IV commented Mar 31, 2024

Thanks for the follow-up

90.24.1.22-beta still line but now only when maximized 90.24.1.22-beta

Yes.. It will be in every build after 90.24.1.8-alpha (Including canary's)

90.24.3.85-beta i got black background now xd

That was fixed yesterday in #1370 ; so will be in the next alpha build after 2024-03-30

PR for this bug will be in, when I have fixed all the scenarios listed above - with the different border options

@Smurf-IV Smurf-IV changed the title [Bug]: black line on KryptonForm [Bug]: KryptonForm has "Black Line" under Titlebar when maximised Mar 31, 2024
Smurf-IV added a commit that referenced this issue Mar 31, 2024
- Fix a few designers showing "Modified" when nothing has been

#1336
@Smurf-IV Smurf-IV removed their assignment Mar 31, 2024
@Smurf-IV Smurf-IV added completed This issue has been completed. and removed under investigation This bug/issue is currently under investigation. labels Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working completed This issue has been completed. regression Something was working in a previous release, but isn't working now.
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants