Bug 421648 - Context menu mouse-up behavior is inconsistent
Summary: Context menu mouse-up behavior is inconsistent
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.18.90
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-16 21:08 UTC by Sefa Eyeoglu
Modified: 2021-02-26 17:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sefa Eyeoglu 2020-05-16 21:08:04 UTC
SUMMARY
Context menus managed by KWin behave inconsistently since I upgraded to 5.19 Beta. See OBSERVED RESULT

STEPS TO REPRODUCE
0. Run X11 session (haven't tested Wayland)
1. Open Dolphin
2. Play around with context menu

OBSERVED RESULT
When holding right-click and hovering over an option and then releasing, it does not trigger the option.
When opening the menu and then holding left-click on a menu item to then hover to another, it does not trigger most of the time, sometimes it does?

EXPECTED RESULT
Holding right-click and hovering over an option should trigger it on release, just like before.
Holding left-click while the menu is open should trigger the option when released.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.18.90
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0
Kernel Version: 5.6.13-zen1-1-zen

Arch Linux Repo: kde-unstable

ADDITIONAL INFORMATION
https://www.youtube.com/watch?v=lcnOiTJA08s
Video showing some of the behavior.
Comment 1 Sefa Eyeoglu 2020-05-16 21:15:24 UTC
Okay I think I found the gist of it: When holding Right-Click in Dolphin, the new context menu "does not know of it" so it doesn't react for the mouseup? Now: If I do the left-click hold action it works, as long as the context menu does not loose focus. If I hold left-click and quickly move to an option without opening one of the sub-menus it works. If I open a submenu, though, I guess both menus "forget" that left-click was held, similarly for the right-click behavior above.
Comment 2 Sefa Eyeoglu 2020-05-16 21:36:31 UTC
https://youtu.be/LOEcs4occ1E Video of my other device, which is still on the following versions:

Operating System: Arch Linux 
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2
Kernel Version: 5.6.6-arch1-1
Comment 3 Sefa Eyeoglu 2020-05-16 21:37:02 UTC
(In reply to Sefa Eyeoglu from comment #2)
> https://youtu.be/LOEcs4occ1E Video of my other device, which is still on the
> following versions:
> 
> Operating System: Arch Linux 
> KDE Plasma Version: 5.18.4
> KDE Frameworks Version: 5.69.0
> Qt Version: 5.14.2
> Kernel Version: 5.6.6-arch1-1

I should add that it works as expected in this video
Comment 4 Vlad Zahorodnii 2020-05-18 08:42:42 UTC
In general, this is not a kwin bug since it doesn't manage context menus. Have you tried downgrading Qt?
Comment 5 Vlad Zahorodnii 2020-05-18 08:44:09 UTC
Okay... with Qt 5.14, everything works fine. with Qt 5.15, I can reproduce this bug. Can you file an upstream bug report in Qt?
Comment 6 Sefa Eyeoglu 2021-02-26 17:58:23 UTC
closing this as this issue does not appear with Qt 5.15.2