Bug 496292 - Intermittent failures to open context menu
Summary: Intermittent failures to open context menu
Status: RESOLVED DUPLICATE of bug 502721
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (other bugs)
Version First Reported In: 6.2.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2024-11-15 05:19 UTC by pallaswept
Modified: 2025-04-16 14:35 UTC (History)
4 users (show)

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


Attachments
Demonstration video showing context menu failing to open intermittently, using a new user account (751.50 KB, video/webm)
2024-11-15 05:19 UTC, pallaswept
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pallaswept 2024-11-15 05:19:31 UTC
Created attachment 175835 [details]
Demonstration video showing context menu failing to open intermittently, using a new user account

SUMMARY
Right-clicking on entries in the Icons and Text Task Manager, intermittently fails. Dwelling on the entry before clicking seems to prevent the failure.

STEPS TO REPRODUCE
1. Right-click task manager entry (be quick)

OBSERVED RESULT
Nothing

EXPECTED RESULT
Menu

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8
Qt Version: 6.8

ADDITIONAL INFORMATION
This is new, so I looked at what changed recently on my system. Perhaps there's a correlation.

Some 2-3 days ago, I upgraded KF from 6.7 to 6.8. I feel like there's a strong chance I'd have noticed this sooner, if it were that - although different apps seem to be more reliable; plus, I'm injured, thus slow, and this is time-sensitive... so it's possible I just didn't see this behaviour until now. 

Another recent change was to qt6-declarative, related to https://bugs.kde.org/show_bug.cgi?id=494804 I'm not sure that there is any correlation or not, here, I just thought it might be relevant so I should mention it.

Thanks for any help.
Comment 1 Nate Graham 2024-11-15 21:10:05 UTC
No idea what could cause this, honestly.
Comment 2 TraceyC 2024-11-15 21:24:46 UTC
I clearly see the problem in the video, which makes me think of some timing issue

I can't reproduce on Plasma 6.2.3 or git-master, with the same applications open
Comment 3 Nate Graham 2025-04-10 19:08:18 UTC
Can you still reproduce this in Plasma 6.3?
Comment 4 pallaswept 2025-04-10 23:06:28 UTC
(In reply to Nate Graham from comment #3)
> Can you still reproduce this in Plasma 6.3?

I can. I have a new hint about this, though. I changed the hover time for plasma, which means I get the popup showing the window contents immediately now. When I get this failure to show the menu, it does seem to successfully register the mouse click, because that popup disappears.
Comment 5 Nate Graham 2025-04-11 18:39:21 UTC
What is the hover time? Which exact setting did you change?
Comment 6 pallaswept 2025-04-11 20:35:01 UTC
(In reply to Nate Graham from comment #5)
> What is the hover time? Which exact setting did you change?

kwriteconfig6 --file ~/.config/plasmarc --group PlasmaToolTips --key Delay 1

Makes it visible that the click is registered, as the tooltip is hidden, but still, no menu is shown. 

To be clear, this is not related to this issue other than it had this nice side-effect that gives a hint about what's happening under the hood.
Comment 7 David Edmundson 2025-04-16 14:35:47 UTC

*** This bug has been marked as a duplicate of bug 502721 ***