Bug 187543 - Geometry settings in "Special Application Settings" can cause an application to become undisplayable
Summary: Geometry settings in "Special Application Settings" can cause an application ...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Unspecified
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-18 19:19 UTC by Tristan Miller
Modified: 2012-03-11 05:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Miller 2009-03-18 19:19:28 UTC
Version:            (using KDE 4.2.1)
Installed from:    SuSE RPMs

Reproducibility: Always

Steps to reproduce:
1. Open KTorrent
2. Right-click on the title bar of KTorrent
3. Advanced->Special Application Settings…
4. Check the "Minimized" checkbox, select "Apply Initially" in its drop-down box, and select the other checkbox.
4. OK
5. File->Quit
6. Launch ktorrent again, this time with the URL of a torrent containing multiple files as a command-line argument.  (This can be done manually from the command line, or by clicking on a torrent file from a web browser, provided the web browser and/or KDE is configured to open torrents with KTorrent.)

Observed behaviour:
7. The KTorrent icon appears in the system tray, but no KTorrent windows appear.  Clicking or double-clicking on the system tray icon has no effect.  The user's only recourse is to manually kill ktorrent from the command line.

Expected behaviour:
7. The KTorrent icon should appear in the system tray, and KTorrent's "Opening <torrent-name>…" modal file selection dialog should appear.

Perhaps this is a bug with KTorrent, but I suspect it is in fact a KWin problem affecting all applications which start with a modal dialog or other window that cannot be minimized.

The solution?  The "Minimize" special applications setting geometry option should not apply to non-minimizable windows.  Otherwise the user ends up with minimized windows which do not appear in the taskbar or anywhere else, and are thus completely inaccessible.
Comment 1 FiNeX 2010-10-10 18:45:55 UTC
Cannot reproduce with KDE 4.5: the step 7 opens the ktorrent dialog (with ktorrent main window NOT minimized). It looks correct.
Comment 2 Thomas Lübking 2012-03-11 05:33:21 UTC
there've been major changes regarding the handling of modal dialogs which likely prevent this behavior (notably a modal client can be shown w/o it's master)

Because of this and comment #1 this bug is considered fixed.