(*** This bug was imported into bugs.kde.org ***) Package: keditbookmarks Version: 1.0 (using KDE 2.1.2 ) Severity: wishlist Installed from: Debian Package 4:2.1.2-2 (testing/unstable) Compiler: gcc version 2.95.4 20010319 (Debian prerelease) OS: Linux 2.4.4 i686 OS/Compiler notes: When dragging a URL from Konqueror into KEditBookmarks the name of the URL is derived from the last component. It would be more useful if the name was derived from the title of the document like it is for "Add Bookmark" and in other browsers. I suspect the current behavior is because KEditBookmarks doesn't receive the title as part of the drop. The workarounds I can think of is to add another drop type for drops from Konqueror that includes both the URL and the title or to have a global cache of URLs and titles that KEditBookmarks can consult for the mapping. (Submitted via bugs.kde.org) (Called from KBugReport dialog)
*** Bug 36148 has been marked as a duplicate of this bug. ***
this is really a feature, but hopefully i'll get it finished by 3.2 in any case. Alex
*** Bug 119199 has been marked as a duplicate of this bug. ***
I think fixing this is not as easy as duplicating the menu's "Add Bookmark" functionality (as some commenters in the duplicate reports suggested). "Add Bookmark" happens inside the application while drag&drop is a cross-application thing (note that you can drag the favicons from Konqueror's location bar or the tabs to the Firefox bookmark toolbar and vice versa). To fix this issue, 2 things must be changed: 1. When the drag event is started, the QDrag object must be given MIME data not only for the URL, but also for the page title. Firefox seems to provide this in the MIME types "text/x-moz-url" and "_NETSCAPE_URL" (both contain first the URL, and then the page title). In Konqueror, the creation of the QDrag object seems to happen in KonqDraggableLabel::mouseMoveEvent(). 2. When the drop event is accepted, the page title must be read from the MIME data of the drop event. Both KEditBookmarks and the Konqueror bookmarks bar parse the MIME data using KBookmark::List::fromMimeData(). Changing this function accordingly would therefore fix this wish and all duplicates. The problem is that both KonqDraggableLabel::mouseMoveEvent() and KBookmark::List::fromMimeData() rely on KUrl's methods for the MIME data generation and parsing, and KUrl does not seem to support a title in addition to the actual URL. So the required code change appears to be non-trivial :-(
*** Bug 190458 has been marked as a duplicate of this bug. ***