Bug 168292 - "send input to all sessions" not found in menu
Summary: "send input to all sessions" not found in menu
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-04 03:11 UTC by Geordi LaForge
Modified: 2009-09-25 05:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch to add "Copy To All Tabs" feature for konsole (7.50 KB, patch)
2009-07-18 22:58 UTC, Thomas Dreibholz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geordi LaForge 2008-08-04 03:11:21 UTC
Version:           2.0 (using 4.0.5 (KDE 4.0.5), 4.0.5-5.fc9 Fedora)
Compiler:          gcc
OS:                Linux (i686) release 2.6.25.11-UFP-SFC-DEV-ALFA.1

I switch from KDE 3.x to 4.0 and in the Konsole i see that the feature "send input to all sessions" there isn't. Is it a problem on the fedora package ?
Comment 1 Robert Knight 2008-08-04 10:46:31 UTC
In KDE 4.1 this can be accessed via Edit -> Copy Input To...
Comment 2 Geordi LaForge 2008-08-04 14:00:20 UTC
Thank you, but i have a KDE 4.0, on Fedora distribution today, the 4.1 version is in testing stream...not in the stable.
Comment 3 Robert Knight 2008-08-04 14:15:16 UTC
> Thank you, but i have a KDE 4.0, on Fedora distribution today,
> the 4.1 version is in testing stream...not in the stable. 

I know.  This was not ready for 4.0.
Comment 4 Thomas Dreibholz 2009-07-18 22:56:58 UTC
"Copy Input To ..." does not have the same functionality as the old KDE 3.x "Send Input to All Sessions". In particular, while it has been possible to configure a keyboard shortcut for "Send Input to All Sessions" to turn sending the input to all tabs of the same window on or off, it is necessary to manually select the right session (out of *all* konsole windows running). This is very time consuming, since the sessions are sorted by the dynamic title and not by their window -- which is not very convenient when there are many sessions with the same title.

I very frequently use konsole (KDE 3.5) to administrate a pool of PCs: one window for the pool, a tab for the SSH connection to each PC. Then, it becomes *very* convenient when it is possible to turn on/off sending to each tab -- in this case, the "Send Input To" handling of konsole 4.x becomes very annoying.
Comment 5 Thomas Dreibholz 2009-07-18 22:58:57 UTC
Created attachment 35449 [details]
Patch to add "Copy To All Tabs" feature for konsole

The attached patch adds a "Copy To All Tabs" feature to konsole. It works as follows:
- If "Copy To All Tabs" is activated, "Copy Input To" settings are deactivated and the input is forwarded to all sessions in the same window.
- If "Copy To All Tabs" is deactivated, the input only goes into the current session.
- If "Copy Input To" is used when "Copy To All Tabs" is activated, the currently activated sessions are used for the "Copy Input To" dialog which allows for modifying the settings. "Copy To All Tabs" is deactivated then; the settings of "Copy Input To" are used instead.
Comment 6 Kurt Hindenburg 2009-07-19 01:56:10 UTC
Could you please put this patch on reviewboard.kde.org.
Comment 7 Thomas Dreibholz 2009-07-19 09:40:30 UTC
The patch is on reviewboard.kde.org now, at http://reviewboard.kde.org/r/1056/ .
Comment 8 Kurt Hindenburg 2009-09-25 05:05:16 UTC
SVN commit 1027898 by hindenburg:

Update 'Copy Input To->' menu items.

Thanks to Thomas Dreibholz for patch.  I made a few minor alterations.

BUG: 168292
GUI


 M  +6 -2      desktop/sessionui.rc  
 M  +36 -12    src/Session.cpp  
 M  +4 -2      src/Session.h  
 M  +115 -6    src/SessionController.cpp  
 M  +7 -1      src/SessionController.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1027898