Bug 480427 - Preview somtimes displays incorrectly with scaling
Summary: Preview somtimes displays incorrectly with scaling
Status: REPORTED
Alias: None
Product: Skanlite
Classification: Applications
Component: general (show other bugs)
Version: 23.08.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Kåre Särs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-28 11:20 UTC by Mohammed Khoory
Modified: 2024-01-28 11:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Skanlite screenshot after startup with 150% scaling (146.91 KB, image/png)
2024-01-28 11:20 UTC, Mohammed Khoory
Details
Skanlite screenshot after startup with 200% scaling (169.38 KB, image/png)
2024-01-28 11:21 UTC, Mohammed Khoory
Details
Skanlite screenshot after startup with 100% scaling (68.08 KB, image/png)
2024-01-28 11:21 UTC, Mohammed Khoory
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mohammed Khoory 2024-01-28 11:20:28 UTC
Created attachment 165304 [details]
Skanlite screenshot after startup with 150% scaling

SUMMARY
If the desktop has scaling enabled, and you start skanlite, the preview pane doesn't look like it's being displayed correctly. However, after previewing something, it does get displayed properly centered and scaled down. 

This isn't a very major issue, because the app is still usable, but it really gives a janky feel to the app.

STEPS TO REPRODUCE
1. Set scaling to something higher than 100% (I've testing 150% and 200%)
2. Start skanlite

OBSERVED RESULT
The preview pane is not centered correctly

EXPECTED RESULT
The preview pane should be displayed and centered correctly, just like how it does after you perform a preview.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Manjaro Linux
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION
I am using Wayland usually with 150% scaling. I am not sure if this issue occurs in X11. When writing this report, I was closing the app, changing the scaling settings, and then started the app again without rebooting.
Comment 1 Mohammed Khoory 2024-01-28 11:21:12 UTC
Created attachment 165305 [details]
Skanlite screenshot after startup with 200% scaling
Comment 2 Mohammed Khoory 2024-01-28 11:21:53 UTC
Created attachment 165306 [details]
Skanlite screenshot after startup with 100% scaling

As a reference, this is what I expect to see working correctly when scaling is enabled.