Bug 201679

Summary: middle-click on tab should paste to that tab without switching tab
Product: [Applications] konsole Reporter: Darin McBride <Tanktalus>
Component: tabbarAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED WORKSFORME    
Severity: wishlist CC: adaptee, kdebugs, vbatts
Priority: NOR    
Version: 2.3   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Darin McBride 2009-07-27 18:01:13 UTC
Version:           2.3 (using 4.2.98 (KDE 4.2.98 (KDE 4.3 RC3)), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.29-gentoo-r5

Often I'm copying and pasting between tabs, so it'd be really nice if I could just middle-click on the tab where I want the text to go and have the text pasted to that virtual console without even switching tabs (I can then quickly left-click to switch tabs since my hand is already on the mouse if that's what I want to do).

Today, I left click, move, middle click, move, left click: select desired tab, move into the console, paste, move to the original tab, select it to return back to where I was.  Workaround is simple enough, but it'd be nice to simplify this.
Comment 1 Jekyll Wu 2011-11-11 04:44:02 UTC
The suggestion sounds sensible and I think it is not hard to implement. Will give it a try but can't promise anything.

One potential concern is users who are unaware of this feature (if it is implemented) might accidentally middle click some tab and get confused  by that unexpected paste when they switch to that tab later.
Comment 2 Vincent Batts 2011-11-22 00:04:09 UTC
This is not ideal flow, considering most tabbed applications treat a middle click as a "close tab" signal. At best having a right click menu that would have a paste-to-tab option.
Comment 3 imraro 2013-03-26 05:46:18 UTC
+1 to middle click as a "close tab"
Comment 4 Kurt Hindenburg 2014-02-13 15:40:27 UTC
https://git.reviewboard.kde.org/r/109571/ was code to have middle click as close.  I'm not really sure I like having anything for middle click.  If so, it would have to be configurable to multiple options.
Comment 5 Darin McBride 2014-02-13 16:00:11 UTC
Note that Konqueror already treats middle-click-on-tab as paste to that tab, though it also selects that tab.  So "close tab" would be inconsistent with other core KDE applications.  Pasting would be consistent, though an option not to switch on middle click would be nice, even if its default were the same as Konqueror for consistency.
Comment 6 imraro 2014-02-13 16:46:12 UTC
What about Dolphin? Icon-Only Task Manager option? Mozilla Firefox? If you want to paste - you have all window area, not only tab, right?

On February 13, 2014 10:00:11 PM GMT+06:00, Darin McBride <Tanktalus@gmail.com> wrote:
>https://bugs.kde.org/show_bug.cgi?id=201679
>
>--- Comment #5 from Darin McBride <Tanktalus@gmail.com> ---
>Note that Konqueror already treats middle-click-on-tab as paste to that
>tab,
>though it also selects that tab.  So "close tab" would be inconsistent
>with
>other core KDE applications.  Pasting would be consistent, though an
>option not
>to switch on middle click would be nice, even if its default were the
>same as
>Konqueror for consistency.
>
>-- 
>You are receiving this mail because:
>You are on the CC list for the bug.
Comment 7 Darin McBride 2014-02-13 17:08:44 UTC
(In reply to comment #6)
> What about Dolphin? Icon-Only Task Manager option? Mozilla Firefox? If you
> want to paste - you have all window area, not only tab, right?

Dolphin - can you middle click in the window area? Not that I'm aware - it doesn't do anything.

Task manager - not even sure what that is.

Firefox - not a KDE application.  What non-KDE applications do should be of less interest than what KDE applications do.  Not no interest, but less interest.  (Also, Firefox doesn't allow a middle click inside the window to paste the URL to that window, so it doesn't have any other behaviour for middle click to emulate, much like Dolphin.)

All window area - no, the original request came in for clicking on a tab *that is _NOT_ at the foreground*.  So I have three tabs, I'm looking at the console for tab 1, I swipe some text, and want to paste it to tab 2.

Konqueror: I'm looking at tab 1, swipe some text, and want to set tab 2 to that URL.

Both of those cases, I can middle click on the tab I want to affect, and have the same effect as if I had left-clicked on the tab first and then middle-clicked into the window.  Or, I could if this request were fulfilled for Konsole. I can already do that for Konqueror.  And I'd argue that it's much more useful for Konsole than Konqueror.
Comment 8 Kurt Hindenburg 2024-03-26 23:47:29 UTC
There doesn't seem be a consensus and there's been no activity in 10 years.   If anyone has strong opinions about this, feel free to reopen.
Comment 9 Bug Janitor Service 2024-04-10 03:47:40 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2024-04-25 03:46:24 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!