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 118618 - NE: Bookmark nick names
NE: Bookmark nick names
Status: RESOLVED WONTFIX
Product: epiphany-extensions
Classification: Deprecated
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: epiphany-extensions-maint
epiphany-extensions-maint
gnome[unmaintained]
: 157784 173189 339111 368218 473565 532936 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-07-30 01:03 UTC by Jon Åslund
Modified: 2013-05-27 16:12 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Bookmark-Keywords extension (4.99 KB, application/x-bzip-compressed-tar)
2005-09-16 21:03 UTC, Gustavo Gama
Details
Bookmark-Keywords extension (rev.2) (5.08 KB, application/x-bzip-compressed-tar)
2005-09-16 22:05 UTC, Gustavo Gama
Details
Bookmark-Keywords extension (rev. 3) (5.11 KB, application/x-bzip-compressed-tar)
2005-09-22 18:48 UTC, Gustavo Gama
Details

Description Jon Åslund 2003-07-30 01:03:12 UTC
I use the keyboard as often as I can, only using the mouse when it's
absolutely necessary.

Nick names that Galeon has is a big help to make browsing go easier. For
most search engines, that I have bookmarked as a search bookmark, I have a
nick name, and also for sites I visit frequently. For instance:

g google
i imdb
d english dictionary
se swedish english dictionary
de german english dictionary
etc.

To search for terminator on google, I press ctrl+l type "g terminator" and
press return.

To search for terminator on imdb, I press ctrl+l, type "i terminator" and
press return.

and so on for each keyword

In epiphany this is, press ctrl+l, type "terminator" and then pressing down
and/or up several times (depending on how many search bookmarks you have
and if you have surfed to a site with the domain name terminator or not).

I have now learned that searching on imdb is search phrase and four times
up, but it is still very annoying.

Also, for those sites I visit frequently I noticed you can start typing the
beginning of the url and the most frequently visited url is on top. Very
nice. However, I visit many anime sites, many whose domain name begin with
the word anime, so I have to type anim and then still press down a few times.

I think I have described why I would like nick names in epiphany well
enough, now it's up to you say if it's worth it. I am well aware that this
ui-wise would lead to an extra field in the bookmark properties called nick
name (or alias or if something else is more appropriate), which most likely
would confuse the normal user.
Comment 1 Calum Benson 2003-08-07 16:14:00 UTC
Apologies for spam... marking as GNOMEVER2.3 so it appears on the official GNOME
bug list :)
Comment 2 Christian Persch 2003-10-13 18:15:22 UTC
We think autocompletion + smart bookmarks from location entry autocomp
window are enough ...
Comment 3 Reinout van Schouwen 2005-09-01 17:18:14 UTC
I'm reopening this bug because I'm hearing many complaints about missing this
feature. However, I propose to implement it in a way that doesn't have to
complicate the bookmark properties UI: simply use the first x unique characters
 of a smart bookmark name as the nickname (similar to how autocomplete works).

So for example, if you have a smart bookmark called 'GNOME Bugzilla', and one
called 'google scholar', entering "gn 118618" would select the former and go to
this page, while 'go bookmark' would query Google scholar about bookmarks.

A conflict situation like 'g' would be solved by either taking the first one in
alphabetical order (GNOME bugzilla), or by checking if there's a difference in
upper/lowercase (in which case 'google scholar' would come first).
Comment 4 Wouter Bolsterlee (uws) 2005-09-01 18:14:53 UTC
This would certainily *not* suffice for me. For example, I want:

cgo             ---> http://cvs.gnome.org/
cgo epiphany    ---> http://cvs.gnome.org/viewcvs/epiphany/
g               ---> http://www.google.com/

etc.

