GNOME Bugzilla – Bug 414789
Error dialog when adding Tomboy to panel (if it's already in the notification area) is confusing and may lead to the user getting errors on every log in
Last modified: 2013-10-28 19:33:31 UTC
Steps to reproduce: 1. Start Tomboy via Applications -> Accessories 2. Try to add the panel applet via rightclick on panel > Add to Panel 3. Observe the OAFIID error that appears immediately Stack trace: Other information: Originally reported for Ubuntu Feisty by Melissa Draper Tomboy GNOME Panel Applet fails to load, giving an OAFIID error. Version details: Ubuntu Feisty, Dist-Upgraded March 4th, 2007, Tomboy 0.5.9 To reproduce: * Start tomboy via Applications > Accessories * Try to add the panel applet via rightclick on panel > Add to Panel * Issue persists through killall gnome-panel (OAFIID error box reappears on panel load.) * Killing tomboy (either via notification area or killing process) allows the applet to be re-added to the panel
This is the intended behavior of Tomboy. You can only have on running instance at a time. And your Tomboy instance in the notification area is still working, correct? Running multiple instances causes all sorts of unpredictable behavior when editing your notes. I'm resolving this as NOTABUG. Feel free to re-open if I'm misunderstanding the bug report.
I agree that you shouldn't be able to open multiple Tomboys. However, I think that having the applet just crash is a bug. What should happen is what happens when I do the same thing the other way around. That being, when I run tomboy at the command line and the applet is loaded it opens the Search All Notes dialog. So the expected behavior should be the following: If I have the systray version of tomboy running and I add the applet version. Tomboy should open the Search All Notes dialog and not an add instance to the gnome-panel.
Hmm. That *is* what happens on my system. If Tomboy is in the tray and I add to the panel, I get the Search All Notes window and the error dialog stating that Tomboy could not be added to the panel. I'll look into this more later.
Yes, but it isn't really saying that Tomboy couldn't be added to the panel because an instance already exists, it is saying an error occurred. If a user is not familiar with that dialog and he/she chooses "don't delete" they will continue to see that error everytime they restart. I think it would be better for tomboy to not register itself with the panel if the systray version is running.
In the case you describe, Tomboy exits before it registers itself with the panel. I don't know if there is any kind of voodoo we can perform to make the "Add to Panel" action fail more gracefully. The only thing that comes to mind is an additional dialog to display, explaining that Tomboy is already running, and suggesting to choose "delete" from the OAFIID error dialog. But this seems kind of kludgey. Maybe somebody with more GNOME panel-fu will have a better idea?
Changing severity to minor. This is expected Tomboy behavior, though it would certainly be better to give the user more feedback as to why it was happening and what they could do about it. Updating title to better reflect the problem, and confirming as NEW. Let me know if we're not on the same page here. ;-)
I think we are on the same page. However, I have a question. Why is it when I try to run two instances of tomboy i.e. the panel version and the systray version it doesn't work, but I am able to run two instances of the applet. Shouldn't that also just bring up the Search All Notes dialog?
Setting the default assignee and QA Contact to "tomboy-maint@gnome.bugs".
Could this be a dublicate of bug 433648 (http://bugzilla.gnome.org/show_bug.cgi?id=433648)?
*** Bug 555539 has been marked as a duplicate of this bug. ***
*** Bug 433648 has been marked as a duplicate of this bug. ***