View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0037886 | Packages | Packages | public | 2020-10-07 22:42 | 2021-03-01 18:45 |
Reporter | Sven Barth | Assigned To | Balázs Székely | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | X86_64 | OS | Windows NT | ||
Product Version | 2.1 (SVN) | ||||
Summary | 0037886: OPM: rating stars are squashed in HighDPI | ||||
Description | When using the Online Package Manager in HighDPI (in my case 200%) the rating stars appear to be squashed together compared to being started with 100% (or scaling done by Windows). | ||||
Tags | No tags attached. | ||||
Fixed in Revision | |||||
LazTarget | 2.2 | ||||
Widgetset | Win32/Win64 | ||||
Attached Files |
|
|
|
|
Confirmed at 144 DPI (150%) |
|
I cannot reproduce this issue with Lazarus trunk. See attached image at 175%. |
|
On Win 7 @144ppi, I see the stars similar to Pascal Riekenberg's screenshot. The issue can be fixed by replacing the calculation of FStarSize in TVisualTree.Create (unit opkman_visualtree) by FStarSize := FVST.Scale96ToForm(AImgList.Width) (rather than having the ImageList calculate it which may not be ready at this early stage of creation). There is one problem which I could not find quickly and which I leave up to you, Balázs: When I click on a star at 144ppi the message box reports always one star more than what is highlighted before clicking). |
|
Please test with r.64711. |
|
Works correctly now. |
|
@wp Thank you! |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-10-07 22:42 | Sven Barth | New Issue | |
2020-10-07 22:42 | Sven Barth | File Added: lazarus-highdpi-opm-stars.png | |
2020-10-09 15:13 | Pascal Riekenberg | Note Added: 0126181 | |
2020-10-09 15:13 | Pascal Riekenberg | File Added: Screenshot 2020-10-09 151237.png | |
2020-10-09 15:13 | Pascal Riekenberg | Assigned To | => Pascal Riekenberg |
2020-10-09 15:13 | Pascal Riekenberg | Status | new => acknowledged |
2020-10-09 15:13 | Pascal Riekenberg | LazTarget | => - |
2020-10-09 15:14 | Pascal Riekenberg | Assigned To | Pascal Riekenberg => Balázs Székely |
2021-03-01 07:15 | Balázs Székely | Note Added: 0129263 | |
2021-03-01 07:15 | Balázs Székely | File Added: OPM.png | |
2021-03-01 10:26 | wp | Note Added: 0129265 | |
2021-03-01 16:18 | Balázs Székely | Note Added: 0129285 | |
2021-03-01 17:22 | Balázs Székely | Status | acknowledged => assigned |
2021-03-01 18:23 | wp | Note Added: 0129287 | |
2021-03-01 18:45 | Balázs Székely | Status | assigned => resolved |
2021-03-01 18:45 | Balázs Székely | Resolution | open => fixed |
2021-03-01 18:45 | Balázs Székely | LazTarget | - => 2.2 |
2021-03-01 18:45 | Balázs Székely | Widgetset | Win32/Win64 => Win32/Win64 |
2021-03-01 18:45 | Balázs Székely | Note Added: 0129289 |