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 338238 - Error clicking empty space in CuemiacTreeView
Error clicking empty space in CuemiacTreeView
Status: RESOLVED FIXED
Product: deskbar-applet
Classification: Deprecated
Component: general
2.14.x
Other All
: Normal minor
: ---
Assigned To: Deskbar Applet Maintainer(s)
Deskbar Applet Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2006-04-12 16:01 UTC by Sebastian Pölsterl
Modified: 2006-05-14 13:10 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Fixed that one as described above (1.06 KB, patch)
2006-05-12 13:09 UTC, Sebastian Pölsterl
none Details | Review

Description Sebastian Pölsterl 2006-04-12 16:01:11 UTC
Please describe the problem:
You must take care of clicks on empty space in CuemiacTreeView. Otherwise, an
error will be raised.

Steps to reproduce:
1. Click on empty space in CuemiacTreeView


Actual results:
Traceback (most recent call last):
  • File "/usr/lib/python2.4/site-packages/deskbar/ui/cuemiac/CuemiacTreeView.py", line 124 in <lambda>
    self.connect ("button-press-event", lambda w,e: self.__on_activated(self.get_path_at_pos(int(e.x), int(e.y))[0]))

Expected results:


Does this happen every time?


Other information:
It should be checked if self.get_path_at_pos(x, y) != None
Pretty easy to fix
Comment 1 Raphael Slinckx 2006-04-14 11:10:54 UTC
The patch is described above, marking for gnome-love.
Once comitted can be put in 2.14 and 2.16 branch
Comment 2 Sebastian Pölsterl 2006-05-12 13:09:30 UTC
Created attachment 65312 [details] [review]
Fixed that one as described above
Comment 3 Raphael Slinckx 2006-05-14 13:10:21 UTC
Applied in CVS, thanks !