Bug 508581 - Meta+click move incorrectly raises background windows, ignoring configuration
Summary: Meta+click move incorrectly raises background windows, ignoring configuration
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: input (other bugs)
Version First Reported In: 6.3.4
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2025-08-22 02:50 UTC by Matteo
Modified: 2025-08-25 16:45 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matteo 2025-08-22 02:50:02 UTC
Steps to Reproduce:

Start either a Wayland or an X11 session.

Open two overlapping windows (e.g., Dolphin file manager and Konsole terminal).

Confirm in System Settings > Window Management > Window Actions that Meta + Left Button is set to "Move" for "Inner Window, Titlebar & Frame" (this is the default setting).

Press and hold the Meta (Super) key, then left-click and drag the window that is in the background.

Expected Results:
The background window should begin to move with the cursor while remaining in the background (behind the foreground window). The stacking order should not change until the mouse button is released.

Actual Results:
As soon as the Meta+click occurs, the background window is immediately raised to the top, in front of the previously active window, and then begins to move. The desired behavior of moving a window without changing its focus or stacking order is not possible.



The issue persists even after deleting ~/.config/kwinrc to reset all window manager settings.
Comment 1 TraceyC 2025-08-22 20:34:59 UTC
Thanks for filing this bug report. Unfortunately there isn't enough information for us to try to figure out what's happening. Please add information about your system as requested in the bug report template. Copy and paste this with the information into a new comment.


SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 


Thanks for your understanding
Comment 2 Matteo 2025-08-24 15:14:17 UTC
KDE Plasma Version 6.3.4 
KDE Frameworks Verios 6.12.0
QT Version 6.8.3
Kernel Version 6.14.0-15
Wayland session

Operating System
    Kubuntu 25.04 (Wayland, fully updated)

Summary

When trying to move a background window with Meta+Left Click, the window is immediately raised to the foreground.
Expected behavior (as implemented in Bug 489806 / MR !5430) is that the window should move without raising, and only raise on mouse release.
Steps to Reproduce

    Log into a Plasma Wayland session (Plasma 6.3.4).

    Open two overlapping windows (e.g., Konsole and Dolphin).

    Ensure Dolphin is in the background.

    Hold Meta+Left Click on Dolphin’s background window to drag it.

Actual Result

    The background window is raised immediately as soon as the drag starts.

Expected Result

    The background window should move while staying behind the foreground window.

    Only on mouse release should the background window be raised to the top.

Additional Information

    Tested on Kubuntu 25.04, Plasma 6.3.4, Wayland session.

    Same behavior occurs regardless of Window Management → Window Actions settings.

    This seems to match the regression described in Bug 508581

.

I’m opening this report to confirm it persists on Plasma 6.3.4.
Comment 3 TraceyC 2025-08-25 16:44:16 UTC
Thanks for adding the information about your system.

I can reproduce this on git-master.

System Settings → Window Management → Window Actions
Meta+Left-click set to Move (Not Activate, raise and move)