Stacks: crashes with icon-less launchers in folder

Bug #298252 reported by Dave Vree
22
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Awn Extras
New
Undecided
onox

Bug Description

I am running Interpid on a Dell XPS M1210 laptop with an nVidia GE Force Go 7400 card. I have been sucessfully using AWN for several weeks. Today I installed the new nVidia beta driver version 180.06 because it has a number of bug fixes.

I am pleased to report it has eliminated the white box problem with AWN (as well as several others not related to AWN). After testing all the AWN applets, the only one I found not working was stacks. The problem only appears when the stacks applet is set to display with the default or trasher layout. The curves layout still works. I ran it in a terminal and was able to capture the following output:

Traceback (most recent call last):
  File "/usr/share/avant-window-navigator/applets/stacks/stacks_gui_dialog.py", line 112, in _stacks_gui_toggle_cb
    return self._stacks_gui_show_cb(None)
  File "/usr/share/avant-window-navigator/applets/stacks/stacks_gui_dialog.py", line 107, in _stacks_gui_show_cb
    self.dialog_show_new(self.current_page)
  File "/usr/share/avant-window-navigator/applets/stacks/stacks_gui_dialog.py", line 379, in dialog_show_new
    button = self._item_created_cb(None, None, iter)
  File "/usr/share/avant-window-navigator/applets/stacks/stacks_gui_dialog.py", line 254, in _item_created_cb
    button.drag_source_set_icon_pixbuf(icon)
TypeError: GtkWidget.drag_source_set_icon_pixbuf() argument 1 must be gtk.gdk.Pixbuf, not None

Revision history for this message
Dave Vree (hdave) wrote :

After doing additional research I discover that the problem was NOT the nvidia driver. Shame on me for putting my guess as to the reason for the breakage in the bug title. Please change the title of this bug or reject it and I'll open a new one.

The real problem was that one of the files in my launcher directory was a desktop shortcut without an associated icon or pixmap. (Ironically, the desktop file was for nvidia-settings which has move its pixmap in the beta driver).

It's still a problem with the stacks as I believe the lack of an associated launcher icon should not cause it to fail.

Revision history for this message
Mark Lee (malept) wrote :

I fixed the title. In the future, you can do so (since you are the reporter) by clicking "Update description / tags".

Revision history for this message
Dave Vree (hdave) wrote :

Will do -- thanks.

onox (onox)
Changed in awn-extras:
assignee: nobody → onox (onox)
Revision history for this message
Pascollin (pascollin) wrote :

Using Ubuntu 10.10, Awn 0.4.0, stack applet fails to show if any desktop files use a custom icon path, something like Icon=/home/my_user/images/icons/icon.png

stack trace :
  File "/usr/share/avant-window-navigator/applets/stacks/stacks_gui_dialog.py", line 94, in _stacks_gui_toggle_cb
    return self._stacks_gui_show_cb(None)
  File "/usr/share/avant-window-navigator/applets/stacks/stacks_gui_dialog.py", line 90, in _stacks_gui_show_cb
    self.dialog_show_new(self.current_page)
  File "/usr/share/avant-window-navigator/applets/stacks/stacks_gui_dialog.py", line 348, in dialog_show_new
    button = self._item_created_cb(None, None, iter)
  File "/usr/share/avant-window-navigator/applets/stacks/stacks_gui_dialog.py", line 222, in _item_created_cb
    button.drag_source_set_icon_pixbuf(icon)
TypeError: Gtk.Widget.drag_source_set_icon_pixbuf() argument 1 must be gtk.gdk.Pixbuf, not None

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.