[Konsole-devel] [Bug 90309] incorrect terminal size before first visited when using --profile=

Kurt V.Hindenburg kurt.hindenburg at kdemail.net
Mon Feb 21 06:11:09 UTC 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=90309         
kurt.hindenburg kdemail net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From kurt.hindenburg kdemail net  2005-02-21 07:11 -------
CVS commit by hindenburg: 

BUG: 90309
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
         counter++;
 
+        // show() before 2nd+ sessions are created allows --profile to
+        //  initialize the TE size correctly.
+        m->show();
+
         while (counter < session_count)
         {
 @ -553,5 +557,4  @ extern "C" int KDE_EXPORT kdemain(int ar
         n++;
         m->activateSession( sessionconfig->readNumEntry("ActiveSession",0) );
-        m->show();
         m->setAutoClose(auto_close);
     }



More information about the konsole-devel mailing list