So, using only the first few characters is not enough.
Comment 5 Kristoffer Lundén 2005-09-02 10:59:28 UTC
Would not suffice for me either, and I don't see how adding a keyword field
"complicates" anything. Other browsers have proven that to be a simple,
understandable and working system, now this just makes everything hidden,
mystical and well, complicated. Having a separate keyword field makes it
something you add manually when you know what it means, and can safely ignore -
or look up in "help" if you don't. It also means you can tweak it without having
to change titles (a programmers solution if I ever saw one).

I think it will only lead to unexpected behavoiur and bug reports. I also think
there seems to be the danger of wanting so much not to be Firefox that the good
points it has is avoided, which is unlucky. and very much against the *nix
philosophy, where good things are happily copied and used. =)

I also agree with Wouter, I want the double behaviour with regular bookmark
contra search, and have described it in the Suggestions section on the wiki.
Either allow two bookmarks (one for search, one not) to have the same keyword,
and be smart about it, or allow another URL for the bookmark: URL *and* Search URL.
Comment 6 Reinout van Schouwen 2005-09-02 20:49:02 UTC
*** Bug 173189 has been marked as a duplicate of this bug. ***
Comment 7 Gustavo Gama 2005-09-16 20:59:48 UTC
I'm attaching an extension that's supposed to implement this feature.

You specify the desired keyword to a bookmark by prefixing the URL with
"%{kw:<keyword>}". If it's a smart_bookmark, additional arguments to the keyword
will be used as the bookmark's argument.

Examples:
1. Google Homepage: %{kw:gg}http://www.google.com
2. Google search: %{kw:gg}http://www.google.com/search?q=%s
3. Gnome's bugzilla: %{kw:gnbz}http://bugzilla.gnome.org/show_bug.cgi?id=%s

Works quite well for me, but since I'm sort of a newbie (regarding Epyphany, at
least), YMMV. Let me know if there are any problems.

Before anyone complains: a proper GUI would obviously be much better, but I
couldn't figure out how to intercept the bookmark properties dialog and change
it accordingly. I'm not even sure if that's possible without changing Ephy's
code. And since SmartBookmarks currently work in a similar fashion, I thought it
would be a reasonable solution for now.
Comment 8 Gustavo Gama 2005-09-16 21:03:13 UTC
Created attachment 52325 [details]
Bookmark-Keywords extension
Comment 9 Gustavo Gama 2005-09-16 22:05:05 UTC
Created attachment 52327 [details]
Bookmark-Keywords extension (rev.2)

Fixes a couple of problems with the finalize function.
Comment 10 Wouter Bolsterlee (uws) 2005-09-17 20:18:49 UTC
I love you! :)
Comment 11 Tommi Komulainen 2005-09-18 20:56:49 UTC
Would've been nice if importing bookmarks from Galeon would've imported the
nicknames as well :)
Comment 12 Christian Persch 2005-09-18 20:57:13 UTC
I think the %{kw=...} stuff in front of the URLs isn't so nice (it'll make the
automatic export to RDF generate wrong data for smart-bookmarks with keywords.
I'd prefer if the keyword was an extra data field in the bookmark (a property ID
on the bookmarks node), or maybe kw=... in a general option field.
That brings up the data input problem. What about a signal emitted when a
bookmarks property window is opened that you can attach to and insert the extra
field into the property window?
Comment 13 Gustavo Gama 2005-09-19 17:31:44 UTC
> What about a signal emitted when a bookmarks property window is
> opened that you can attach to and insert the extra field into the
> property window?

Sounds good to me.
Comment 14 Tommi Komulainen 2005-09-20 16:57:04 UTC
The %{kw...} stuff seems also seems to be breaking the normal smart bookmark
usage from the location entry completion dropdown. I have %{kw:bgo} in front of
GNOME bugzilla URL and typing '123' and then selecting bugzilla from the
dropdown list tries to load the following URL, and naturally fails:

http://%{kw//bugzilla.gnome.org/show_bug.cgi?id=
Comment 15 Gustavo Gama 2005-09-22 18:48:28 UTC
Created attachment 52522 [details]
Bookmark-Keywords extension (rev. 3)

