Bug 415765 - Latte dock won't consistently raise
Summary: Latte dock won't consistently raise
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-01 15:19 UTC by bobo_raketa
Modified: 2020-01-01 19:54 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
latte layout (4.99 KB, text/plain)
2020-01-01 15:22 UTC, bobo_raketa
Details
desktop with maxed window (221.11 KB, image/png)
2020-01-01 16:11 UTC, bobo_raketa
Details
debug window (881.31 KB, image/png)
2020-01-01 16:13 UTC, bobo_raketa
Details
debug fullscreen (1.84 MB, image/png)
2020-01-01 16:23 UTC, bobo_raketa
Details
debug fullscreen2 (1.08 MB, image/png)
2020-01-01 16:25 UTC, bobo_raketa
Details
latte_debug_graphics (1.05 MB, image/png)
2020-01-01 17:08 UTC, bobo_raketa
Details
debug with scaling 1 (959.60 KB, image/png)
2020-01-01 18:00 UTC, bobo_raketa
Details
env with scaling 1 (1.43 MB, image/png)
2020-01-01 18:02 UTC, bobo_raketa
Details
env with scaling 1.5 (white line in konsole visible) (3.07 KB, application/x-shellscript)
2020-01-01 18:05 UTC, bobo_raketa
Details
latte (1.30 MB, image/png)
2020-01-01 18:20 UTC, bobo_raketa
Details
latte_graph_autohidden (1.30 MB, image/png)
2020-01-01 18:35 UTC, bobo_raketa
Details
green_line (1.34 MB, image/png)
2020-01-01 18:50 UTC, bobo_raketa
Details
hover (1.35 MB, image/png)
2020-01-01 19:00 UTC, bobo_raketa
Details
2 (53.37 KB, text/plain)
2020-01-01 19:29 UTC, bobo_raketa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bobo_raketa 2020-01-01 15:19:02 UTC
SUMMARY
Latte dock often won't raise from the bottom edge on maximized window. It is set to Dodge all windows, with show delay set to none. It takes multiple attempts and fiddling with cursor until dock finally shows up. I've tried different display scaling factors, and even reverted back to 1 - issue remains
STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 19.10
(available in About System)
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.62
Qt Version: 5.12.4

ADDITIONAL INFORMATION
Comment 1 bobo_raketa 2020-01-01 15:22:58 UTC
Created attachment 124823 [details]
latte layout
Comment 2 Michail Vourlakos 2020-01-01 15:47:10 UTC
1. what is your Latte version ?
2. If you DISABLE KWin edge at Behavior -> Environment -> Activate KWin Edge
3. Attach a screenshot of your desktop in case I observe something curious

