View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0032097||Lazarus||IDE||public||2017-07-02 17:35||2017-08-16 10:04|
|Platform||PC 64-bit||OS||Windows 64-bit|
|Summary||0032097: Weird-looking IDE (esp. Object Inspector) and tiny icons on high-DPI displays with scaling=300%|
|Description||On a laptop with a 3840x2160 display and 300% scaling (otherwise all texts and icons are extremely tiny) the Lazarus IDE looks crumpled, especially the Object Inspector. It seems that not all sizes were scaled to 300%.|
After I manually resized all the IDE windows and the columns in the Object Inspector window, the appearance of the IDE became much better. However, some icons remained tiny on my laptop.
Additionally, the "resize cursor" for moving the columns boundary is tiny too.
|Steps To Reproduce||Download and install Lazarus at first time (with a clean user profile). |
Change the scaling from 100% to 300% (or 150%, 200%).
Launch the Lazarus IDE.
|Additional Information||You don't need to have UHD display to see these distorted things. Simply temporally change the scaling from 100% to 300% (or 150%, 200%) on a regular 1280x720 (or 1920x1080) display before launching the Lazarus IDE.|
|Tags||No tags attached.|
|Fixed in Revision||r55492, r55496, r55499|
Lazarus1_8RC3onUHDdisplay.png (324,738 bytes)
> However, some icons remained tiny on my laptop.
Can you please list the icons or icon containers? (E.g. treeview in object inspector and so on.)
||Ondrej, as far as column and row resizing of grids is concerned, there's a non-scaled constant 2 in doColSizing, line 5706, and in doRowSizing, line 5778, both in grids.pas. This is the tolerance for the mouse to be on the col/row boundary - at 300% this will be really tiny...|
Lazarus1_8RC3onUHDdisplayTinyIcons.png (598,179 bytes)
||I have uploaded a new screenshot (Lazarus1_8RC3onUHDdisplayTinyIcons.png) where the tiny icons are encircled by a red pen.|
||@Ondrej: You assigned the issue to you, but I hope it is OK, I've fixed the active row drawing in ObjectInspector in r55492?!|
||@Michl: Of course it is. Thank you! (I don't have time to work on PC this week at all - not only on Lazarus.)|
> as far as column and row resizing of grids is concerned, there's a non-scaled
> constant 2 in doColSizing, line 5706, and in doRowSizing, line 5778, both in
> grids.pas. This is the tolerance for the mouse to be on the col/row boundary -
> at 300% this will be really tiny...
I fixed this in r55494/5 (along with other unscaled constants).
||Thanks for the info. I have little bit free time just now. I'll have a look at the other issues too.|
||Problems shown in Lazarus1_8RC3onUHDdisplayTinyIcons.png fixed in Lazarus trunk revision 55492, 55496 and 55499. Only the different size of the component pagecontrol switching arrow, I can't see here (Windows 7 / Windows 10). I think it's a OS problem.|
|2017-07-02 17:35||salavata||New Issue|
|2017-07-02 17:35||salavata||File Added: Lazarus1_8RC3onUHDdisplay.png|
|2017-07-02 19:22||Ondrej Pokorny||Assigned To||=> Ondrej Pokorny|
|2017-07-02 19:22||Ondrej Pokorny||Status||new => assigned|
|2017-07-02 19:23||Ondrej Pokorny||Note Added: 0101455|
|2017-07-02 20:50||wp||Note Added: 0101458|
|2017-07-08 11:53||salavata||File Added: Lazarus1_8RC3onUHDdisplayTinyIcons.png|
|2017-07-08 11:55||salavata||Note Added: 0101605|
|2017-07-12 20:58||Michl||Note Added: 0101677|
|2017-07-12 20:58||Michl||Fixed in Revision||=> r55492|
|2017-07-12 20:58||Michl||LazTarget||=> -|
|2017-07-12 21:22||Ondrej Pokorny||Note Added: 0101678|
|2017-07-13 09:35||wp||Note Added: 0101687|
|2017-07-13 09:36||wp||Note Edited: 0101687||View Revisions|
|2017-07-13 17:03||Michl||Note Added: 0101696|
|2017-07-13 17:03||Michl||Assigned To||Ondrej Pokorny => Michl|
|2017-07-13 17:04||Michl||Fixed in Revision||r55492 => r55492, r55496|
|2017-07-13 19:58||Michl||Fixed in Revision||r55492, r55496 => r55492, r55496, r55499|
|2017-07-15 14:13||Michl||Note Added: 0101721|
|2017-07-15 14:13||Michl||Status||assigned => resolved|
|2017-07-15 14:13||Michl||Resolution||open => fixed|
|2017-08-16 10:04||Michl||Relationship added||related to 0032280|