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 468459 - Possibility to sync from main menu
Possibility to sync from main menu
Status: RESOLVED FIXED
Product: tomboy
Classification: Applications
Component: General
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Tomboy Maintainers
Tomboy Maintainers
sandy[affects-ui]
: 568396 589004 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-08-20 10:38 UTC by Michael Monreal
Modified: 2009-10-04 00:48 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
Adds sync to right-click menu (1.63 KB, patch)
2009-02-18 02:53 UTC, Johannes Buchner
needs-work Details | Review
updated; Adds sync to right-click menu, sensitive (2.23 KB, patch)
2009-07-21 15:55 UTC, Johannes Buchner
committed Details | Review

Description Michael Monreal 2007-08-20 10:38:15 UTC
I would like a "sync notes" entry in the main menu (either left-clock or right-click the tomboy tray icon). Right now, I have to left-click the applet, open a note and press sync from the tools menu. As sync is not specific to a given note, having the action on the top level seems to be the most natural thing to have.
Comment 1 Sandy Armstrong 2007-08-20 14:30:23 UTC
You can also initiate a sync from the Tools menu in the Search dialog (if you are running Tomboy in the tray).

I agree that there should be a better way to initiate a sync; I'm just not sure that putting an option in the main menu is the best choice.  We did this for awhile early on and decided against it, though I don't recall the specifics of that.

Anyway, we're into UI freeze now, so I don't expect this to change for this release.  Thanks for the report, though.
Comment 2 Michael Monreal 2007-08-20 15:17:47 UTC
Opening the search window seems to be the same thing as to open any note... I also wander why "synchronize notes" is needed in a search dialog. Then again, the new note action also doesn't make any sense there... Is the search dialog meant to be "more" now, meaning a window approach to working with tomboy? If that is true, the "Search all Notes" should be renamed, if not, why complicate the dialog with a menu?
Comment 3 Sandy Armstrong 2007-08-20 15:29:44 UTC
There's a separate bug about this somewhere, but basically a lot of users were confused about Tomboy and applets.  They would start Tomboy and nothing would come up (they wouldn't notice the tray icon).  So we made the default .desktop file launch `tomboy --search`, and added the menubar to the search window.  It's actually solved a lot of usability/discoverability problems our users were having.

To answer the part of your question relevant to this bug: we added the sync menu item there to address the problem of not being able to sync without having a note open.  If we switched to having sync be driven from the main menu, we'd probably remove the existing menu items.
Comment 4 Boyd Timothy 2008-02-26 19:15:16 UTC
Setting the default assignee and QA Contact to "tomboy-maint@gnome.bugs".
Comment 5 Sandy Armstrong 2008-09-28 23:26:54 UTC
Marking as enhancement...also, I wonder if some sort of automatic or timed sync would be a better approach.  Adding a sync item to the main notes menu just seems yucky to me.

Yes, yucky.
Comment 6 Sandy Armstrong 2008-09-28 23:27:30 UTC
In the right-click menu, it wouldn't be as yucky.
Comment 7 Valent Turkovic 2008-10-28 17:53:32 UTC
I would also love to see this sync option on when I left or right click on tomboy in gnome panel. I see this bug is over a year old, and plans when it will be implemented?

Cheers from Croatia.
Comment 8 Sandy Armstrong 2009-02-18 00:54:07 UTC
Okay, past UI and string freeze again. Targetting for some sort of resolution next cycle. I'm partial to a right-click menu option.
Comment 9 Johannes Buchner 2009-02-18 02:21:12 UTC
Please add the context menu to the icon! I'd have looked for it in the rightclick menu as well. In each note ... not the right place.
Comment 10 Johannes Buchner 2009-02-18 02:53:20 UTC
Created attachment 128941 [details] [review]
Adds sync to right-click menu

 - adds sync option to right-click menu of tray icon
 - reuses strings
 - removes the option from the note window
Comment 11 Sandy Armstrong 2009-02-18 03:52:52 UTC
Not sure about the NoteWindow change, but we'll probably add something like this in 0.15.x.

We'll need to make the menu item sensitive only when Sync is configured, though.

Thanks for the patch, Johannes!
Comment 12 Sandy Armstrong 2009-03-14 14:23:57 UTC
*** Bug 568396 has been marked as a duplicate of this bug. ***
Comment 13 Sandy Armstrong 2009-07-19 15:03:44 UTC
*** Bug 589004 has been marked as a duplicate of this bug. ***
Comment 14 Sandy Armstrong 2009-07-21 11:43:27 UTC
Work needed before we can accept this patch:
* Generate the patch against latest version in git
* Remove changes to NoteWindow, for now I want to keep a sync menu item in the Tools menu
* Remove extra whitespace in first and last + lines of Tray.cs patch
* Make menu item sensitive only when Sync is configured, like in bug #473335

Thanks!
Comment 15 Sandy Armstrong 2009-07-21 11:45:17 UTC
(In reply to comment #14)
> * Make menu item sensitive only when Sync is configured, like in bug #473335

This should be really easy for your case, because you won't have to listen to the setting change event...just check the setting each time the context menu is generated.
Comment 16 Johannes Buchner 2009-07-21 15:55:22 UTC
Created attachment 138919 [details] [review]
updated; Adds sync to right-click menu, sensitive
Comment 17 Sandy Armstrong 2009-08-10 04:10:24 UTC
Thanks Johannes, pushed.