Fixes a few leaks and the issue described in comment #14. The design is a bit
better too. All credits go to Tommi Komulainen. I'm just packaging and posting
'cause he's too lazy. :-)
Comment 16 Tommi Komulainen 2005-09-24 20:56:29 UTC
Noticed one more bug, though I'm not entirely certain the fault lies in this
extension. Anyway, when you type, say 'bugz' in the location entry the
corresponding smart bookmark shows up in the matches (not actions) and selecting
it tries again to load something like:

http://%{kw//bugzilla.gnome.org/show_bug.cgi?id=
Comment 17 Reinout van Schouwen 2005-11-04 13:27:06 UTC
*** Bug 157784 has been marked as a duplicate of this bug. ***
Comment 18 Reinout van Schouwen 2006-01-25 21:32:22 UTC
Moving to epiphany-extensions
Comment 19 Reinout van Schouwen 2006-04-21 13:43:15 UTC
*** Bug 339111 has been marked as a duplicate of this bug. ***
Comment 20 Wouter Bolsterlee (uws) 2006-04-21 13:51:12 UTC
Maybe a better solution is to just use smart bookmarks, but set a mnemonic for them. This idea was coined earlier (don't know who/why) but never got much attention. This would change the use case to this:

1. Type your keywords in the location bar
2. Watch as the list of smart bookmarks appear
3. Find the one you like and Alt-G voor Google.

This would require some sort of mnemonic storage in the smart bookmark description. Not sure if underscores will do... :s
Comment 21 Reinout van Schouwen 2006-04-21 13:56:02 UTC
#20: How would you handle the conflict between Alt+G for the Go menu and the shortcut for the smart bookmark?
Comment 22 Wouter Bolsterlee (uws) 2006-04-21 14:12:57 UTC
No idea, I was just brainstorming about alternative approaches
Comment 23 lsof 2006-06-26 06:53:49 UTC
I miss this feature.
Comment 24 Nigel Tao 2006-10-17 13:29:23 UTC
A different implementation, using Deskbar's existing list of keyword shortcuts, was posted to the epiphany-list mailing list: http://mail.gnome.org/archives/epiphany-list/2006-October/msg00020.html
Comment 25 Reinout van Schouwen 2006-10-31 12:25:44 UTC
*** Bug 368218 has been marked as a duplicate of this bug. ***
Comment 26 Reinout van Schouwen 2007-09-10 22:05:05 UTC
*** Bug 473565 has been marked as a duplicate of this bug. ***
Comment 27 Reinout van Schouwen 2008-07-11 14:33:08 UTC
*** Bug 532936 has been marked as a duplicate of this bug. ***
Comment 28 Bernhard Koenig 2009-04-27 08:02:16 UTC
I'm a bit confused. Does this feature currently exist in epiphany or not? I cannot find an extension called "bookmark-keywords". I think it's a good firefox feature and the main reason I am still using firefox as default browser.
Comment 29 Bernhard Koenig 2009-04-27 08:04:31 UTC
Oh, I see, there is a tarball at the bottom of this page. Why isn't this part of the regular "epiphany-extensions"?
Comment 30 Reinout van Schouwen 2009-04-27 08:27:41 UTC
(In reply to comment #29)
> Oh, I see, there is a tarball at the bottom of this page. 

The extension attached to this bug probably won't work with recent Epiphany releases. 

> Why isn't this part of the regular "epiphany-extensions"?

I suppose because nobody cared enough to maintain this extension.

The suggested workaround is to use the web search abbreviations in deskbar.
Comment 31 André Klapper 2013-05-27 16:12:21 UTC
According to its developer, epiphany-extensions is not under active development
anymore. (For reference: https://mail.gnome.org/archives/gnome-i18n/2013-May/msg00035.html and bug 700924.)

It is unlikely that there will be any further active development.

Closing this report as WONTFIX as part of Bugzilla Housekeeping - Please feel
free to reopen this bug report in the future if anyone takes the responsibility
for active development again.