https://bugs.kde.org/show_bug.cgi?id=389448

--- Comment #3 from Aetf <7437...@gmail.com> ---
Some investigation:

Given my resolution 3840x2160, It appears that Qt returns screen geometry as
1920x1080, which has been scaled down by QT_SCREEN_SCALE_FACTORS=2. Then in
KWindowSystem::workArea, which calls QScreen::geometry internally in X11
plugin[1], the returned value is scaled down the second time[2], and returns
960x540. Therefore yakuake calculates using wrong max height and width of the
screen.

[1]
https://cgit.kde.org/kwindowsystem.git/tree/src/platforms/xcb/kwindowsystem.cpp#n73
[2] https://cgit.kde.org/kwindowsystem.git/tree/src/kwindowsystem.cpp#n599

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to