When desktop scaling ratio is greater than 1 (System Settings -> Display and Monitor -> Scale Display), the height of the Konsole window becomes incorrect. For example, if I set scaling ratio to 1.7, the Konsole window opens down for less than a half of the screen, despite that in Konsole settings the height is set to 80% of the screen. I've also noticed that when scaling is enabled, Konsole window is sometimes incorrectly drawn and misses a line or two in the middle.
Created attachment 109514 [details] Konsole window with two undrawn lines Konsole window with two undrawn lines Here's a screenshot of Konsole with two undrawn horizontal lines (the lines show bits of desktop background behind Konsole window). I've also noticed that similar undrawn lines appear under each line of the console as its contents change. For example, one can start mc (Midnight Commander) and try navigating filesystem; the corrupted lines will appear as mc modifies the console contents.
The line issue is https://bugs.kde.org/show_bug.cgi?id=373232. Let's focus on the height issue here. Are you saying that with a 1.7 scale factor, the window isn't drawn 1.x7 as big as it would be with a 1.0 scale factor? Detailed Steps To Reproduce would be helpful here. See https://bugs.kde.org/page.cgi?id=bug-writing.html
> The line issue is https://bugs.kde.org/show_bug.cgi?id=373232. Ok, thanks. > Are you saying that with a 1.7 scale factor, the window isn't drawn 1.x7 as big as it would be with a 1.0 scale factor? Yes, exactly. > Detailed Steps To Reproduce would be helpful here. The bug description basically has them. More formally: 1. Set display scale ratio to 1. Reboot, if necessary, so that the ratio is in effect. 2. In Konsole settings, set window height to 80%. Try opening Konsole and notice that the window height is as expected (i.e. takes more than the half of the screen height). 3. Set display scale ratio to 1.7 and reboot. 4. Try opening Konsole window now. This time the window height is much smaller - noticeably less than half the screen height. 5. You can try changing Konsole window height, but in any case the height of the window will be much less than expected.
That should be not Konsole but Yakuake, sorry for the confusion.
QT_SCREEN_SCALE_FACTORS=1; yakuake comment https://bugs.kde.org/show_bug.cgi?id=389448#c9
While that works as a workaround, it keeps Yakuake UI elements unscaled.
Marking this as a duplicate to consolidate all these issues *** This bug has been marked as a duplicate of bug 389448 ***