Bug 502876

Summary: Window Behaviour Alt Middle Click set to move but not raise, still raises the window
Product: [Plasma] kwin Reporter: richEQ <rich.caldwell>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: groszdanielpub, kdedev, markdueck.bz, olaborda
Priority: NOR    
Version First Reported In: 6.3.4   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description richEQ 2025-04-16 11:07:56 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(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: 

ADDITIONAL INFORMATION

First attempt at a bug report so apologies if this is all the wrong way todo it etc....

In Window Behaviour - Window Actions - Inner Window, Titlebar and Frame Actions, if I set Alt + Middle Click to move but not raise the action still raises the window the same is true for right click move  and not raise....
Thanks, again, hope this is the right place to report!
Comment 1 TraceyC 2025-04-17 16:38:58 UTC
This is indeed the right place to report bugs. Please fill out the template in the bug report:

SUMMARY


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(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:
Comment 2 richEQ 2025-04-22 09:32:09 UTC
Hi TracyC

I can't find how to open and edit the template, so have filled in text here:

SUMMARY
      Window Behaviour Alt Middle Click set to move but not raise, still raises the window

STEPS TO REPRODUCE
1. Open  Window Behaviour - Window Actions - Inner Window, Titlebar and Frame Action
2. Set Alt Midle Click to move window only ( not raise ), Click Apply
3. Midle click a lowered/window underneath another window to try and move it, the lowered window is raised.

OBSERVED RESULT
window is raised.

EXPECTED RESULT
window can be Alt-middle click dragged without being raised above other windows. ( as it used to in older Plasma )

SOFTWARE/OS VERSIONS

Operating System: Debian GNU/Linux 12
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.12.22-amd64 (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 30.4 GiB of RAM
Graphics Processor 1: AMD Radeon RX 5500 XT
Graphics Processor 2: AMD Radeon Graphics

Is that was is needed?
Comment 3 TraceyC 2025-04-22 16:08:32 UTC
(In reply to richEQ from comment #2)
> Is that was is needed?

Yes, thanks for providing that.

I can reproduce this in git-master with either the Alt or Meta modifier key
"Resize" also raises windows
The default of "Toggle raise and lower" works as expected
Comment 4 richEQ 2025-04-25 08:38:41 UTC
(In reply to TraceyC from comment #3)
> (In reply to richEQ from comment #2)
> > Is that was is needed?
> 
> Yes, thanks for providing that.
> 
> I can reproduce this in git-master with either the Alt or Meta modifier key
> "Resize" also raises windows
> The default of "Toggle raise and lower" works as expected

OK, well, at least it's not just me then!
I think without embarking on  a C++ course, there's not a lot more I can help with?
Rich
Comment 5 TraceyC 2025-04-25 15:06:27 UTC
One of the more experienced kwin maintainers will take it from here.
Comment 6 Mark Dueck 2025-05-08 16:56:49 UTC
Just confirming this.  It's been bugging me since the update to 6.3 I believe.  I much prefer the Move only option, I don't want to set focus to the window.
Comment 7 Oscar Laborda 2025-05-21 18:47:09 UTC
I came to report this problem, but I see it already was. So I will just confirm it both in "Move" and in "Resize" actions. I just hope it does not fall into oblivion, as this customization is what I love from Plasma and why I have used it since KDE version 1.