Bug 457424 - 'Close windows by double-clicking the menu button' feature does not work with maximized window of certain apps
Summary: 'Close windows by double-clicking the menu button' feature does not work with...
Status: RESOLVED DUPLICATE of bug 433079
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.25.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2022-08-02 19:50 UTC by Patrick Silva
Modified: 2022-08-09 22:47 UTC (History)
2 users (show)

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 Patrick Silva 2022-08-02 19:50:11 UTC
SUMMARY
Can reproduce on Arch Linux and neon unstable.

STEPS TO REPRODUCE
1. use Wayland session
2. make sure 'Close windows by double-clicking the menu button' option is checked in 'Titlebar buttons' tab
of Window Decorations KCM
3. install any of the following apps:
BiglyBT torrent client - available on flathub.org
Deluge torrent client - available on flathub.org
Tixati torrent client - .deb and .rpm packages available on https://www.tixati.com/download/linux.html
JDownloader - available on flathub.org
4. open the app installed in the step 2 and maximize its window
5. double-click on the app icon in the window decoration

OBSERVED RESULT
nothing happens. If the window of the app is not maximized, it closes after the double-click on its icon, as expected.

EXPECTED RESULT
'Close windows by double-clicking the menu button' feature should always work

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.3
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Graphics Platform: Wayland
Comment 1 Zamundaaa 2022-08-03 07:39:44 UTC
Does the menu button do anything at all? A bunch of X11 apps place an invisible 32x32 window on the top left of the screen, which would explain this
Comment 2 Patrick Silva 2022-08-03 11:44:47 UTC
If the windows of the apps mentioned in the step 3 are maximized, no context menu opens when I right-click on their icons in their window decorations. The context menus open as expected if the windows are not maximized. Thiis does not occur on X11.
The bug described in comment 0 does not occur ox X11 too.

Noticed another bug on Wayland:
1. start Wayland session
2. open Konsole or another KDE app
3. right-click on the app icon in the window decoration: the context menu opens as expected
4. open any app mentioned in the step 3 of comment 0 and maximize its window
5. right-click on the app icon in the window decoration: nothing happens
6. alt+tab to Konsole and right-click on the icon in the window decoration again: nothing happens this time
Comment 3 Zamundaaa 2022-08-09 22:47:58 UTC

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