Bug 254898

Summary: Modal dialogs (i.e. browser alert) causes shaded windows (with hover) to minimize.
Product: [Plasma] kwin Reporter: Steve VanDeBogart <vandebo-kdebugs>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Steve VanDeBogart 2010-10-21 20:33:54 UTC
Version:           unspecified (using KDE 4.4.2) 
OS:                Linux

I use shaded windows with the setting to temporarily unshade on hover and focus follows mouse.  If I hover a shaded Firefox or Chrome window and trigger an alert (window or app modal dialog respectively) and then move the mouse over the dialog or outside the window, the window gets minimized.

This is exacerbated by https://bugs.kde.org/show_bug.cgi?id=81271 because the minimized window does not show as minimized.

Reproducible: Always

Steps to Reproduce:
1. Shade a Chrome or Firefox window.
2. Hover the window to unshade it.
3. Trigger an alert.
4a. Move the mouse to the alert.
4b. Move the mouse out of the window.

Actual Results:  
Window is minimized

Expected Results:  
5a. window stays unshaded, allowing me to close the dialog and return to the using the window
5b. window and dialog shade.
Comment 1 Martin Flöser 2010-10-21 20:41:52 UTC

*** This bug has been marked as a duplicate of bug 54885 ***
Comment 2 Steve VanDeBogart 2010-10-21 20:59:58 UTC
This is not a dupe of 54885.  In 54885, the parent window is reshaded when focus moves to the transient, however this bug report is about the parent being *minimized* when it loses focus after a transient is opened.  Bug 54885 has been present since the 3.x days (and I learned to live with it). This is a new bug that does not happen at least in 3.5.10.

I understand that bug 54885 is probably fairly difficult to fix, but this bug should be easier to fix (losing focus should never cause a window to minimize).  Because of this, I suggest that this bug be left separate. 

It looks like bug 220230 and 227389 are dupes of this new bug and not 54885 as they have been marked.
Comment 3 Martin Flöser 2010-10-21 21:30:38 UTC
sorry picked the wrong dup. We get always the same dups for shaded windows, so this happens. Unfortunately there is nobody who fixes the shade bugs.

*** This bug has been marked as a duplicate of bug 193611 ***
Comment 4 Thomas Lübking 2010-10-21 22:02:32 UTC
(In reply to comment #3)
> Unfortunately there is nobody who fixes the shade bugs.

ERHEMMM...
http://svn.reviewboard.kde.org/r/4080/
Comment 5 Martin Flöser 2010-10-21 22:16:52 UTC
> ERHEMMM...
> http://svn.reviewboard.kde.org/r/4080/
Correction: nobody reading review requests ;-)