Bug 374659 - Windows on HiDPI scaled display are small on the first run
Summary: Windows on HiDPI scaled display are small on the first run
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 5.8.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-06 22:06 UTC by Szymon Łągiewka
Modified: 2017-06-19 22:41 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Szymon Łągiewka 2017-01-06 22:06:22 UTC
This is somehow related to https://bugs.kde.org/show_bug.cgi?id=369196
I get the same result on the first showing of Yakuake. I was also able to reproduce it with MEGAsync when after starting a fresh instance and opening app window from tray. 

Possibly related: most windows that I start are shrank. This was tested on i.e. Wayland info, Dolphin, System settings and couple other programs.

Demo: https://drive.google.com/drive/folders/0B3ahLC5Mtqw3QktNTVZTc1U5dVE?usp=sharing

Also, when I was resizing those pictures in Gwenview, I noticed that the window that opened on `Resize` action was ridiculously small as well.
Comment 1 Szymon Łągiewka 2017-01-06 22:13:22 UTC
And one of the most annoying things is also the leaving dialog. I added appropriate photo to the demo folder.
Comment 2 Szymon Łągiewka 2017-01-06 22:51:24 UTC
Lock screen takes apx. 1/4 of the screen in the upperleft corner.
Comment 3 Martin Flöser 2017-01-09 20:15:41 UTC
what's your scale settings?
Comment 4 Szymon Łągiewka 2017-01-09 20:18:56 UTC
Scaling is done by a factor of 2. The native resolution is 3200x1800.
Comment 5 Martin Flöser 2017-01-10 05:49:50 UTC
Please disable any scaling. That is not supported yet.
Comment 6 Szymon Łągiewka 2017-01-11 18:30:23 UTC
Ok, understood. Since scaling is a requirement for my setup, I will try Wayland session again once scaling is supported (ideally for multi-monitor setups).
Comment 7 David Edmundson 2017-06-09 14:39:42 UTC
>Please disable any scaling. That is not supported yet.

It is supported now. How are you setting your scaling?
Comment 8 Szymon Łągiewka 2017-06-09 21:07:03 UTC
Before 5.10 I was using kscreen KCM.
With 5.10. I started using DrmOutputs in kwinrc as instructed.

The issues are not appearing anymore. You can change the status of the bug to whatever it needs to have.