Bug 377063 - yakuake doesn't respect the display scaling when calculating the yakuake window height
Summary: yakuake doesn't respect the display scaling when calculating the yakuake wind...
Status: RESOLVED DUPLICATE of bug 389448
Alias: None
Product: yakuake
Classification: Applications
Component: general (show other bugs)
Version: 3.0.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-01 14:47 UTC by markus
Modified: 2020-03-01 04:02 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Yakuake with wrong height (set to 100%) when display scaling is set to 1.5 (2.37 MB, image/png)
2017-03-01 14:47 UTC, markus
Details
Screen shot of this problem (220.47 KB, image/png)
2017-03-29 07:01 UTC, icie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markus 2017-03-01 14:47:17 UTC
Created attachment 104299 [details]
Yakuake with wrong height (set to 100%) when display scaling is set to 1.5

When using yakuake on a HiDPI display and setting the display scaling to e.g. 1.5 or 2.0, yakuake is displayed with the wrong height. If the height is set to 100% in yakuake and display scaling is set to 2.0, yakuake is displayed with a height of 50%. In case of display scaling set to 1.5, yakuake is shown with a height of 75%.
Comment 1 Eike Hein 2017-03-01 16:27:44 UTC
I can't reproduce this.
Comment 2 markus 2017-03-01 16:53:37 UTC
I'm sorry didn't thought of this being a multi-monitor problem.

I tested it again and with a single monitor the behaviour is as expected but with two monitors the described problem occurs.
Comment 3 icie 2017-03-29 07:01:12 UTC
Created attachment 104792 [details]
Screen shot of this problem
Comment 4 icie 2017-03-29 07:03:37 UTC
I can confirm this issue when using two monitors (Dell P2415Q, 4k resolution) with "Screen Scaling" set to 2. When only one monitor is used or Screen Scaling is set to 1, the issue disappears. A screenshot is attached with Screen Scaling=2.
Comment 5 icie 2017-03-29 07:08:40 UTC
Forgot to mention my spec:

Kubuntu 16.04.2, Plasma 5.9.3 from kubuntu-ci ppa, Yakuake 3.0.2-1 download from the official repository of Ubuntu Yakkety Yak.
Comment 6 Fred Blaise 2017-04-14 21:27:47 UTC
Without any other sort of testing, I am also impacted with that bug on my dell xps 13 3200x1800 when plugging my 4K external monitor. Works fine when laptop alone, but not with external 4K plugged in.

Using opensuse tumbleweed with plasma 5.9.4, yakuake 3.0.4.
Comment 7 George Moutsopoulos 2019-05-28 11:40:46 UTC
QT_SCREEN_SCALE_FACTORS=1; yakuake
comment https://bugs.kde.org/show_bug.cgi?id=389448#c9
Comment 8 Ariel Rosenfeld 2019-05-28 13:18:59 UTC
(In reply to George Moutsopoulos from comment #7)
> QT_SCREEN_SCALE_FACTORS=1; yakuake
> comment https://bugs.kde.org/show_bug.cgi?id=389448#c9

I can confirm the fix works

The QT documentation states that QT_SCREEN_SCALE_FACTORS should not be used as they bypass edid detection

QT_AUTO_SCREEN_SCALE_FACTOR and QT_SCALE_FACTOR are the correct variables for HIDPI but unfortunately they are disabled in startkde which also sets the scaling to the manual set scaling in the display scaling configuration

so to summarize i changed the veriable

QT_SCREEN_SCALE_FACTORS="DVI-I-0=1.2;DVI-I-1=1.2;DP-0=1.2;DP-1=1.2;DP-2=1.2;DP-3=1.2;HDMI-0=1.2;DP-4=1.2;DP-5=1.2;"

to 

QT_SCREEN_SCALE_FACTORS="1"
Comment 9 Andrew Hou 2020-03-01 04:02:19 UTC
Marking this as a duplicate to consolidate the issues. There seem to be a lot of variations, but they all center around display scaling interfering with Yakuake's width and/or height

*** This bug has been marked as a duplicate of bug 389448 ***