[Konsole-devel] [Bug 179142] can't set tabtitle and window title independently

Gris Ge cnfourt at gmail.com
Fri Aug 19 07:15:10 UTC 2011


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


Gris Ge <cnfourt at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cnfourt at gmail.com




--- Comment #9 from Gris Ge <cnfourt gmail com>  2011-08-19 07:15:10 ---
#Check these code.

CURR_SE_ID=$(qdbus org.kde.konsole /Konsole \
    org.kde.konsole.Konsole.currentSession)
PRE_TAB_FORMAT="$(qdbus org.kde.konsole /Sessions/${CURR_SE_ID} \
    org.kde.konsole.Session.tabTitleFormat 0)"
qdbus org.kde.konsole /Sessions/${CURR_SE_ID} \
    org.kde.konsole.Session.setTabTitleFormat 0 ""
qdbus org.kde.konsole /Sessions/${CURR_SE_ID} \
    org.kde.konsole.Session.setTitle 0 "Your_String"
qdbus org.kde.konsole /Sessions/${CURR_SE_ID} \
    org.kde.konsole.Session.setTitle 1 "Your_String"

#Format 0 is the initial format, if you only change 1, it will change back to 0
#after some seconds.

#Do something.
sleep 10
#change back
qdbus org.kde.konsole /Sessions/${CURR_SE_ID} \
    org.kde.konsole.Session.setTabTitleFormat 0 "${PRE_TAB_FORMAT}"


I think we can close this bug as "Not a Bug"

-- 
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