Bug 437809 - Dock unhides if mouse is close to the perimeter
Summary: Dock unhides if mouse is close to the perimeter
Status: RESOLVED WORKSFORME
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: git (master)
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-29 01:23 UTC by ryu.ketsueki
Modified: 2021-06-28 04:33 UTC (History)
0 users

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


Attachments
Layout as requested (21.68 KB, text/plain)
2021-05-29 16:36 UTC, ryu.ketsueki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ryu.ketsueki 2021-05-29 01:23:44 UTC
SUMMARY
This is something that annoys me a lot because it renders the hide dock feature useless. Instead of bringing the mouse to the edge of the screen to bring the dock, as long as the mouse is where the dock would be when unhidden, it will reveal itself. This makes maximized and fullscreen windows a pain to use because elements on the bottom of the screen are immediately blocked by the dock, requiring me to go to windowed mode or just disable the auto hide/dodge windows feature entirely as it is getting in the way of the space that could be used when the dock is hidden.

STEPS TO REPRODUCE
1. Enable one of the many visibility modes that hides the dock in some way
2. Maximize a window
3. Move the mouse to where the dock would be when unhidden

OBSERVED RESULT
The dock reveals itself, blocking elements on the window

EXPECTED RESULT
The dock should reveal itself only when the mouse touches the bottom of the screen

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20210524
KDE Plasma Version: 5.21.90
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.12.4-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i3-7020U CPU @ 2.30GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 620

ADDITIONAL INFORMATION
Comment 1 ryu.ketsueki 2021-05-29 01:32:59 UTC
Adding a bit of info. This doesn't happen all the time. I still don't know what causes it but changing back and forth between layouts seem to have solved it temporarily.
Comment 2 Michail Vourlakos 2021-05-29 04:19:53 UTC
run in command line, latte-dock -v

what is your latte version ?
Comment 3 ryu.ketsueki 2021-05-29 14:54:47 UTC
(In reply to Michail Vourlakos from comment #2)
> run in command line, latte-dock -v
> 
> what is your latte version ?

Version is lattedock 20210527.git.5d8afda2
Comment 4 Michail Vourlakos 2021-05-29 15:03:14 UTC
Send your layout file that reproduces the issue, I dont have such behavior in my system
Comment 5 Michail Vourlakos 2021-05-29 15:04:21 UTC
In commamd prompt what latte version it says with latte-dock -v ?
Comment 6 ryu.ketsueki 2021-05-29 16:36:26 UTC
Created attachment 138864 [details]
Layout as requested

I just noticed one thing that may be related to what is causing this. I observed that Latte may, sometimes, reload without explanation. After it is reloaded, the dock is behaving the way I described earlier.

I don't know if this is related but I noticed how Latte takes 20% CPU or more in this dual core i3-7020U if the mouse is over the tasks applet, even if the zoom on hover feature is disabled. I wasn't running anything resource intensive when it happened. I was only watching YouTube on Firefox and chatting through text on Discord.
Comment 7 ryu.ketsueki 2021-05-29 16:37:41 UTC
(In reply to Michail Vourlakos from comment #5)
> In commamd prompt what latte version it says with latte-dock -v ?

Run it on Konsole. Output is the following:

lattedock 20210527.git.5d8afda2
Comment 8 Michail Vourlakos 2021-05-29 16:51:59 UTC
(In reply to ryu.ketsueki from comment #7)
> (In reply to Michail Vourlakos from comment #5)
> > In commamd prompt what latte version it says with latte-dock -v ?
> 
> Run it on Konsole. Output is the following:
> 
> lattedock 20210527.git.5d8afda2

1. You layout does not produce any issues in my system
2. why dock demonstrates the issue, the bottom one?
3. There is no such thing as reloading, Latte reloads only after crashing. There are some applets in your layout that I am not using in my system, they could be related to the crash, try remove them and see how it goes:
 --launchpadPlasmaMod
 --org.kde.plasma.virtualdesktopbar
 --org.kde.plasma.bigSur-inlineBattery
 --org.kde.plasma.win7showdesktop
 --org.kxn.cornerMenu

4. You have added two Latte Tasks in bottom dock, I suppose this is intentional from your side. Either way having multiple Latte Tasks is supported so it shouldnt be the faulter here.

My guess is that one of your applets is creating crashes and this abnormal behavior.
Comment 9 Michail Vourlakos 2021-05-29 16:53:23 UTC
5. For the cpu usage try to disable parabolic effect and "Thin tooltips on hovering", it might help
Comment 10 ryu.ketsueki 2021-05-29 19:21:41 UTC
(In reply to Michail Vourlakos from comment #8)
> (In reply to ryu.ketsueki from comment #7)
> > (In reply to Michail Vourlakos from comment #5)
> > > In commamd prompt what latte version it says with latte-dock -v ?
> > 
> > Run it on Konsole. Output is the following:
> > 
> > lattedock 20210527.git.5d8afda2
> 
> 1. You layout does not produce any issues in my system
> 2. why dock demonstrates the issue, the bottom one?
> 3. There is no such thing as reloading, Latte reloads only after crashing.
> There are some applets in your layout that I am not using in my system, they
> could be related to the crash, try remove them and see how it goes:
>  --launchpadPlasmaMod
>  --org.kde.plasma.virtualdesktopbar
>  --org.kde.plasma.bigSur-inlineBattery
>  --org.kde.plasma.win7showdesktop
>  --org.kxn.cornerMenu
> 
> 4. You have added two Latte Tasks in bottom dock, I suppose this is
> intentional from your side. Either way having multiple Latte Tasks is
> supported so it shouldnt be the faulter here.
> 
> My guess is that one of your applets is creating crashes and this abnormal
> behavior.

I've been using those applets for a very long time and they never caused this behavior. It started only yesterday. And I don't know what is causing the crashes exactly. It's why I added the part of CPU because I thought it could be related. What happens is that Latte freezes then crashes, causing the reload. After reloading, the bottom dock has this odd behavior. But it's not all the time so I don't know what could be causing the crash. DrKonqi doesn't appear when it crashes either. Is there a way to enable log to file in case it happens? That way I can add to the report when it happens again. So far I experienced this bug twice
Comment 11 ryu.ketsueki 2021-05-29 19:25:39 UTC
(In reply to Michail Vourlakos from comment #9)
> 5. For the cpu usage try to disable parabolic effect and "Thin tooltips on
> hovering", it might help

It's now on 10%. Is there a way of making this effect GPU accelerated instead of CPU?
Comment 12 Michail Vourlakos 2021-05-29 20:07:41 UTC
(In reply to ryu.ketsueki from comment #11)
> (In reply to Michail Vourlakos from comment #9)
> > 5. For the cpu usage try to disable parabolic effect and "Thin tooltips on
> > hovering", it might help
> 
> It's now on 10%. Is there a way of making this effect GPU accelerated
> instead of CPU?

no
Comment 13 Michail Vourlakos 2021-05-29 20:10:10 UTC
https://userbase.kde.org/LatteDock/HowToReportCrashes
Comment 14 Bug Janitor Service 2021-06-13 04:33:33 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 15 Bug Janitor Service 2021-06-28 04:33:48 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!