Phantom space in Notification Area

Bug #83278 reported by Alexander Jones
14
Affects Status Importance Assigned to Milestone
GNOME Panel
Fix Released
Low
gtk+2.0 (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Try this test app, which creates 100 "invisible" GtkStatusIcons.

----
import gtk

s = {}

for i in range(0, 100):
    s[i] = gtk.status_icon_new_from_icon_name("sound")
    s[i].set_visible(False)

gtk.main()
----

Observe the notification grow loads, even though the icons are supposed to be invisible.

This problem is causing phantom spacing between notification icons in the notification area, and makes it look a bit rubbish.

Is this a bug in our Notification Area? Or is it in Gtk?

Revision history for this message
Chris Rose (chris-vault5) wrote :

I'm not sure it is, but this may well be related to bug #35090.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug report. This bug has been reported to the developers of the software. You can track it and make comments here: http://bugzilla.gnome.org/show_bug.cgi?id=404558

Changed in gnome-panel:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: Unconfirmed → Confirmed
Changed in gnome-panel:
status: Unknown → Unconfirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

That was a GTK bug and fixed upstream now

Changed in gnome-panel:
status: Confirmed → Fix Committed
Changed in gnome-panel:
status: Unconfirmed → Fix Released
Revision history for this message
Alexander Jones (alex-weej) wrote :

Is this going to make its way into Feisty?

Revision history for this message
Sebastien Bacher (seb128) wrote :

That's like to go to feisty, upstream might roll a new version and we will probably backport the patch if they don't. Any reason you ask that question now? Do you think that should be an high priority bug? That looks like a minor details and there is not lot of duplicate for it at the moment

Revision history for this message
Sebastien Bacher (seb128) wrote :
Download full text (3.7 KiB)

This upload fixes the bug:

 gtk+2.0 (2.10.10-0ubuntu1) feisty; urgency=low
 .
   * New upstream version:
     Bugs fixed:
     329450 Crash on IM switch ... (was already reported earlier)
     406757 crash in Movie Player: Souhaite lire un DVD ave...
     382565 GtkTextView invisible text crash
     402453 crash to IA__gdk_x11_window_set_user_time (Ubuntu: #82280)
     409101 invalid read to gtkicontheme.c insert_theme(), might caus...
     413032 Locking issue with xcb in IA__gdk_display_sync (Ubuntu: #88608)
     402131 Theme color scheme is sometimes ignored on theme switches
     405327 io-jpeg can return FALSE without setting a GError
     124045 GtkExpander should draw the focus around the arrow when t...
     143213 shorcut selector on gtkfilechooser use too much horizonta...
     151169 Filechooser comes up too big
     153785 Filechooser expands horizontally
     347106 tga images upside down
     356515 [a11y] Orca unable to read items in Evolution "Select a F...
     377164 Strange numbers in GtkRecentChooserMenu
     386618 Resizing columns need focusing first (Ubuntu: #62898)
     389765 Win32: Resizing a window does not repaint it often enough...
     393599 Previous and Next menus not active in a folder with *.ico...
            (Ubuntu: #88164)
     399907 Memory leak in gtk_page_setup dialog
     402565 [PATCH]GtkPrintBackendFile leaks string
     402806 GtkAboutDialog showing empty "contributors"
     403139 Leak reported by valgrind
     403255 gdk_pixbuf_loader_close returns TRUE but sets *error
     403409 Add a helpful comment on GtkCellRendererText:alignment
     403896 gtk+-2.10.9 fails to compile against win32api-3.8 due to ...
     405539 gdk_pixbuf_save() for PNG saver can return FALSE without ...
     405696 Make parent menu item insensitive if no items are to be s...
     409357 leak in color scheme code
     412221 Icons not working with Win32 file-system backend.
     412596 Setting the colour scheme property of GtkSettings has no ...
     413492 Minor build tweaks
     413664 Dragging tab greys out chat windows
     415645 Fix and clean up GtkCellRendererAccel
     310522 Buttons flicker and redraw slowly
     396899 glib mentions non-existing PATCH bugzilla keyword
     408018 GtkTextBuffer memory leak
     414875 Rendering the first icon triggers a style reset
     325477 Just make File Chooser window bigger
     414975 the popped up menu cannot have special theming
     331369 Menu short cuts do not work
     350988 crash with File Open in non-exisiting directory
     364946 crash in gtk_tree_model: Adding new account, or entering ...
     351671 textview should stop selecting when losing focus
     382904 Application crashed in gtk+
     385637 crash in testiconview
     396703 crash in testnouiprint
     396805 GtkTextView: crash on unsetting the GtkTextBuffer when in...
     410565 gnome-terminal crashes editing current profile
     335796 Gtk accelerator key event can't be passed to other widget...
     356515 [a11y] Orca unable to read items in Evolution "Select a F...
     416525 gtkfilesystemwin32.c: C99 declaration
     372449 no need to emph...

Read more...

Changed in gtk+2.0:
status: Fix Committed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

looks like the patch has been commited to trunk only, reopening for now

Changed in gtk+2.0:
status: Fix Released → Fix Committed
Changed in gnome-panel:
status: Fix Released → Unconfirmed
Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

I can confirm the bug in Feisty but in Gutsy it seems fixed.

Changed in gtk+2.0:
status: Fix Committed → Fix Released
Revision history for this message
Alexander Jones (alex-weej) wrote :

Definitely not fixed in Gutsy, Henrik!

Revision history for this message
Alexander Jones (alex-weej) wrote :

Why is the status "fixed released", here? Can someone fix that, please?

Revision history for this message
Dean Sas (dsas) wrote :

It seems fixed for me too using gtk 2.11.2-0ubuntu2

Alex: You can change the bug status by clicking the expander widget next to "gtk+2.0" in the affects table at the top of the page.

Changed in gtk+2.0:
status: Fix Released → Triaged
Revision history for this message
Dmitry Agafonov (dmitry-agafonov) wrote :

It seems not fixed yet in Gutsy: http://agafonov.pp.ru/bugz/notifyarea.png

Revision history for this message
Florent (florent.x) wrote :

not fixed in Hardy.... (xubuntu 8.04, here)

I tried the above Python code, and experienced similar artefacts.

Changed in gnome-panel:
importance: Unknown → Low
Changed in gnome-panel:
status: New → Fix Released
Mörgæs (moergaes)
Changed in gtk+2.0 (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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