Bug 62338 - Using --geometry breaks profile loading at correct size (43x18???)
Summary: Using --geometry breaks profile loading at correct size (43x18???)
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.2.3
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-07 17:17 UTC by Santiago Romero
Modified: 2003-09-10 14:58 UTC (History)
0 users

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 Santiago Romero 2003-08-07 17:17:25 UTC
Version:           1.2.3 (using KDE 3.1.3)
Installed from:     (testing/unstable)
Compiler:          gcc version 3.3.1 20030722 (Debian prerelease)
OS:          Linux (i686) release 2.4.20

I've noticed there are similar bugs reported, but
they are said to be resolved at kde 3.1.x, and I'm
using KDE 3.1.3 and still happens to me (Debian
unstable packages).

 When I use --geometry, the console always starts
at 43x18...

 Example:

Good: konsole -vt_sz 80x25 --profile 2shells
 Bad: konsole -vt_sz 80x25 --profile 2shells --geometry +1+1

 This was supossed to be fixed in 3.1 branch :?
Comment 1 Santiago Romero 2003-08-07 18:21:40 UTC
A friend using the same KDE & Konqueror version reports 
me that it's working fine for him :? Maybe a package 
problem? 
 
Comment 2 Waldo Bastian 2003-08-07 18:50:29 UTC
I can confirm the problem. Will look into it. 
Comment 3 Waldo Bastian 2003-09-10 14:58:24 UTC
Subject: kdebase/konsole/konsole

CVS commit by waba: 

Honour --vt_sz in combination with --profile
CCMAIL: 62338-done@bugs.kde.org


  M +1 -0      main.cpp   1.252


--- kdebase/konsole/konsole/main.cpp  #1.251:1.252
@@ -407,4 +407,5 @@ extern "C" int kdemain(int argc, char* a
           for (int i=1;i<=counter;i++)
             m->activateSession( i );
+          m->setColLin(c,l); // will use default height and width if called with (0,0)
         }
         // works only for the first one, but there won't be more.