Bug 410407 - [wayland - upstream] - Latte Dock 0.9 Is faulty auto-hiding with the cursor on it after a second
Summary: [wayland - upstream] - Latte Dock 0.9 Is faulty auto-hiding with the cursor o...
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Plasma
Component: plasmoid (show other bugs)
Version: 0.9.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-30 14:59 UTC by Alberto Díaz López
Modified: 2021-09-05 08:57 UTC (History)
1 user (show)

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


Attachments
Latte Dock Layout File (5.27 KB, text/plain)
2019-07-30 15:25 UTC, Alberto Díaz López
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alberto Díaz López 2019-07-30 14:59:20 UTC
SUMMARY
Latte Dock 0.9 Is Auto-Hiding With The Cursor On It After A Second Show It Cause Place The Cursor On It Under Wayland

STEPS TO REPRODUCE
1. Login to Wayland session.
2. Move the cursor to Latte Dock location, causing it appear.
3. Keep the cursor there.

OBSERVED RESULT
Latte Dock auto-hides after 1 second of no moving cursor.

EXPECTED RESULT
Latte Dock should keep in there while you have the cursor placed on it.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.2.4/5.16.3
(available in About System)
KDE Plasma Version: 5.16.3
KDE Frameworks Version: 5.60
Qt Version: 5.13

ADDITIONAL INFORMATION
Comment 1 Michail Vourlakos 2019-07-30 15:18:49 UTC
I can not reproduce this in my system, please send your layout file
Comment 2 Alberto Díaz López 2019-07-30 15:25:56 UTC
Created attachment 121843 [details]
Latte Dock Layout File

Added my daily usage Latte Dock layout file.
Comment 3 Michail Vourlakos 2019-07-30 15:58:40 UTC
I can reproduce,

the suspect probably is GhostWindowScreenEdge and I must investigate the case
Comment 4 Michail Vourlakos 2019-08-01 13:04:31 UTC
Ok, I investigated this... You can blame Qt, under wayland the hidden window changes its mask and the QEvent::Leave signal is not sent always...

In my system is a hit and miss
Comment 5 Michail Vourlakos 2019-08-01 13:06:20 UTC
To occur the mouse must remain at the exact far edge of the screen and sometimes it occurs and sometimes it does not.
Comment 6 Michail Vourlakos 2019-12-28 11:35:52 UTC
is it possible to check if this still possible with master version?
Comment 7 Tommaso Fonda 2020-02-21 13:24:12 UTC
This still happens on the latest version packaged in openSUSE Tumbleweed. I can provide more info if needed.
Thanks.
Comment 8 Michail Vourlakos 2020-02-21 14:30:43 UTC
(In reply to Tommaso Fonda from comment #7)
> This still happens on the latest version packaged in openSUSE Tumbleweed. I
> can provide more info if needed.
> Thanks.

As described earlier, this is Qt issue not sending a signal.
Comment 9 Alberto Díaz López 2020-02-26 18:30:14 UTC
(In reply to Michail Vourlakos from comment #6)
> is it possible to check if this still possible with master version?

Yeah, sure.

I just downloaded the code from the GitHub mirror, installed it and it looks like it's still the same (or maybe Latte Dock needs a relaunch).

But, if i'm doing it right, the bug still persists.

I still have the version that Arch Linux packages (currently, still 0.9.8.1, so i'm not sure if i'm doing anything wrong to run the master one).

I would be grateful if you provide me information if i'm doing right or not, and if not, how could i do it the right way.

Thank you very much.
Comment 10 Michail Vourlakos 2020-02-26 18:38:00 UTC
There is no fix for this from Latte side... Last time I investigated this, it was Qt fault under wayland... I just hoped that Qt 5.14 might solved it.
Comment 11 Alberto Díaz López 2020-02-26 18:40:14 UTC
(In reply to Michail Vourlakos from comment #10)
> There is no fix for this from Latte side... Last time I investigated this,
> it was Qt fault under wayland... I just hoped that Qt 5.14 might solved it.

I see, then shouldn't we report it to Qt?

I have reported a few bugs and at least on one of them, the issue come because of Qt (like this one) and the bug scaled to Qt, which was finally solved a few months ago.
Comment 12 Michail Vourlakos 2020-02-26 18:48:37 UTC
(In reply to Alberto Díaz López from comment #11)
> (In reply to Michail Vourlakos from comment #10)
> > There is no fix for this from Latte side... Last time I investigated this,
> > it was Qt fault under wayland... I just hoped that Qt 5.14 might solved it.
> 
> I see, then shouldn't we report it to Qt?
> 
> I have reported a few bugs and at least on one of them, the issue come
> because of Qt (like this one) and the bug scaled to Qt, which was finally
> solved a few months ago.

Yep, that should be the case but someone must find a way to reproduce it in a simple way with plain Qt and take up the task to report and interact for feedback, personally no time for this.
Comment 13 Michail Vourlakos 2021-09-05 06:15:59 UTC
is this reproducable to 0.10.1?
Comment 14 Alberto Díaz López 2021-09-05 08:57:21 UTC
(In reply to Michail Vourlakos from comment #13)
> is this reproducable to 0.10.1?

No, you're right, sorry, I should have closed this a few time ago.
Thanks for your hard & great work on Latte Dock, 0.10.x is awesome and it improved a lot since 0.9.x branch :).