Bug 398764 - Panel does not show on edge hover, but as a dock it does
Summary: Panel does not show on edge hover, but as a dock it does
Status: RESOLVED UPSTREAM
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: 0.8.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-17 15:43 UTC by RaitaroH
Modified: 2024-05-19 14:25 UTC (History)
1 user (show)

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


Attachments
This is the output of `latte -d` piped through tee... damn kwin crash (95.15 KB, text/plain)
2018-10-10 15:02 UTC, RaitaroH
Details

Note You need to log in before you can comment on or make changes to this bug.
Description RaitaroH 2018-09-17 15:43:21 UTC
I have created a latte panel that is basically a default plasma panel menu, task manager, system tray, pager, spectacle widget, 3 extra widgets to some scripts, the system tray and the event calendar widget. 

If I set the dock as a dock, I get some horrible unused space left and right (even if size is 100%), so I keep it as a panel. Sometime the panel does not show itself on hover. The only way to get it to show itself again is to issue the application menu shortcut. The normal dock I have on the left always shows itself though from what I've noticed.

I want to mention that I had implemented a latte-dock panel instead of the usual panel because I had the same issue with a normal panel too and I have no idea what is going on. I am pretty sure is upstream but it might be due to 2 conflicting task managers, one in the panel at the bottom and the other (the latte one) in the latte dock to the left.

