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 315222 - Renaming Start Here breaks key bindings.
Renaming Start Here breaks key bindings.
Status: RESOLVED FIXED
Product: tomboy
Classification: Applications
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Tomboy Maintainers
Tomboy Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-09-04 11:05 UTC by Tom Rathbone
Modified: 2008-02-26 20:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix the problem of losing the keybinding if renamed (8.58 KB, patch)
2007-01-12 00:01 UTC, Boyd Timothy
committed Details | Review

Description Tom Rathbone 2005-09-04 11:05:37 UTC
1.Rename 'Start Here' page to My Page
2. Ctrl-F11

The Ctrl-F11 binding should take you to this page whatever it is called.

The keybind should say something like 'Open Top level Page': <Ctrl-F11>
I think if tomboy is going to have a special toplevel page that you can't delete
then it needs to be a little different to the other pages.  At present the only
difference is you simply can't delete it.  Instead I think it should be in it's
own section of the menu and have a different icon.  The page could also look
visibly different.  Perhaps it could contain a header section with some dynamic
summary info for the whole wiki.. i.e. # pages, size, words, recent changes, new
pages.
Comment 1 Wouter Bolsterlee (uws) 2005-11-15 16:21:45 UTC
As far as I know, the "Start here" page can be deleted just like other notes.
What I'd like to see is an option to use another page as the default page.
Comment 2 Alex Graveley 2005-11-17 07:52:38 UTC
FYI, delete is disabled for "Start Here" notes.
Comment 3 Wouter Bolsterlee (uws) 2006-01-04 12:14:45 UTC
Are you sure about that? There's a delete button on mine.
Comment 4 Dennis Craven 2006-03-22 18:36:41 UTC
The delete button on the Start Here note is present, but "insensitive" as of today's CVS.
Comment 5 Steven Brown 2006-04-09 01:18:40 UTC
I had previously deleted the Start Here note, and I thought the shortcut was broken.  Creating a new note called Start Here resolved the problem.

As a feature request, I think the "Start Here" should not be hard-coded.  Users should be able to choose  what note(s) they can open with the shortcut.  Possibly even a gnome-love item?  :)
Comment 6 Romulo Fernandes 2006-09-10 19:51:01 UTC
I tough about replacing the item "Open Start Here:" with a GtkLabel "Open " + a GtkCombo with a list of the current avaible notes + the GtEntry for the shorcut keys....suggestions?
Comment 7 Wouter Bolsterlee (uws) 2006-09-14 12:29:43 UTC
Why not make the start note configurable? Something like "use as start note" or a dropdown in the prefs dialog.

Personally, I dislike the string "Start here". The imperative form gives me the impression the computer is telling me what to do, instead of the other way around. For my own notes, I would like "Notes overview" better.
Comment 8 Wouter Bolsterlee (uws) 2006-09-14 12:30:50 UTC
(In reply to comment #6)
> I tough about replacing the item "Open Start Here:" with a GtkLabel "Open " + a
> GtkCombo with a list of the current avaible notes + the GtEntry for the shorcut
> keys....suggestions?

This is not feasible for notes with long names. It is also a disaster for i18n.
Comment 9 John Pye 2007-01-10 03:12:12 UTC
Noticed this bug still present in Ubuntu 6.10.

Ideally Tomboy would allow the 'Start Here' page to be renamed but not deleted. And it should always stay bound to the Alt-F11 shortcut.

And perhaps the title of the 'Start Here' note, when open, should have a little 'home' icon next to it, or something, to make it clear for those cases where it *has* been renamed.

Is that feasible?
Comment 10 Boyd Timothy 2007-01-12 00:01:17 UTC
Created attachment 80094 [details] [review]
Patch to fix the problem of losing the keybinding if renamed

This patch seems to work for me.  I am able to rename the "Start Here" note to something else and have the keybinding remain active.  The question is, would this break the GNOME 2.18 feature freeze?  Any ideas on that Alex?

If you've already got Tomboy installed and have run it at least once, you have to make sure you've got a note titled "Start Here" before running this for the first time (it will look for it and set that as the "Start Here" note).  If you don't have one, a "Start Here" note won't be set.
Comment 11 Federico Mena Quintero 2007-01-12 16:39:56 UTC
This patch will break if you move your home directory, because the URIs will no longer correspond to your data.

It should probably just use relative paths (/apps/tomboy/start_note -> "blahblahblah.note" instead of "file:///home/federico/.tomboy/blahblahblah.note").
Comment 12 Boyd Timothy 2007-01-12 16:45:52 UTC
(In reply to comment #11)
> This patch will break if you move your home directory, because the URIs will no
> longer correspond to your data.
> 
> It should probably just use relative paths (/apps/tomboy/start_note ->
> "blahblahblah.note" instead of
> "file:///home/federico/.tomboy/blahblahblah.note").
> 

That would be true for all note URIs that are stored.  The full path should probably be removed.  We ought to create a new bug just for that.  Fortunately home directories don't seem to be moved all the time.
Comment 13 Boyd Timothy 2007-01-12 16:51:36 UTC
Correction...full file-system paths are not used in the URI.  For example, here's a sample Tomboy note URI: note://tomboy/2ef9fe9f-10ca-4011-9756-78d479396307
Comment 14 Boyd Timothy 2007-01-12 17:39:32 UTC
Got approval from vuntz from the release team...this is a legitimate bugfix.  Committed patch from comment #10 to SVN.