Bug 493532 - hover on decoration doesn't activate window (focus follows mouse)
Summary: hover on decoration doesn't activate window (focus follows mouse)
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 6.1.5
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-23 13:51 UTC by dirkjan
Modified: 2024-09-23 18:03 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dirkjan 2024-09-23 13:51:34 UTC
SUMMARY

Using focus follows mouse, you see focus move to a target window when you hover over that window with the cursor for a specified delay.
I noticed that this only applies to the actual content window. It does not happen if you hover over that target windows decorations.

STEPS TO REPRODUCE
1.  make sure focus follows mouse is enabled (kcm window behavior)
2. have two windows. Ensure the cursor is inside window 1. Notice how window 1 has focus.
3. Move the cursor to the DECORATIONS of window 2. Say, over the title of the window. You may need to position the windows smartly or increase the delay (same kcm) to ensure you don't get activation on the actual window.

OBSERVED RESULT

Nothing happens. Window 1 is keeping focus.

EXPECTED RESULT

Focus should move to window 2 because the decorations you are hovering over should be the same as the actual window.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: yes
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6 
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Wayland.