Bug 211788 - konsole instance created by 'konsole -e cmd args' is not restored correctly
Summary: konsole instance created by 'konsole -e cmd args' is not restored correctly
Status: CONFIRMED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.9.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: reproducible, triaged
Depends on:
Blocks:
 
Reported: 2009-10-25 15:48 UTC by Armin Obersteiner
Modified: 2016-04-09 13:23 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Armin Obersteiner 2009-10-25 15:48:59 UTC
Version:            (using KDE 4.3.1)
Compiler:          gcc version 4.1.2 (Gentoo 4.1.2 p1.3) -march=i686 -O2 -pipe
OS:                Linux
Installed from:    Gentoo Packages

i just switched from kde 3.5.10 and i'm used that 'konsole -e "ssh xxx@yy"' sessions are resorted correctly.

now just a konsole without (-e ...) is opened on login. it's even resized to the last konsoles size not to the old sessions size.

so i reckon konsole and the session management don't fully work as expected.

thanks!
Comment 1 Jekyll Wu 2011-08-12 08:10:29 UTC
This can still be reproduced in konsole-2.7.999
Comment 2 Adrián Chaves (Gallaecio) 2012-09-23 07:26:55 UTC
It works for me in 2.9.1 with the following steps:

1. Open Konsole (A).
2. Write “konsole -e nano” and hit Enter. A new Konsole instance (B) will be opened with the Nano plain text editor (any other software would do, though).
3. Resize the Konsole B, and then close it — closing the window should be fine.
4. Repeat step 2.

Konsole B starts in the size you left it.
Comment 3 Jekyll Wu 2012-09-23 09:35:39 UTC
(In reply to comment #2)

@Adrián:

Thanks for your kindness of triaging konsole reports. But please do not close reports marked as "NEW" so easily, because those bugs are already confirmed by developers and are (most of time) still valid.  

In general, product konsole on b.k.o is in good shape, but help is always welcome. Starting from "UNCOMFIRMED" reports is a better approach.
 
Come back to this report. The main point in this report is that the command specified in the "-e" option is not restored after log out and log in, which is still valid in konsole 2.9.1 (because it is not trivial work and no konsole developers have came up with a patch).