[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kfile] [Bug 332842] Feature Request: Location Bar Context Menu to Open in New Tab
From:       Frank Reininghaus <frank78ac () googlemail ! com>
Date:       2014-03-31 16:00:14
Message-ID: bug-332842-17878-TPdSH6XMVh () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=332842

Frank Reininghaus <frank78ac@googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |frank78ac@googlemail.com
          Component|bars: location              |kurlnavigator
           Assignee|dolphin-bugs-null@kde.org   |kdelibs-bugs@kde.org
            Product|dolphin                     |kfile

--- Comment #1 from Frank Reininghaus <frank78ac@googlemail.com> ---
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.

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic