Bug 501457

Summary: Inactive Inner Window Action "Activate, raise and pass click" does not raise the window
Product: [Plasma] kwin Reporter: Ye Jingchen <ye.jingchen>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: charlie.france, gabriel, groszdanielpub, i, john.kizer, kdedev, mail, nate
Priority: NOR    
Version First Reported In: 6.3.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=461414
Latest Commit: Version Fixed In: 6.4.0
Sentry Crash Report:

Description Ye Jingchen 2025-03-13 16:28:37 UTC
SUMMARY
The "Activate, raise and pass click" on inactive window action does not raise the window, that only happens on a second click.

STEPS TO REPRODUCE
1. In System Settings -> Window Management -> Window Behavior -> Window Actions, change Left click to "Activate, raise and pass click", then apply.
2. Try clicking some inactive inner window

OBSERVED RESULT
The inactive window is activated and received the click, but is not raised.

EXPECTED RESULT
It should be raised.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.6-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 PRO 6850HS with Radeon Graphics
Memory: 14.9 GiB of RAM
Graphics Processor: AMD Radeon Graphics

ADDITIONAL INFORMATION
Comment 1 John Kizer 2025-04-26 05:09:12 UTC
Hi - I can reproduce this on Fedora KDE 42. Thanks!
Comment 2 Bug Janitor Service 2025-04-26 05:15:20 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/7562
Comment 3 Vlad Zahorodnii 2025-04-30 12:45:38 UTC
Git commit fd0eef29d8c3cb55040ffacfcf77b17d87935ac2 by Vlad Zahorodnii, on behalf of John Kizer.
Committed on 30/04/2025 at 12:45.
Pushed by vladz into branch 'master'.

Fix config options for inactive window action

The "Activate, pass click and raise on release" option was added to the Window Actions Inactive Inner Window left click dropdown, but in this file was instead added to the Titlebar actions list: https://invent.kde.org/plasma/kwin/-/merge_requests/6555/diffs?file=794ca93c1a0a39541fac0b789307cde9ec80df1d#diff-content-794ca93c1a0a39541fac0b789307cde9ec80df1d

This moves the added config file option to the Inner Window section, which should help it operate as expected when non-default options are selected.

M  +3    -3    src/kcms/options/kwinoptions_settings.kcfg
M  +1    -1    src/kwin.kcfg

https://invent.kde.org/plasma/kwin/-/commit/fd0eef29d8c3cb55040ffacfcf77b17d87935ac2
Comment 4 Nate Graham 2025-05-14 17:14:46 UTC
*** Bug 499258 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2025-05-14 17:15:06 UTC
*** Bug 446541 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2025-05-14 17:15:34 UTC
*** Bug 461414 has been marked as a duplicate of this bug. ***