Bug 369634

Summary: all windows minimize when clicking desktop
Product: [Plasma] plasmashell Reporter: barisdemirdelen
Component: Desktop ContainmentAssignee: Sebastian Kügler <sebas>
Status: RESOLVED DUPLICATE    
Severity: minor CC: jsardid, kde, matt.drzazga, Teyras
Priority: NOR    
Version: 5.7.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
URL: https://www.reddit.com/r/kde/comments/55hupx/plasma_575_all_windows_minimize_when_clicking/
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description barisdemirdelen 2016-10-02 12:10:55 UTC
All windows minimize usually after alternating clicks between a window and desktop. Happens ~ %30 of the time
An example video is available here:
https://youtu.be/vjPq1difKz8

Reddit thread here:
https://www.reddit.com/r/kde/comments/55hupx/plasma_575_all_windows_minimize_when_clicking/

Reproducible: Sometimes

Steps to Reproduce:
1. Open a window
2. Click Window
3. Click Desktop
4. Repeat 2-3, usually all windows minimize after 2-3 tries.

Actual Results:  
All windows minimized.

Expected Results:  
Focus on desktop

I use the official plasma-meta package on arch x64. This is a minor issue since it seems it doesn't happen to everyone, and you can always maximize said windows again.
Comment 1 avlas 2016-10-02 14:22:05 UTC
Same here. Using KDE neon.
Comment 2 Jan Buchar 2016-10-02 14:48:51 UTC
Can confirm, same setup as reporter.
Comment 3 Mateusz 2016-10-02 17:37:37 UTC
Can confirm.
Antergos
Plasma 5.7.5
Kde Frameworks 5.26.0
Qt Version 5.7.0
Comment 4 David Edmundson 2016-10-03 00:59:07 UTC
Some guy on Reddit:


Hey, I found the root cause of this behaviour:
If you launch System Settings >> Workspace >> Window Management >> Window Behaviour >> Window Actions
and change the "Left button" action from "Activate, Raise & Pass Click" to just "Activate"
then you can no longer reproduce this issue.
I've been clicking around like mad for the last 5 minutes and I can't reproduce it all when it is set to "Activate". If I set it back to "Activate, Raise & Pass Click", I can reproduce it straight away.
Further tests show that when "Left button" is set to:
Activate, Raise & Pass Click - Issue present (default value)
Activate & Pass Click - Issue not present
Activate - Issue not present
Activate & Raise - Issue present
So the issue is related to how the "Raise" part of the action is being handled. I think the "Raise" message is being sent to the wrong
Comment 5 David Edmundson 2016-10-03 01:02:56 UTC
This issue should be fixed in Plasma 5.8

*** This bug has been marked as a duplicate of bug 365014 ***