Summary: | Location bar context menu item to open in new tab | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Graham White <graham_alton> |
Component: | URL navigator | Assignee: | David Faure <faure> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | frank78ac, kdelibs-bugs, nate |
Priority: | NOR | Keywords: | junior-jobs, usability |
Version: | 5.47.0 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=280571 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Graham White
2014-03-31 09:46:43 UTC
Thanks for the suggestion. Note that you can open a location from the breadcrumbs in the location bar by middle-clicking it. Adding a "Open in new tab" action to the context menu of the breadcrumbs is far more tricky that it might look to a user. The class which provides the location bar, KUrlNavigator, is part of kdelibs and shared with the file dialog. So one cannot just add a hard-coded "Open in new tab" entry, because it would also show up in the file dialog, where it does not make any sense. This means that the class would have to provide some API to let the application decide if it wants this action in the context menu or not. That's definitely possible, but it requires changes in various places. All that Dolphin would need to do is tell the class that it should show the entry using the new API. It listens to the tabRequested(KUrl) signal already (for the middle clicks). I'll reassign to KUrlNavigator because that's where most of the changes required for such a feature would be needed. I'd never thought to try middle-click before, that does exactly what I'm looking for. Thanks! This has since been implemented! :) |