Application window not responsive when iconified

Bug #932580 reported by Takkat
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Compiz
Expired
Undecided
Unassigned
Unity
Expired
Undecided
Unassigned

Bug Description

How to reproduce:

Iconify an application window running from autostart with the gtk_window_iconify method from GTK2.

What is expected:

1. The application windows is minimized to its launcher icon.
2. Calling gtk_window_deiconify or gtk_window_present maximized the application.
or
3. Clicking on the launcher icon maximizes the application window.

What is observed instead:

* After startup the application window is minimized as expected.
* We can not maximize the window again with
    - gtk_window_show_all
    - gtk_window_deiconify
    - gtk_window_present
or by clicking on the Launcher icon of the running application.

Note that this only occurs when running the application from autostart. When the application is run regularly deiconify and other methods work as expected. The gtk_windows_hide method is not affected.

This is on Unity 3D Ubuntu 12.04 am64, 11.10 am64, python 2.7 / pyGTK.

Tags: precise
Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

I think the GTK doc clearly mentions that the iconify function can often get blocked by the window manager, something which was considered normal in GNOME2 too? So it's dependence should be restricted, no?

Revision history for this message
Takkat (takkat-nebuk) wrote :

As it is true that the window manager can iconify or deiconify windows:

http://developer.gnome.org/gtk/2.24/GtkWindow.html#gtk-window-iconify

Thus we can not rely on iconification. However this should not affect deiconification or the window manager's capability to deiconify (e.g. by click on launcher). Note that the observed behaviour only occurs after run from autostart and did not appear in GNOME2 or Unity before 11.10.

tags: added: precise
Revision history for this message
Michael Wood (x3n) wrote :

It would be good if Unity displayed a indicator for windows that are iconified.

This seems to be what the patches that get added to things like gtk-recordmydesktop do.

Revision history for this message
Andrea Azzarone (azzar1) wrote :

Is this still happening? Can you provide a simple app to test it?

Changed in unity:
status: New → Incomplete
Changed in compiz:
status: New → Incomplete
Revision history for this message
Takkat (takkat-nebuk) wrote : Re: [Bug 932580] Re: Application window not responsive when iconified on execution from autostart

yeah the issue still exists in both, gtk2 and gtk3 tested on 12.04 (gtk
2.24.10 and 3.4.2), and 13.10. (gtk 2.24.20 and 3.8.2).

The issue now is consistent, i.e. not only when run from autostart as
stated above.

Test case:

#!/usr/bin/python
from gi.repository import Gtk as gtk
# import gtk

window = gtk.Window()
window.connect("delete-event", gtk.main_quit)
window.show_all()
window.iconify()
# window.deiconify()
gtk.main()

1. On 12.04 we can not open the window from the Launcher icon.
2. On 13.10 we are able to deiconify from the Launcher as expected.
3. If we called deiconify() from the app the window will have no
decoration (12.04 and 13.10)

Takkat (takkat-nebuk)
summary: - Application window not responsive when iconified on execution from
- autostart
+ Application window not responsive when iconified
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Unity because there has been no activity for 60 days.]

Changed in unity:
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Compiz because there has been no activity for 60 days.]

Changed in compiz:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.