Bug 406580 - "Hide background for not maximized windows" not working when PLASMA_USE_QT_SCALING=1
Summary: "Hide background for not maximized windows" not working when PLASMA_USE_QT_SC...
Status: RESOLVED DUPLICATE of bug 444222
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: 0.8.8
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
: 424722 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-04-15 23:18 UTC by Ritwick Verma
Modified: 2021-10-24 13:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ritwick Verma 2019-04-15 23:18:58 UTC
SUMMARY
The option to hide background under dynamic background in tweaks stops working on HiDPI screens when PLASMA_USE_QT_SCALING=1. Instead, the panel stays transparent regardless of window state. Considering how the variable is not meant to be used normally, are there any suggested workarounds? 

Note that the setting works when an attached dialog is opened like system tray drop down etc and the panel becomes opaque.

STEPS TO REPRODUCE
1. set scaling to 2 from KDE settings.
2. set PLASMA_USE_QT_SCALING=1.
3. reboot

OBSERVED RESULT
Transparent panel for maximized window. Hence, background always hidden (transparent).

EXPECTED RESULT
Opaque panel for maximized window, transparent panel otherwise.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56
Qt Version: 5.12.2

ADDITIONAL INFORMATION
Comment 1 Michail Vourlakos 2019-04-16 21:01:38 UTC
The use of PLASMA_USE_QT_SCALING is not suggested for Plasma + X11 environments. Plasma devs are very clear about this. The reason is that the combination breaks too many things around Plasma, more importantly the window geometries provided from X11 are not valid.

Nonetheless in plasma code here and there there are workarounds in order to make the experience affordable, and improve a bit the scaling experience under X11.

So my comment in this is the following, I will try to provide a small workaround but it will be only for in-development branch and not for the stable one and as long the workaround DO NOT break any other parts of Latte.
Comment 2 Ritwick Verma 2019-04-17 06:22:31 UTC
That's great! 
Thanks for the prompt reply.
Comment 3 rayholmium 2020-08-21 00:32:27 UTC
*** Bug 424722 has been marked as a duplicate of this bug. ***
Comment 4 Michail Vourlakos 2021-10-24 13:41:11 UTC
fixed today

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