[Konsole-devel] [Bug 276912] New: newSession() dbus call does not allows to open new session in specified window

Marian Kyral mkyral at email.cz
Fri Jul 1 19:39:49 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=276912

           Summary: newSession() dbus call does not allows to open new
                    session in specified window
           Product: konsole
           Version: 2.7
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel at kde.org
        ReportedBy: mkyral at email.cz


Version:           2.7 (using Devel) 
OS:                Linux

Currently, org.kde.konsole.Konsole.newSession() methods are always creating a
new session under first (or lowest?) konsole window. Would be good, to allow to
create a new session to defined window. E.g. I have two konsole windows open,
each on different desktop. When I create a new session in second konsole
window, the session is not opened in current window, where I'm expecting it,
but in the first window.

To solve it a new method currentWindow() should be added. It will be similar to
the org.kde.konsole.Konsole.currentSession() method. Also a new methods
org.kde.konsole.Konsole.newSession() accepting window parameter, needs to be
created.


Reproducible: Always

Steps to Reproduce:
1) Open two konsole windows
2) Go to second konsole window
3) Run command: qdbus org.kde.konsole /Konsole newSession


Actual Results:  
New session is open in first konsole window

Expected Results:  
New session is created in specified konsole window. When not specified, the
current window should be used. If current window is not available (script is
running outside of the konsole window), lowest konsole window will be used.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list