Here is the issue I opened, but it was never responded too.
https://bugs.kde.org/show_bug.cgi?id=397654
Comment 1 Michail Vourlakos 2018-09-17 16:50:01 UTC
1. have you enabled PLASMA_USE_QT_SCALING ?
2. Do you have a hiDPI screen?
Comment 2 RaitaroH 2018-09-18 04:07:14 UTC
(In reply to Michail Vourlakos from comment #1)
> 1. have you enabled PLASMA_USE_QT_SCALING ?
> 2. Do you have a hiDPI screen?

No and no. I just have a normal 1080p screen.
Comment 3 Michail Vourlakos 2018-10-03 09:09:50 UTC
If you disable from Tweaks->Activate kwin edges whenever dock is hidden

what is happening?
Comment 4 RaitaroH 2018-10-04 05:33:47 UTC
(In reply to Michail Vourlakos from comment #3)
> If you disable from Tweaks->Activate kwin edges whenever dock is hidden
> 
> what is happening?

Well the dock I had on the left started showing and unshowing really quickly and not smooth. I added a new panel at the bottom (launcher, task manager, tray) and I will test it out.
Comment 5 Michail Vourlakos 2018-10-04 06:10:33 UTC
(In reply to RaitaroH from comment #4)
> (In reply to Michail Vourlakos from comment #3)
> 
> Well the dock I had on the left started showing and unshowing really quickly
> and not smooth. I added a new panel at the bottom (launcher, task manager,
> tray) and I will test it out.

For the left dock to work properly under X11 you must disable the Touch Gestures. https://github.com/psifidotos/Latte-Dock/wiki/F.A.Q.
Comment 7 RaitaroH 2018-10-04 19:07:36 UTC
(In reply to Michail Vourlakos from comment #6)
> https://github.com/psifidotos/Latte-Dock/wiki/F.A.Q.#q-my-left-dock-behaves-
> strangely-from-plasma-510-and-beyond-can-i-fix-this

XD, there is no action set there. Also... after a few days after the KDE Neon Bionic upgrade (also I installed 390.87 nvidia prop driver) neither latte nor the normal panel seem to not respond anymore. Could have fixed itself due to some newer libs or whatever in ubuntu 18.04?
Comment 8 Michail Vourlakos 2018-10-04 19:11:49 UTC
(In reply to RaitaroH from comment #7)
> (In reply to Michail Vourlakos from comment #6)
> > https://github.com/psifidotos/Latte-Dock/wiki/F.A.Q.#q-my-left-dock-behaves-
> > strangely-from-plasma-510-and-beyond-can-i-fix-this
> 
> XD, there is no action set there. Also... after a few days after the KDE
> Neon Bionic upgrade (also I installed 390.87 nvidia prop driver) neither
> latte nor the normal panel seem to not respond anymore. Could have fixed
> itself due to some newer libs or whatever in ubuntu 18.04?

maybe... feel free to report back if there are any new findings
Comment 9 RaitaroH 2018-10-07 08:07:55 UTC
I'm back... sadly.

Activate kwin edge after hiding is off. Show time is 50ms. I actually noticed that, is not that the panel does not show itself EVER, is that it takes a LOT of time to show, almost 10 seconds or so. If that helps.
Comment 10 Michail Vourlakos 2018-10-07 09:33:16 UTC
(In reply to RaitaroH from comment #9)
> I'm back... sadly.
> 
> Activate kwin edge after hiding is off. Show time is 50ms. I actually
> noticed that, is not that the panel does not show itself EVER, is that it
> takes a LOT of time to show, almost 10 seconds or so. If that helps.

check with ksysguard how is your cpu usage in that case?
Comment 11 RaitaroH 2018-10-07 16:31:36 UTC
> check with ksysguard how is your cpu usage in that case?

So... I started latte-dock in ddd. After hours finally the I got the issue but... ddd saw nothing (just the usual startup and threads; no output during the dock was hidden). Ksys was at basically no cpu usage for latte either. But, you see, I kept the left dock with activate edge after hiding, where as the bottom panel with it disabled and only the dock didn't show. So perhaps that does have an impact on it.

I also mention I came back after a screen lock (manual).
Comment 12 Michail Vourlakos 2018-10-08 12:49:37 UTC
Let's try the following:

1. Close Latte
2. run latte from command prompt with: "latte-dock -d --with-window"
3. make a video showing the issue and the debug windows that will be shown.

You can upload the video at google drive or dropbox and share their link here
Comment 13 Michail Vourlakos 2018-10-08 16:58:34 UTC
waiting user feedback
Comment 14 RaitaroH 2018-10-10 15:01:36 UTC
(In reply to Michail Vourlakos from comment #12)
> Let's try the following:
> 
> 1. Close Latte
> 2. run latte from command prompt with: "latte-dock -d --with-window"
> 3. make a video showing the issue and the debug windows that will be shown.
> 
> You can upload the video at google drive or dropbox and share their link here

Ugh... after 2 days of constant kwin crashing (I mean jee..., having latte in it's own window made kwin crash hard, restart from tty hard). BUT, I managed.
 
Here is the video: https://www.youtube.com/watch?v=YNJG0we0mSM&feature=youtu.be
Comment 15 RaitaroH 2018-10-10 15:02:12 UTC
Created attachment 115539 [details]
This is the output of `latte -d` piped through tee... damn kwin crash
Comment 16 Michail Vourlakos 2018-10-10 16:19:03 UTC
1. The Latte Left edge I see it working ok, correct?

2. The bottom panel does not identify the mouse touching the edge. Have you disabled at the bottom panel from Tweaks->"Activate KWin Edge after hiding" ?

3. If you do [2] then try afterwards to run Latte with:
"latte-dock -d --graphics" .  Do you see in that case when the bottom panel is hidden a 2px green line at the bottom? Is it fixed now?

4. For [2] it seems that kwin has difficulties activating edges. The KWin crashes are very suspicious... The normal behavior is that when you slowly approach the edge then a visual indicator is starting to show that you are approaching a hidden panel... Have you tried to close conky in cases it messes kwin?

5. Have you activated any hot corners at: Plasma system settings->Desktop behavior->Screen Edges?
Comment 17 RaitaroH 2018-10-10 16:24:42 UTC
(In reply to Michail Vourlakos from comment #16)
> 1. The Latte Left edge I see it working ok, correct?
> 
> 2. The bottom panel does not identify the mouse touching the edge. Have you
> disabled at the bottom panel from Tweaks->"Activate KWin Edge after hiding" ?
> 
> 3. If you do [2] then try afterwards to run Latte with:
> "latte-dock -d --graphics" .  Do you see in that case when the bottom panel
> is hidden a 2px green line at the bottom? Is it fixed now?
> 
> 4. For [2] it seems that kwin has difficulties activating edges. The KWin
> crashes are very suspicious... The normal behavior is that when you slowly
> approach the edge then a visual indicator is starting to show that you are
> approaching a hidden panel... Have you tried to close conky in cases it
> messes kwin?
> 
> 5. Have you activated any hot corners at: Plasma system settings->Desktop
> behavior->Screen Edges?

1. Yes, that was working.

2. I made sure I had it on to get the bug for you to see. I noticed if I keep it uncheck the bug doesn't show up (or at least I haven't seen it yet).

3. I see the green border IF `activate edge` is off. Otherwise is not there.

4. Well, I only noticed the often crashes after latte testing. Now... this is kwin all right... it crashes regardless but it never happened so hard that my entire screen is unresponsive.

5. Oh... perhaps that is the issue. I have only one hot corner... the bottom right one. Otherwise I just use brightside for my other corners (https://github.com/dustincys/brightside)
Comment 18 Michail Vourlakos 2018-10-10 16:30:44 UTC
(In reply to RaitaroH from comment #17)
> (In reply to Michail Vourlakos from comment #16)
> 
> 
> 2. I made sure I had it on to get the bug for you to see. I noticed if I
> keep it uncheck the bug doesn't show up (or at least I haven't seen it yet).
> 

Ok... that makes it totally kwin issue

> 3. I see the green border IF `activate edge` is off. Otherwise is not there.
> 

nice... it means it is goind just fine with KWin infrastructure disabled.

> 5. Oh... perhaps that is the issue. I have only one hot corner... the bottom
> right one. Otherwise I just use brightside for my other corners
> (https://github.com/dustincys/brightside)

it is probably -BrightSide- that is messing KWin.... The first thing I would try is to disable all KWin hot corners and disable or remove totally -BrightSide-... The reason for the KWin crashes it could be -BrightSide- also... Both KWin and BrightSide are trying to do the same thing and that could be the whole issue you have...
Comment 19 RaitaroH 2018-10-10 16:53:18 UTC
It might just be the right mix of bugs XD

Anyway, I think the activate edge detection off is fine for me.
Comment 20 Michail Vourlakos 2018-10-10 16:55:46 UTC
(In reply to RaitaroH from comment #19)
> It might just be the right mix of bugs XD
> 
> Anyway, I think the activate edge detection off is fine for me.

no prob...
Comment 21 RaitaroH 2018-10-17 16:01:39 UTC
I wanted to let you know that I tried an Antergos install (who knew nvidia980 doesn't go with xorg-server 1.20)... Now that I am back on Kde Neon (cough cough may iso reinstall and inplace upgrade cough cough) I can say that the whole latte doesn't show up is... gone. I honestly don't know why even though my setup is the same. Anyway, have a nice day.
Comment 22 Robert Junior 2024-05-19 14:25:34 UTC
[Removed for violation of community standards]