Skip to content

WIP: BUGFIX: 389448 Factor in devicePixelRatio in setWindowGeometry

Sahan Fernando requested to merge ccapitalk/yakuake:master into master

This commit is meant to fix the hidpi bug that causes windows to only take up one quarter of the screen, by scaling the calculated geometry from device-independent pixels to physical pixels before setting the window geometry.

Note: I only really tested this on my own (single) high-dpi display, at a scaling factor of 2. I don't know how well it works on multiple desktop configurations, or mixed DPI setups.

Edited by Sahan Fernando

Merge request reports

Loading