Bug 332842 - Location bar context menu item to open in new tab
Summary: Location bar context menu item to open in new tab
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: URL navigator (show other bugs)
Version: 5.47.0
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: David Faure
URL:
Keywords: junior-jobs, usability
Depends on:
Blocks:
 
Reported: 2014-03-31 09:46 UTC by Graham White
Modified: 2019-11-29 22:49 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Graham White 2014-03-31 09:46:43 UTC
When right-clicking on the non-editable version of the location bar it would be really useful to have an additional context menu entries to open a new tab at the location clicked or to open a new window at the location clicked.

Reproducible: Always

Steps to Reproduce:
n/a, feature request.
Actual Results:  
n/a, feature request.

Expected Results:  
n/a, feature request.

n/a, feature request.
Comment 1 Frank Reininghaus 2014-03-31 16:00:14 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.
Comment 2 Graham White 2014-04-01 08:31:41 UTC
I'd never thought to try middle-click before, that does exactly what I'm looking for.  Thanks!
Comment 3 Nate Graham 2019-11-29 22:49:08 UTC
This has since been implemented! :)