in my system I can not reproduce...
Comment 3 Michail Vourlakos 2020-01-01 15:49:34 UTC
4. You said you are using Visibility mode  : Dodge All Windows but in the layout you sent is: Visibility Mode : Dodge Active ... does it make any difference in your system?
Comment 4 Michail Vourlakos 2020-01-01 15:52:03 UTC
5. Run Latte from command prompt with command "latte-dock -d --with-window" and make a desktop screenshot for all you desktop including the debug window that will be shown
Comment 5 bobo_raketa 2020-01-01 16:11:34 UTC
Created attachment 124824 [details]
desktop with maxed window
Comment 6 bobo_raketa 2020-01-01 16:12:30 UTC
(In reply to Michail Vourlakos from comment #3)
> 4. You said you are using Visibility mode  : Dodge All Windows but in the
> layout you sent is: Visibility Mode : Dodge Active ... does it make any
> difference in your system?

I've tried different settings. issue remains
Comment 7 bobo_raketa 2020-01-01 16:13:30 UTC
Created attachment 124825 [details]
debug window
Comment 8 bobo_raketa 2020-01-01 16:23:14 UTC
Created attachment 124827 [details]
debug fullscreen
Comment 9 Michail Vourlakos 2020-01-01 16:23:29 UTC
Is there a chance that for the maximized window creating the issue you have enabled pressed Keep Above from the window titlebar button?

Can you also provide a desktop screenshot with the debug window in it when the issue occurs
Comment 10 bobo_raketa 2020-01-01 16:25:11 UTC
Created attachment 124828 [details]
debug fullscreen2
Comment 11 Michail Vourlakos 2020-01-01 16:28:00 UTC
7. When Behavior, Environment, KWin edge is enabled and you are approaching the screen edge with the mouse, do you see the screen edge glowing?
Comment 12 bobo_raketa 2020-01-01 16:32:00 UTC
(In reply to Michail Vourlakos from comment #9)
> Is there a chance that for the maximized window creating the issue you have
> enabled pressed Keep Above from the window titlebar button?
> 
> Can you also provide a desktop screenshot with the debug window in it when
> the issue occurs

"Keep above" is not enabled. I've attached couple more screenshots with full screen debug window. At that time dock didn't want to raise at all.  I've changed show Delay to 100 ms and it sometimes raised after fiddling, but very inconsistent
Comment 13 bobo_raketa 2020-01-01 16:33:53 UTC
(In reply to Michail Vourlakos from comment #11)
> 7. When Behavior, Environment, KWin edge is enabled and you are approaching
> the screen edge with the mouse, do you see the screen edge glowing?

Sometimes. After moving cursor back and forth many times. Often it just stop showing up at all until I switch to another window
Comment 14 Michail Vourlakos 2020-01-01 16:37:27 UTC
1. What is your Latte version?
Comment 15 bobo_raketa 2020-01-01 16:39:09 UTC
(In reply to Michail Vourlakos from comment #14)
> 1. What is your Latte version?

0.9.3
Comment 16 bobo_raketa 2020-01-01 16:42:33 UTC
(In reply to Michail Vourlakos from comment #14)
> 1. What is your Latte version?

also, in debug window I'm getting many warning lines of
 "" doesn't have any WindowType, assuming as NET::Normal
Comment 17 Michail Vourlakos 2020-01-01 17:01:28 UTC
(In reply to bobo_raketa from comment #16)
> (In reply to Michail Vourlakos from comment #14)
> > 1. What is your Latte version?
> 
> also, in debug window I'm getting many warning lines of
>  "" doesn't have any WindowType, assuming as NET::Normal

dont worry about them...

let's try the following:

1. [Disable] Behavior -> Environment -> KWin Edge
2. Restart Latte from command line with: "latte-dock -d --graphics"

Now your Latte when it becomes hidden it is not really hidden, there should be ALWAYS a small green line at the screen edge that became hidden. Is this still observed when the issue occurs? Can you make some new screenshots with this behavior?
Comment 18 bobo_raketa 2020-01-01 17:08:33 UTC
Created attachment 124829 [details]
latte_debug_graphics
Comment 19 bobo_raketa 2020-01-01 17:09:24 UTC
(In reply to Michail Vourlakos from comment #17)
> (In reply to bobo_raketa from comment #16)
> > (In reply to Michail Vourlakos from comment #14)
> > > 1. What is your Latte version?
> > 
> > also, in debug window I'm getting many warning lines of
> >  "" doesn't have any WindowType, assuming as NET::Normal
> 
> dont worry about them...
> 
> let's try the following:
> 
> 1. [Disable] Behavior -> Environment -> KWin Edge
> 2. Restart Latte from command line with: "latte-dock -d --graphics"
> 
> Now your Latte when it becomes hidden it is not really hidden, there should
> be ALWAYS a small green line at the screen edge that became hidden. Is this
> still observed when the issue occurs? Can you make some new screenshots with
> this behavior?

I cannot see a green line
Comment 20 Michail Vourlakos 2020-01-01 17:51:16 UTC
1. Run in your command prompt: "env" and send me the output
2. Do you see a white line at the bottom screen edge when your Konsole is maximized? This should NOT happen... Something is probably messed up with your window geometries.
Comment 21 bobo_raketa 2020-01-01 18:00:27 UTC
(In reply to Michail Vourlakos from comment #20)
> 1. Run in your command prompt: "env" and send me the output
> 2. Do you see a white line at the bottom screen edge when your Konsole is
> maximized? This should NOT happen... Something is probably messed up with
> your window geometries.

This line caused by scaling - I've scaled display to 1.5. I reverted back to 1 now and ran "latte-dock -d --graphics" again and the dock still behaves the same - no green line, and won't raise. I'm uploading another attachment
Comment 22 bobo_raketa 2020-01-01 18:00:58 UTC
Created attachment 124831 [details]
debug with scaling 1
Comment 23 bobo_raketa 2020-01-01 18:02:12 UTC
Created attachment 124832 [details]
env with scaling 1
Comment 24 Michail Vourlakos 2020-01-01 18:05:16 UTC
(In reply to bobo_raketa from comment #21)
> (In reply to Michail Vourlakos from comment #20)
> > 1. Run in your command prompt: "env" and send me the output
> > 2. Do you see a white line at the bottom screen edge when your Konsole is
> > maximized? This should NOT happen... Something is probably messed up with
> > your window geometries.
> 
> This line caused by scaling - I've scaled display to 1.5. I reverted back to
> 1 now and ran "latte-dock -d --graphics" again and the dock still behaves
> the same - no green line, and won't raise. I'm uploading another attachment

1. Set you visibility mode to "AutoHide"
2. Minimize all windows
3. Do you see the green line now at the bottom ?
Comment 25 bobo_raketa 2020-01-01 18:05:57 UTC
Created attachment 124833 [details]
env with scaling 1.5 (white line in konsole visible)
Comment 26 bobo_raketa 2020-01-01 18:10:34 UTC
(In reply to bobo_raketa from comment #25)
> Created attachment 124833 [details]
> env with scaling 1.5 (white line in konsole visible)
(In reply to Michail Vourlakos from comment #24)
> (In reply to bobo_raketa from comment #21)
> > (In reply to Michail Vourlakos from comment #20)
> > > 1. Run in your command prompt: "env" and send me the output
> > > 2. Do you see a white line at the bottom screen edge when your Konsole is
> > > maximized? This should NOT happen... Something is probably messed up with
> > > your window geometries.
> > 
> > This line caused by scaling - I've scaled display to 1.5. I reverted back to
> > 1 now and ran "latte-dock -d --graphics" again and the dock still behaves
> > the same - no green line, and won't raise. I'm uploading another attachment
> 
> 1. Set you visibility mode to "AutoHide"
> 2. Minimize all windows
> 3. Do you see the green line now at the bottom ?

No. I do not see it. I cannot trigger dock at all now
Comment 27 Michail Vourlakos 2020-01-01 18:13:52 UTC
show me a screenshot of your desktop with no windows shown and the mouse to hover the Latte dock please, and make sure that you started Latte with: 

"latte-dock -d --graphics"
Comment 28 bobo_raketa 2020-01-01 18:20:40 UTC
Created attachment 124834 [details]
latte
Comment 29 Michail Vourlakos 2020-01-01 18:27:47 UTC
ok, this is correct! 

now let the dock AutoHide and make a screenshot again (no other windows should be shown in the screenshot)
Comment 30 bobo_raketa 2020-01-01 18:35:27 UTC
Created attachment 124835 [details]
latte_graph_autohidden
Comment 31 Michail Vourlakos 2020-01-01 18:37:56 UTC
(In reply to Michail Vourlakos from comment #29)
> ok, this is correct! 
> 
> now let the dock AutoHide and make a screenshot again (no other windows
> should be shown in the screenshot)

strange... 

1. Right click dock -> Dock Settings
2. Enable advance mode from top right corner of the Dock Settings
3. make a screenshot of Behavior settings in advanced mode and more precise I am interested in the Environment option in there
Comment 32 bobo_raketa 2020-01-01 18:49:36 UTC
(In reply to Michail Vourlakos from comment #31)
> (In reply to Michail Vourlakos from comment #29)
> > ok, this is correct! 
> > 
> > now let the dock AutoHide and make a screenshot again (no other windows
> > should be shown in the screenshot)
> 
> strange... 
> 
> 1. Right click dock -> Dock Settings
> 2. Enable advance mode from top right corner of the Dock Settings
> 3. make a screenshot of Behavior settings in advanced mode and more precise
> I am interested in the Environment option in there

I cannot capture screenshot - settings window disappears as soon as I take it. But there were 4 options. Only 1 one was ticked "Activate Kwin edge after hiding". I had unchecked it, and green line is always shown (adding screenshot). But dock still wont raise, when I move cursor towards it
Comment 33 bobo_raketa 2020-01-01 18:50:16 UTC
Created attachment 124836 [details]
green_line
Comment 34 Michail Vourlakos 2020-01-01 18:54:27 UTC
You hover your mouse over that green line and the Dock is NOT SHOWN?
Comment 35 Michail Vourlakos 2020-01-01 18:56:13 UTC
BTW in Dock Settings above the Advanced settings button there is a sticker button in order to not close dock settings when focused out.
Comment 36 bobo_raketa 2020-01-01 18:59:40 UTC
(In reply to Michail Vourlakos from comment #34)
> You hover your mouse over that green line and the Dock is NOT SHOWN?

That is correct (adding screenshot with mouse hovering it). Sometimes, when I switch to another window, and fiddle around that green line it raises, but it is very rare
Comment 37 bobo_raketa 2020-01-01 19:00:17 UTC
Created attachment 124837 [details]
hover
Comment 38 Michail Vourlakos 2020-01-01 19:02:58 UTC
(In reply to bobo_raketa from comment #37)
> Created attachment 124837 [details]
> hover

ok,

1. make sure that all windows are minimized and you see only the green line at the bottom
2. open a command line and execute "xprop"
3. click the cross that will be shown the green line, what is the output?
Comment 39 bobo_raketa 2020-01-01 19:08:30 UTC
(In reply to Michail Vourlakos from comment #38)
> (In reply to bobo_raketa from comment #37)
> > Created attachment 124837 [details]
> > hover
> 
> ok,
> 
> 1. make sure that all windows are minimized and you see only the green line
> at the bottom
> 2. open a command line and execute "xprop"
> 3. click the cross that will be shown the green line, what is the output?

XdndAware(ATOM) = ATOM
Comment 40 bobo_raketa 2020-01-01 19:12:56 UTC
(In reply to Michail Vourlakos from comment #38)
> (In reply to bobo_raketa from comment #37)
> > Created attachment 124837 [details]
> > hover
> 
> ok,
> 
> 1. make sure that all windows are minimized and you see only the green line
> at the bottom
> 2. open a command line and execute "xprop"
> 3. click the cross that will be shown the green line, what is the output?

I've been tweaking margins height. Sometimes hover works few times in a row, and then it just stops working again
Comment 41 Michail Vourlakos 2020-01-01 19:19:16 UTC
(In reply to bobo_raketa from comment #39)
> (In reply to Michail Vourlakos from comment #38)
> > (In reply to bobo_raketa from comment #37)
> XdndAware(ATOM) = ATOM

is that the only output from "xprop" ? I want the full output...
Comment 42 bobo_raketa 2020-01-01 19:28:48 UTC
(In reply to Michail Vourlakos from comment #41)
> (In reply to bobo_raketa from comment #39)
> > (In reply to Michail Vourlakos from comment #38)
> > > (In reply to bobo_raketa from comment #37)
> > XdndAware(ATOM) = ATOM
> 
> is that the only output from "xprop" ? I want the full output...

I ran it several times. When I clicked at the green line - that was the only output. On the last one, when dock actually triggered - I clicked on the dock, and the output was as shown in new attachment below
Comment 43 bobo_raketa 2020-01-01 19:29:42 UTC
Created attachment 124838 [details]
2
Comment 44 Michail Vourlakos 2020-01-01 19:32:32 UTC
1. When you took the last xprop values did Latte raised up?
Comment 45 bobo_raketa 2020-01-01 19:36:54 UTC
(In reply to Michail Vourlakos from comment #44)
> 1. When you took the last xprop values did Latte raised up?

Yes. Sometimes it works few times in a row, and then it stops. It takes many attempts or sometimes switching to another window until it starts working again
Comment 46 Michail Vourlakos 2020-01-01 19:38:18 UTC
(In reply to bobo_raketa from comment #45)
> (In reply to Michail Vourlakos from comment #44)
> > 1. When you took the last xprop values did Latte raised up?
> 
> Yes. Sometimes it works few times in a row, and then it stops. It takes many
> attempts or sometimes switching to another window until it starts working
> again

I want the xprop output when the Dock is hidden and the xprop cross does not raise the dock
Comment 47 bobo_raketa 2020-01-01 19:40:49 UTC
(In reply to Michail Vourlakos from comment #46)
> (In reply to bobo_raketa from comment #45)
> > (In reply to Michail Vourlakos from comment #44)
> > > 1. When you took the last xprop values did Latte raised up?
> > 
> > Yes. Sometimes it works few times in a row, and then it stops. It takes many
> > attempts or sometimes switching to another window until it starts working
> > again
> 
> I want the xprop output when the Dock is hidden and the xprop cross does not
> raise the dock

"XdndAware(ATOM) = ATOM"   is the only output then
Comment 48 Michail Vourlakos 2020-01-01 19:45:05 UTC
(In reply to bobo_raketa from comment #47)
> (In reply to Michail Vourlakos from comment #46)
> > (In reply to bobo_raketa from comment #45)
> > > (In reply to Michail Vourlakos from comment #44)
> > > > 1. When you took the last xprop values did Latte raised up?
> > > 
> > > Yes. Sometimes it works few times in a row, and then it stops. It takes many
> > > attempts or sometimes switching to another window until it starts working
> > > again
> > 
> > I want the xprop output when the Dock is hidden and the xprop cross does not
> > raise the dock
> 
> "XdndAware(ATOM) = ATOM"   is the only output then

this is NOT normal...

1. go to plasma systemsettings -> Workspace Behavior -> Touch Screen, make sure the Bottom Edge is set to NO ACTION
2. go to plasma systemsettings -> Workspace Behavior -> Screen Edges, make sure that you have not set the Bottom Screen Action to NO ACTION

where [1] AND [2] already set as NO ACTION?
Comment 49 bobo_raketa 2020-01-01 19:53:20 UTC
(In reply to Michail Vourlakos from comment #48)
> (In reply to bobo_raketa from comment #47)
> > (In reply to Michail Vourlakos from comment #46)
> > > (In reply to bobo_raketa from comment #45)
> > > > (In reply to Michail Vourlakos from comment #44)
> > > > > 1. When you took the last xprop values did Latte raised up?
> > > > 
> > > > Yes. Sometimes it works few times in a row, and then it stops. It takes many
> > > > attempts or sometimes switching to another window until it starts working
> > > > again
> > > 
> > > I want the xprop output when the Dock is hidden and the xprop cross does not
> > > raise the dock
> > 
> > "XdndAware(ATOM) = ATOM"   is the only output then
> 
> this is NOT normal...
> 
> 1. go to plasma systemsettings -> Workspace Behavior -> Touch Screen, make
> sure the Bottom Edge is set to NO ACTION
> 2. go to plasma systemsettings -> Workspace Behavior -> Screen Edges, make
> sure that you have not set the Bottom Screen Action to NO ACTION
> 
> where [1] AND [2] already set as NO ACTION?

Thank you! Touch screen was indeed the problem. As soon as I switched to no action Latte works flawlessly. Thank you for your time and patience!
Comment 50 Michail Vourlakos 2020-01-01 19:54:51 UTC
(In reply to bobo_raketa from comment #49)
> (In reply to Michail Vourlakos from comment #48)
> > (In reply to bobo_raketa from comment #47)
> > > (In reply to Michail Vourlakos from comment #46)
> > > > (In reply to bobo_raketa from comment #45)
> > > > > (In reply to Michail Vourlakos from comment #44)
> > > > > > 1. When you took the last xprop values did Latte raised up?
> > > > > 
> > > > > Yes. Sometimes it works few times in a row, and then it stops. It takes many
> > > > > attempts or sometimes switching to another window until it starts working
> > > > > again
> > > > 
> > > > I want the xprop output when the Dock is hidden and the xprop cross does not
> > > > raise the dock
> > > 
> > > "XdndAware(ATOM) = ATOM"   is the only output then
> > 
> > this is NOT normal...
> > 
> > 1. go to plasma systemsettings -> Workspace Behavior -> Touch Screen, make
> > sure the Bottom Edge is set to NO ACTION
> > 2. go to plasma systemsettings -> Workspace Behavior -> Screen Edges, make
> > sure that you have not set the Bottom Screen Action to NO ACTION
> > 
> > where [1] AND [2] already set as NO ACTION?
> 
> Thank you! Touch screen was indeed the problem. As soon as I switched to no
> action Latte works flawlessly. Thank you for your time and patience!

Happy to hear that this was not on Latte side... ;)