Bug 446541 - KWin Inactive Inner Window Actions inappropriately apply to Plasma panels
Summary: KWin Inactive Inner Window Actions inappropriately apply to Plasma panels
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.23.4
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-06 05:16 UTC by Brady
Modified: 2024-12-27 05:10 UTC (History)
7 users (show)

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


Attachments
Video showing issue (995.58 KB, video/webm)
2021-12-06 05:16 UTC, Brady
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brady 2021-12-06 05:16:09 UTC
Created attachment 144251 [details]
Video showing issue

SUMMARY
When you change the setting for what happens when left clicking on inactive windows to "Activate and raise" instead of the default "Activate, raise and pass click", left clicking on anything in the panel no longer does anything.


STEPS TO REPRODUCE
1. Open System Settings
2. Click on Window Management
3. Click on Window Behaviour
4. Click on Window Actions
5. Under "Inactive Inner Window Actions", change "left click" to "Activate and raise" and apply the setting
6. Try and click on anything in the panel, for example the application launcher icon

OBSERVED RESULT
The left click won't do anything.

EXPECTED RESULT
I would expect the setting in question to not apply to panels. Instead the left click should work.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.15.6-arch2-1 (64-bit)
Graphics Platform: Wayland
Comment 1 alphanine 2023-01-11 05:49:40 UTC
This is happening to me in 5.26.5, exactly as described in this bug report.
Comment 2 Luke-Jr 2023-02-21 01:04:14 UTC
Seems to be Wayland-specific, as this has worked for a decade under X11.
Comment 3 Niccolò Venerandi 2024-12-05 17:38:54 UTC
Is this still happening? I cannot reproduce this on latest (Plasma 6.3 Dev)
Comment 4 Marco Rebhan 2024-12-05 22:31:28 UTC
(In reply to Niccolò Venerandi from comment #3)
> Is this still happening? I cannot reproduce this on latest (Plasma 6.3 Dev)

After a quick test, looks like it works for me correctly now!

KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.1
Comment 5 Marco Rebhan 2024-12-06 23:51:29 UTC
Nope, it still happens, but now only once in a while where before it was always. Strange. I'm not seeing a pattern for when it happens at least.

(Though, I haven't tested with 6.3)
Comment 6 Marco Rebhan 2024-12-07 01:06:49 UTC
Ah, figured it out. When the panel shows a tooltip (e.g. Icons-only Task Manager's app name tooltips), it blocks input to the panel itself.

This also applies to other tooltips or even nested context menus (in Dolphin, right click on the empty space, hover over "Properties", wait for the "Press shift for more info" tooltip to appear, then click on Properties, the click won't activate the menu item but only cause the tooltip to disappear)

I think this setting (don't pass click) should be ignored for any sort of tooltip/popup type windows when the parent "real" window or a child of it is already active.
Comment 7 Bug Janitor Service 2024-12-22 03:46:50 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Matt Whitlock 2024-12-27 05:10:27 UTC
I am seeing the same problem on Plasma 6.2.4 (Wayland): buttons on the plasmashell panel/dock are unresponsive if a tooltip is showing but do respond if you click them before the tooltip appears. I can also reproduce the issue in Dolphin as described in Comment 6.

There is a workaround for clicking on buttons in the Task Manager panel at least: if clicking on a button doesn't respond because a tooltip is showing, you can click on the tooltip itself to activate and raise the corresponding window. This doesn't work for the launcher menu or tray icons, however.