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 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
Error dialog when adding Tomboy to panel (if it's already in the notification...
Status: RESOLVED WONTFIX
Product: tomboy
Classification: Applications
Component: General
unspecified
Other All
: Normal minor
: ---
Assigned To: Tomboy Maintainers
Tomboy Maintainers
: 433648 555539 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-03-05 05:16 UTC by Scott Zawalski
Modified: 2013-10-28 19:33 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Scott Zawalski 2007-03-05 05:16:21 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
Comment 1 Sandy Armstrong 2007-03-05 14:06:29 UTC
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.
Comment 2 Scott Zawalski 2007-03-05 22:19:53 UTC
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. 
Comment 3 Sandy Armstrong 2007-03-05 22:35:15 UTC
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.
Comment 4 Scott Zawalski 2007-03-05 22:59:35 UTC
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. 
Comment 5 Sandy Armstrong 2007-03-06 16:40:37 UTC
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?
Comment 6 Sandy Armstrong 2007-03-11 17:38:12 UTC
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.  ;-)
Comment 7 Scott Zawalski 2007-03-12 01:23:10 UTC
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? 
Comment 8 Boyd Timothy 2008-02-26 19:15:50 UTC
Setting the default assignee and QA Contact to "tomboy-maint@gnome.bugs".
Comment 9 Jan Rüegg 2008-09-06 09:57:38 UTC
Could this be a dublicate of bug 433648 (http://bugzilla.gnome.org/show_bug.cgi?id=433648)?
Comment 10 Sandy Armstrong 2008-10-08 12:43:28 UTC
*** Bug 555539 has been marked as a duplicate of this bug. ***
Comment 11 Sandy Armstrong 2008-10-08 12:45:45 UTC
*** Bug 433648 has been marked as a duplicate of this bug. ***