Summary: | qdbus org.kde.konsole /Konsole org.kde.konsole.Konsole.newSession (string,string) does not work | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Andreas Hartmann <andihartmann> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | adaptee, khindenburg, slug.bugreport |
Priority: | NOR | ||
Version: | 2.3.1 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.8 | |
Sentry Crash Report: |
Description
Andreas Hartmann
2010-01-11 15:45:54 UTC
Something is wrong. If you use qdbusviewer, the folder parameter works but not the profile. Running 4.4.5 here. Command line doesn't work (qdbus org.kde.konsole /Konsole org.kde.konsole.Konsole.newSession profile directory Invalid number of parameters ) but calling from qdbusviewer it does. With konsole-2.7.2, the second method does not complain 'invalid number of parameters'. But the 'profile' paremter does not take effect and the default profile is always used. After doing some investigation, the problem is that current code doesn't guarantee all profiles are loaded when the newSession dbus method is called. Git commit 593186603b839221c6f3d58ae44e1fd26ae1c7ad by Jekyll Wu. Committed on 08/10/2011 at 11:55. Pushed by jekyllwu into branch 'master'. Make dbus method newSession(profile,directory) works as expected BUG:222233 FIXED-IN: 4.8 M +4 -0 src/ViewManager.cpp http://commits.kde.org/konsole/593186603b839221c6f3d58ae44e1fd26ae1c7ad Git commit 6e556eed5b94de6d9f06da0cee5aa828ed3e9e76 by Kurt Hindenburg, on behalf of Jekyll Wu. Committed on 08/10/2011 at 11:55. Pushed by hindenburg into branch 'KDE/4.7'. Make dbus method newSession(profile,directory) works as expected BUG:222233 FIXED-IN: 4.8 (cherry picked from commit 593186603b839221c6f3d58ae44e1fd26ae1c7ad) M +4 -0 src/ViewManager.cpp http://commits.kde.org/konsole/6e556eed5b94de6d9f06da0cee5aa828ed3e9e76 |