Bug 330083 - Dialogs launched from applications should not allow minimize.
Summary: Dialogs launched from applications should not allow minimize.
Status: RESOLVED DUPLICATE of bug 231544
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-17 15:21 UTC by mageewk
Modified: 2014-01-18 07:17 UTC (History)
0 users

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 mageewk 2014-01-17 15:21:35 UTC
We are running RHEL 6.4 using KDE 4.3.4 and have noticed dialogs launched from applications can now be minimized using either a new Minimize button from the Window decorations or a Minimize option from the Window Menu.  When the dialog is minimized there is no way to access it (does not appear on the system task bar) which results in user interaction with applications being blocked.  This is a major issue, as users have reverted to killing applications in order to restart them.

The applications we maintain are X/Motif and I've tried to remove the Minimize Window decoration but it appears the Minimize button is tied to the Window Title Bar and/or Border and can not be removed independently.

How does one get rid of the Minimize button and Minimize option from dialogs launched from applications on KDE.   This is not a problem on other desktops such as GNOME.


Reproducible: Always

Steps to Reproduce:
1.  Start application
2.  Access menu option to popup dialog
3.  Press dialog Minimize Button
Actual Results:  
Dialog no longer available and application interface blocked.

Expected Results:  
Do not allow Dialogs which popup from applications to be minimized.
Comment 1 Christoph Feck 2014-01-18 00:52:01 UTC
KDE 4.3 is no longer maintained by KDE Developers. If this issue is reproducible with KDE 4.10, KDE 4.11, or KDE 4.12, please add a comment.

To get support for older KDE versions, please report this issue to your operating system vendor. You could also ask for help in a KDE forum.
Comment 2 Thomas Lübking 2014-01-18 01:02:36 UTC
The motif minimize hint is ignored by virtually all WMs, by a very old (KDE 2, i assume) comment:
// To quote from Metacity 'We support those MWM hints deemed non-stupid'
The minimize and maximize button motif hints are those ignored "deemed stupid" mwm hints.

As for dialog behavior, there's no common behavior on this - let alone NETWM determination and the problem is the taskbar only providing access to a limited amount of windows (unlike eg. window list popups or esp. things like the present windows aka "exposé")

See also bug #277847 for rules (to prevent minimization) and http://kde-look.org/content/show.php?content=161366 for a kwin script - but former will likely and latter certainly not work with KDE 4.3 (but I don't know)

*** This bug has been marked as a duplicate of bug 231544 ***
Comment 3 Thomas Lübking 2014-01-18 07:17:40 UTC
(In reply to comment #3)
> When the dialog is minimized there is no way to access it (does not appear on 
> the system task bar) which results in user interaction with applications being
> blocked.

Just came to my mind: seems you're implementing client side modality.
Add _NET_WM_STATE_MODAL to _NET_WM_STATE properties.

I'm not 100% sure of the 4.3 behavior, but the dialog should minimize the blocked window and raise with it. It certainly does in any recent KWin version.