Bug 417546 - [Wayland] crash when right clicking app icon in latte-dock panel
Summary: [Wayland] crash when right clicking app icon in latte-dock panel
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: git (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2020-02-13 09:38 UTC by Seqularise
Modified: 2020-10-12 11:58 UTC (History)
2 users (show)

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


Attachments
backtrace (27.76 KB, text/plain)
2020-02-13 09:38 UTC, Seqularise
Details
screenshot (100.08 KB, image/png)
2020-02-21 19:54 UTC, Tommaso Fonda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Seqularise 2020-02-13 09:38:28 UTC
Created attachment 125933 [details]
backtrace

-- Information about the crash:
- What I was doing when the application crashed:
i was trying to open context menu of application icon, immediate crash

additional information:
Qt Version: 5.14.1
Frameworks Version: 5.67.0
Operating System: Linux 5.5.3-arch1-1 x86_64
Windowing system: Wayland
Distribution: Arch Linux
Comment 1 Michail Vourlakos 2020-02-13 11:53:38 UTC
this crash to points to plasma libtaskmanager. If you use a regular plasma panel and taskmanager dont you get the same crash?
Comment 2 Seqularise 2020-02-13 15:20:34 UTC
There is no crashes with default panel and task manager.
i tried to use latte tasks with default panel and it works too
Comment 3 Tommaso Fonda 2020-02-21 19:51:23 UTC
I'm having the same issue, since a few days, on openSUSE tumbleweed. On my pc, when using wayland, Latte dock doesn't crash but it simply hangs and doesn't disappear (not even when there's a maximized window) until I left-click on some other program icon to open it. Then, it goes back to normal operation.
Comment 4 Tommaso Fonda 2020-02-21 19:53:33 UTC
I'd like to add that for a moment, the context menu is displayed but immediately disappears. Screenshot attached. I tried to right-click on VLC to open its context menu.
Comment 5 Tommaso Fonda 2020-02-21 19:54:07 UTC
Created attachment 126275 [details]
screenshot
Comment 6 Michail Vourlakos 2020-02-21 21:14:07 UTC
Git commit 0406a9a411bdddaac7dfcf1a2fac9d8c74f66d9e by Michail Vourlakos.
Committed on 21/02/2020 at 21:13.
Pushed by mvourlakos into branch 'master'.

[wayland] - dont crash on tasks right click
FIXED-IN:0.9.9

M  +1    -2    plasmoid/package/contents/ui/ContextMenu.qml

https://commits.kde.org/latte-dock/0406a9a411bdddaac7dfcf1a2fac9d8c74f66d9e
Comment 7 Michail Vourlakos 2020-02-21 21:14:35 UTC
Git commit 6be581914343022dbbdd38160b65ae6573d64189 by Michail Vourlakos.
Committed on 21/02/2020 at 21:14.
Pushed by mvourlakos into branch 'v0.9'.

[wayland] - dont crash on tasks right click
FIXED-IN:0.9.9

M  +1    -2    plasmoid/package/contents/ui/ContextMenu.qml

https://commits.kde.org/latte-dock/6be581914343022dbbdd38160b65ae6573d64189
Comment 8 Tommaso Fonda 2020-03-03 14:27:35 UTC
I have to say that I have recieved the 0.9.9 update in openSUSE Tumbleweed but the problem is not fixed.
Comment 9 Michail Vourlakos 2020-03-03 14:43:31 UTC
(In reply to Tommaso Fonda from comment #8)
> I have to say that I have recieved the 0.9.9 update in openSUSE Tumbleweed
> but the problem is not fixed.

What is you Plasma version?
Comment 10 Tommaso Fonda 2020-03-03 15:39:42 UTC
(In reply to Michail Vourlakos from comment #9)
> (In reply to Tommaso Fonda from comment #8)
> > I have to say that I have recieved the 0.9.9 update in openSUSE Tumbleweed
> > but the problem is not fixed.
> 
> What is you Plasma version?

Plasma 5.18.1
KDE Frameworks 5.67.0
QT 5.14.1
Comment 11 Russ Hay 2020-05-06 11:33:50 UTC
also present on KDE Neon, git version 0.9.11, default latte-dock layout. 

Linux/KDE Plasma: 

Operating System: KDE neon Testing Edition
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2
Kernel Version: 5.3.18-surface
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-4300U CPU @ 1.90GHz
Memory: 3.8 GiB of RAM

latte-dock version:    0.9.11+p18.04 amd64
Comment 12 Michail Vourlakos 2020-05-06 11:38:28 UTC
probably fixed with Latte git version, you can try to reproduce.
Comment 13 Russ Hay 2020-05-06 13:11:44 UTC
I just downloaded git master and built it - latte dock no longer crashes, but the right-click on an icon only calls up the context-menu briefly and then it disappears (so same behaviour as before) - but there isn't a subsequent crash. I can right-click on a vacant area above the dock to get into the latte-dock config options though.
Comment 14 Tommaso Fonda 2020-10-12 11:58:01 UTC
(In reply to Michail Vourlakos from comment #12)
> probably fixed with Latte git version, you can try to reproduce.

Many months have passed since I started facing this bug, now the dock's crash has been fixed but the context menus still don't appear on right clicks (they show up briefly, then they disappear, then at this point I usually have to right-click twice more and they'll eventually show up). Is there any information I can provide to help?