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 302662 - Dragging a link to toolbar doesn't recognize smart bookmark
Dragging a link to toolbar doesn't recognize smart bookmark
Status: RESOLVED OBSOLETE
Product: epiphany
Classification: Core
Component: Controls
unspecified
Other Linux
: Normal minor
: ---
Assigned To: Epiphany Maintainers
Marco Pesenti Gritti
Depends on:
Blocks:
 
 
Reported: 2005-05-01 20:31 UTC by Reinout van Schouwen
Modified: 2011-12-14 20:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Reinout van Schouwen 2005-05-01 20:31:50 UTC
From http://galeon.sourceforge.net/bookmarks/browse.php?category=Programming,
drag one of the smart bookmarks to the bookmark toolbar. The link won't be
recognized as a smart bookmark.

IRC log:
<chpe> <a type="text/smartbookmark"
href="http://www.c2.com/cgi/wiki?RecentChanges"
rel="http://www.c2.com/cgi/wiki?search=%s" title="C2 Wiki">
<chpe> that's because dragging transfers the 'href' data, not the 'rel' data
<chpe> so we have no way to know it's a smart bmk
<reinouts> chpe: but when you bookmark it and _then_ put it on the tb, it does
get an entry?!
<chpe> I see no easy way to fix it (mozilla dnd is the horrors :)
<reinouts> ouch
<chpe> yes, bookmarking uses our code which extracts the smart link
<chpe> maybe there is a way
<chpe> text/_moz_htmlcontext
<chpe> text/_moz_htmlinfo
<chpe> text/html
<chpe> the drag data includes those formats... maybe one of them has the info?
<chpe> does someone have a tool to see all the _data_ from the drag (I have
dnd-list which shows the _types_)
Comment 1 Christian Persch 2005-05-01 21:21:33 UTC
Confirming.

I've found out that we get the required information in the drag if we request
'text/html' format. The response looks like this:
<a type="text/smartbookmark" href="http://www.c2.com/cgi/wiki?RecentChanges"
rel="http://www.c2.com/cgi/wiki?search=%s" title="C2 Wiki">

and it's in UTF-16.
Comment 2 Christian Persch 2005-07-30 21:17:20 UTC
Target: 1.8 -> 1.10 due to feature and UI freeze.
Comment 3 Christian Persch 2006-02-03 13:38:44 UTC
-> 1.12 due to feature and UI freeze.
Comment 4 Cyril Brulebois 2007-09-07 05:02:52 UTC
Is it planned to accept a patch enabling smart bookmark D'n'D? Or shoud we wait until the history/bookmark/smartbookmark is rewritten. (I think that a fusion of those features is ongoing/being thought about.) [Heh, but if that's mozilla, /me runs away.]
Comment 5 Christian Persch 2007-09-07 22:41:52 UTC
I think this isn't worth the effort.
Comment 6 Reinout van Schouwen 2007-09-09 22:18:53 UTC
@Cyril: I don't think the rewrite of the history backend influences this bug. 
Comment 7 Xan Lopez 2011-12-14 20:11:49 UTC
We don't have a bookmarks bar anymore, so this is obsolete.