| Summary: | Problems with auto hide on scaled HiDPI display | ||
|---|---|---|---|
| Product: | [Unmaintained] lattedock | Reporter: | publicmail0123 |
| Component: | application | Assignee: | Michail Vourlakos <mvourlakos> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kde |
| Priority: | NOR | ||
| Version First Reported In: | git (master) | ||
| Target Milestone: | --- | ||
| Platform: | Manjaro | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
My Latte settings
Latte dolphin active Latte dock no active windows Latte scaling turned off Latte debug scaled UHD Output of env in terminal |
||
|
Description
publicmail0123
2018-07-19 21:56:31 UTC
are you using wayland? (In reply to publicmail0123 from comment #0) > When I set my screen resolution on 3840 x 2160 and I scale my display > (tested at 1.5 scaling and 2x scaling) Latte dock hides when an application > window is active, even when it is not maximized. > please describe your workflow in detail in order to understand the issue... What is the visibility mode in question, what it should happen and what it doesnt happen... Hi, First some extra data: Manjaro KDE X11 Nvidia GTX970 aur/latte-dock-git Latte Dock 0.7.x does not have the mentioned problem Display Resolution:3840x2160 KDE Display Scaling: 2x (font DPI 168) Latte Dock settings: Dodge active Location : Bottom Alignment:center Description workflow: Latte dock with no apps active -> the latte dock is visible. I have dolphin pinned to latte dock. When I start dolphin and the dolphin window becomes active -> the latte dock hides. When I click the desktop so there are no windows wich have focus -> latte is visible again. I included 3 screenshots, 1 with my latte settings, 1 with an application window active and 1 with no application window active. I hope this clarifies things somewhat. Thanks for your time. Regards Created attachment 114017 [details]
My Latte settings
Latte dock settings
Created attachment 114018 [details]
Latte dolphin active
Latte is hiding when it should be visible
Created attachment 114019 [details]
Latte dock no active windows
Latte dock with no active application windows
Created attachment 114020 [details]
Latte scaling turned off
And a screenshot with display resolution 3840x2160, display scaling turned off, dolphin window active -> latte behaves normally (is visible).
I tried to replicate but I cant... Is it possible to create a video? a screencast? and mention in which secs you notice the issue? Hi Michail, I created a destop recording which shows the issue. It is 31 MB. What is the best way to get it to you? Ok, I watched the issue but the thing is that I cant reproduce yet in order to track down whose fault is it... 1. Close Latte and run it from command prompt as: "latte-dock -d --with-window" It will show you a debug window, please make a screenshot when you have enabled scaled HiDPI and one when HiDPI is not enabled 2. Close Latte and run it from command prompt as: "latte-dock -d --graphics" play a bit with it, do you notice anything strange in Latte visuals between scaled enabled and not? Created attachment 114026 [details]
Latte debug scaled UHD
Interesting, when I scale the display it says the resolution is 1920x1080 which is not the case.
With latte-dock -d --graphics I observed no strange visuals. So it seems when the desktop is in scaled mode the reported screen resolution is 1920x1080 when it is in fact 3840x2160. Unscaled the resolution is correctly reported. (In reply to publicmail0123 from comment #12) > With latte-dock -d --graphics I observed no strange visuals. So it seems > when the desktop is in scaled mode the reported screen resolution is > 1920x1080 when it is in fact 3840x2160. Unscaled the resolution is correctly > reported. that depends from how plasma is doing the scaling! what is your plasma version? some more info please! 1. If you use another scale parameter e.g. 1.7 what is the screen resolution indicated by Latte? 2. what is your qt version? Please paste the output of "env" in a terminal please. Created attachment 114028 [details]
Output of env in terminal
PLASMA_USE_QT_SCALING=1
This is not set by plasma and is a local modification.
Using Qt scaling in Plasma is deliberately off because of these sorts of issues.
As per the docs:
//on X, where we don't have compositor scaling, this generally works fine.
//also there are bugs on older Qt, especially when it comes to fractional scaling
//there's advantages to disabling, and (other than small context menu icons) few advantages in enabling
//On wayland, it's different. Everything is simpler as all co-ordinates are in the same co-ordinate system
(In reply to publicmail0123 from comment #16) > Created attachment 114028 [details] > Output of env in terminal You have set manually in your system: PLASMA_USE_QT_SCALING=1 as David mentioned, you must remove that line and re-login. afterwards everything should be ok concerning Latte. If you had issues with HiDPI in the past you probably hadnt set correctly your fonts dpi. One tool I am using to indicate a proper dpi value is: https://www.sven.de/dpi/ Confirmed, that solved the problem. Thank you for your help. (In reply to publicmail0123 from comment #19) > Confirmed, that solved the problem. Thank you for your help. no prob. I hope you enjoy Plasma and Latte... |