After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 338979 - Deskbar in drawer crashes if drawer hasn't been opened yet
Deskbar in drawer crashes if drawer hasn't been opened yet
Status: RESOLVED DUPLICATE of bug 336855
Product: deskbar-applet
Classification: Deprecated
Component: general
2.14.x
Other All
: Normal critical
: ---
Assigned To: Deskbar Applet Maintainer(s)
Deskbar Applet Maintainer(s)
: 424999 425061 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-04-19 08:46 UTC by Sunny Ripert
Modified: 2007-04-05 15:36 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Sunny Ripert 2006-04-19 08:46:51 UTC
Steps to reproduce:
1. Place deskbar in a gnome-panel-drawer
2. Reboot
3. Press keyboard shortcut without opening the drawer first


Stack trace:
 Traceback (most recent call last):
  File
"/usr/lib/python2.4/site-packages/deskbar/ui/cuemiac/CuemiacAlignedWindow.py",
line 29, in <lambda>
    self.connect ("realize", lambda win : self.__register_realize ())
  File
"/usr/lib/python2.4/site-packages/deskbar/ui/cuemiac/CuemiacAlignedWindow.py",
line 116, in __register_realize
    self.update_position()
  File
"/usr/lib/python2.4/site-packages/deskbar/ui/cuemiac/CuemiacAlignedWindow.py",
line 50, in update_position
    (ax, ay) = self.widgetToAlignWith.window.get_origin ()
 AttributeError: 'NoneType' object has no attribute 'get_origin'


Other information:

Comment 1 Raphael Slinckx 2006-04-19 09:56:46 UTC
I think we need to realize the widgetToAlignTo before trying to align the window. This can be done by calling show() on the widgetToAlignTo in the AlignedWindow.py constructor.

Marking as gnome-love since patching should be easy
Comment 2 Mikkel Kamstrup Erlandsen 2006-04-19 21:09:24 UTC
Removing gnome-love :-) I fear 

I think this might actually be trickier than you suspect Raph. Showing the window prematurely will lead to visual jumpiness of the window... Maybe, just *maybe*, calling realize() on the widget will do, but this is just a guess - if I recall correctly this has some issues - I might be wrong though.
Comment 3 Mikkel Kamstrup Erlandsen 2006-04-19 21:10:25 UTC
Strike the "I fear" after the above smilie.
Comment 4 Raphael Slinckx 2006-07-10 11:44:53 UTC
Mikkel have you any ideas on this?
Comment 5 André Klapper 2006-09-30 19:24:53 UTC
Mikkel: *ping*

Raphael, please only use NEEDINFO state if you need additional information submitted by the bug reporter. use ASSIGNED state for developers. thanks a lot and have fun in stockholm, it's a nice city! ;-)
Comment 6 Mikkel Kamstrup Erlandsen 2006-10-02 15:58:19 UTC
I can't reproduce this with 2.16...

Can anyone reproduce?

(Andre I hope it is Ok to mark "Needinfo" now...)
Comment 7 André Klapper 2006-10-04 18:22:27 UTC
mikkel: heh, sure :-)
Comment 8 André Klapper 2006-10-04 18:24:37 UTC
mikkel: heh, sure :-)
Comment 9 Chris Wagner 2006-12-29 16:08:34 UTC
I just ran across this problem on Ubuntu Edgy (6.10), which uses Gnome 2.16.1.  I'll try to see if I can reproduce it again.
Comment 10 palfrey 2007-01-27 00:23:56 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 336855 ***
Comment 11 Sven Arvidsson 2007-04-05 15:33:10 UTC
*** Bug 425061 has been marked as a duplicate of this bug. ***
Comment 12 Sven Arvidsson 2007-04-05 15:36:02 UTC
*** Bug 424999 has been marked as a duplicate of this bug. ***