GNOME Bugzilla – Bug 345011
deskbar-applet-2.15.3 crashes when any text is entered
Last modified: 2006-06-26 11:36:14 UTC
Environment: GARNOME-2.15.3, PPC, YDL-4.1 [FC4 clone] deskbar-applet-2.15.3 builds, but does not run. The applet crashes after one or two characters are typed into the entry window. deskbar-applet-2.15.2.1 builds and runs. -Joseph
Error seen is: Gtk-CRITICAL **: gtk_window_realize: assertion `!GTK_WIDGET_REALIZED (widget)' failed aborting... Trace/BPT trap (core dumped) (gdb) thread apply all bt
+ Trace 68863
Thread 4 (Thread 0x82502e0 (runnable))
I've done some more digging, and the problem appears to stem from CuemiacPopupEntry.py in the popup() method starting at line 96. I believe the problem line is 118. The attached patch corrects this problem for me.
Created attachment 67439 [details] [review] Fix crash after typing search string
Joe, your patch allows deskbar-applet to run. I am seeing a few oddities... (1) the dictionary entry in the preferences has gone missing (2) launched a gnome-terminal, which came up but produced an error dialog Traceback (most recent call last):
+ Trace 68867
self.cview.emit ("row-activated", path, column)
(3) searched yahoo for the word 'foo' Saw another error Traceback (most recent call last): File "/usr/local/src/GARNOME/2.15/garnome-2.15.x/lib/python2.4/site-packages/deskbar/ui/DeskbarPreferencesUI.py", line 223, in on_dialog_response self.newstuff.close() File "/usr/local/src/GARNOME/2.15/garnome-2.15.x/lib/python2.4/site-packages/deskbar/updater/NewStuffUpdater.py", line 371, in close self.newstuff.Close(reply_handler=lambda: None, error_handler=global_error_handler) AttributeError: 'NoneType' object has no attribute 'Close' So... There are additional things to test and fix. -Joseph
Here is one more... click on the 'check for updates' button: Traceback (most recent call last):
+ Trace 68869
self.newstuff.check_all()
self.newstuff.GetAvailableUpdates(plugins, reply_handler=self.on_available_updates, error_handler=global_error_handler)
-Joseph
I just commited a patch that should fix your issue from the first post Joseph. Joe was almost right... Although I discovered that we did not need to realize the view at all. Joseph: If you can still reproduce the other bugs you write about (I suspect a few of them are already fixed), would you be so kind as to submit separate bug reports on them? I'm marking this bug as closed, feel free to re-open if I have b0rked it :-)