Opened 2 years ago
Last modified 2 years ago
#18001 new bug
resizing handles are not well aligned
Reported by: | Starcrasher | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Add-Ons/Decorators/Default | Version: | R1/Development |
Keywords: | hidpi | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
This is visible with all decorators but Flat and Be are making it more obvious.
This is on nightly hrev56530 x64
Attachments (6)
Change History (10)
by , 2 years ago
Attachment: | default_inactive.png added |
---|
by , 2 years ago
Attachment: | default_active_cropped.png added |
---|
Handle of active window with Default decorator
by , 2 years ago
Attachment: | Flat_active_cropped.png added |
---|
Handle of active window with Flat decorator
comment:1 by , 2 years ago
Component: | - General → Add-Ons/Decorators/Default |
---|---|
Version: | R1/beta3 → R1/Development |
comment:2 by , 2 years ago
Keywords: | hidpi added |
---|---|
Summary: | resising handles are not well aligned → resizing handles are not well aligned |
comment:3 by , 2 years ago
I was seeing this in my VM but not with my USB key. So, I looked for differences in my config and the only thing was that I had 13p fonts in my VM instead of standard 12p in my USB key.
It seems, that sliders column width is not resized with larger fonts. Handles doesn't seem to be resized either, at least not always. But, the space reserved for handles grows leaving gaps. Of course, bigger your fonts, more it is noticeable. Smaller fonts are also causing problems but it is less visible.
I think that if sliders column width is not scaling then the handle shouldn't either. Gaps would then be filled by (automatically?) adjusted sliders column length.
comment:4 by , 2 years ago
So, I did more tests and found out that increasing bold font size triggers decorator scaling (because of tab text?). Handles are in fact never scaling but the square space reserved for them does and even grows too much (in some cases it can eat the corner of the window). Therefore above 12p, a gap appears around the handle. Above 14p, another gap starts to appear between the window and the decorator borders adding to the mess.
Sliders width is growing normally with document font size, the handle should follow that.
I hope that helps to understand what is happening. Bon courage with that one, it seems tricky.
Handle of inactive window with Default decorator