Version: 1.3.2 (using KDE 3.2.3, (testing/unstable))
Compiler: gcc version 3.3.3 (Debian 20040422)
OS: Linux (i686) release 2.6.7-686-smp-nats
I'm used to open a special konsole profile with several ssh processes to a set of machines I want to admin then in parallel by sending all input to all terminals. But before the set of terminal sessions is usable I have to switch thru all of them (15x shift-right) to get the terminal emulation initialized. The background is transparent with a slight tint and will be scaled from tiled to maxspec when focused before my eyes. If I don't do so first, things get wired, i.e. on a parallel vim or apt-get.
Do you still have problems when using a non-transparent schema? And what do you mean by 'things get wired'?
Any chance you can test the beta KDE3.4? or perhaps 3.3.x?
The error does not depend on a transparent background.
"Things get wired" means, that in- and output chars are placed incorrectly.
No, I will not test beta.
This error shouldn't be so hard to reproduce, is it?
Perhaps a screenshot of the 'wired' session.
Is Konsole started by the session manager (ie when you login to KDE as your user) or are you starting Konsole and creating new tabs/sessions?
Can you reproduce by not using ssh?
This works also without ssh.
How to reproduce this bug:
1) start konsole ;)
2) press ctrl-alt-n 10 times
3) set sending the input from the first session to all others
4) save sessions profile as "TestProfile"
5) type konsole --profile TestProfile on some commandline
6) type ls
7) visit all sessions
If you reverse 6) and 7), i.e. first visit all 10 sessions,
"this will not be weird". (btw s/wired/weird/g ;)
Thanks for the 'how to reproduce' It does indeed do as you say even on 3.4.beta2.
I think this is related to BR81173. It appears that the 'restored' session tabs have 20 wide chars, for some reason.
Note: It has nothing to do with 'sending input to all others'. You can remove #3 and this problem still happens.
Created attachment 9746 [details]
Patch to fix init of TE size.
This appears to fix it. The problem is that with --profile, the TEs are
initialize to the setMinimum size and then resized later. This patch 'shows'
konsole after the first session is created, thus allowing the 2nd+ sessions to
init to the correct size. It appears to work fine here.
Rather late, but it is an annoying bug for those that use --profile.
CVS commit by hindenburg:
Fix terminal size for --profile sessions.
M +4 -1 main.cpp 1.286
--- kdebase/konsole/konsole/main.cpp #1.285:1.286
@@ -508,4 +508,8 @@ extern "C" int KDE_EXPORT kdemain(int ar
+ // show() before 2nd+ sessions are created allows --profile to
+ // initialize the TE size correctly.
while (counter < session_count)
@@ -553,5 +557,4 @@ extern "C" int KDE_EXPORT kdemain(int ar
m->activateSession( sessionconfig->readNumEntry("ActiveSession",0) );
Note that the 'for' loop is still required. I tested this patch and didn't find any problems.
// Hack to work-around sessions initialized with minimum size
for (int i=0;i<counter;i++)
m->activateSession( i );
This bug is still not resolved in kde-3.4.1/konsole-1.5.1.
However the behaviour changed but is still buggy: when opening
a profile with multiple terminals in it, the main konsole window
is shrunken to a different size than given during "save profile" and
all terminals get opened one after the other in a very flickering way.
When maximizing the konsole main window again the terminals still are not
initialized correctly in contrast to what has been commented above on this
bug report. This bug gets reopended again :(
This bug is still not resolved in kde-3.5.1/konsole-1.6.
IMHO saveing a profile does not save the size (Example 80x24).
konsole has to be called with something like
konsole --profile <profile_name> --vt_sz 80x24
KDE3 is gone. The --profile option has different meaning in KDE4 konsole.