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)

default_inactive.png (18.0 KB ) - added by Starcrasher 2 years ago.
Handle of inactive window with Default decorator
default_active_cropped.png (17.3 KB ) - added by Starcrasher 2 years ago.
Handle of active window with Default decorator
Flat_inactive.png (18.0 KB ) - added by Starcrasher 2 years ago.
Handle of inactive window with Flat decorator
Flat_active_cropped.png (18.0 KB ) - added by Starcrasher 2 years ago.
Handle of active window with Flat decorator
Be_inactive.png (17.7 KB ) - added by Starcrasher 2 years ago.
Handle of inactive window with Be decorator
Be_active_cropped.png (12.8 KB ) - added by Starcrasher 2 years ago.
Handle of active window with Be decorator

Download all attachments as: .zip

Change History (10)

by Starcrasher, 2 years ago

Attachment: default_inactive.png added

Handle of inactive window with Default decorator

by Starcrasher, 2 years ago

Attachment: default_active_cropped.png added

Handle of active window with Default decorator

by Starcrasher, 2 years ago

Attachment: Flat_inactive.png added

Handle of inactive window with Flat decorator

by Starcrasher, 2 years ago

Attachment: Flat_active_cropped.png added

Handle of active window with Flat decorator

by Starcrasher, 2 years ago

Attachment: Be_inactive.png added

Handle of inactive window with Be decorator

by Starcrasher, 2 years ago

Attachment: Be_active_cropped.png added

Handle of active window with Be decorator

comment:1 by diver, 2 years ago

Component: - GeneralAdd-Ons/Decorators/Default
Version: R1/beta3R1/Development

comment:2 by diver, 2 years ago

Keywords: hidpi added
Summary: resising handles are not well alignedresizing handles are not well aligned

comment:3 by Starcrasher, 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 Starcrasher, 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.

Note: See TracTickets for help on using tickets.