[konsole] [Bug 368596] New: foreground process infos are not updated when getting them

Pascal VITOUX via KDE Bugzilla bugzilla_noreply at kde.org
Sun Sep 11 14:21:22 UTC 2016


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

            Bug ID: 368596
           Summary: foreground process infos are not updated when getting
                    them
           Product: konsole
           Version: master
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: vitoux.pascal at gmail.com

Foreground process informations , used for tab title or some dbus queries , are
not updated when the process is replaced by another one. 

This bug was introduced by commit " 79ca76a94 - Fix checking of foreground
process "
In Session::getProcessInfo() :  _foregroundProcessInfo is updated only the
first time (when null).
The only other time it gets updated is by calling
Session::foregroundProcessName() .




Reproducible: Always

Steps to Reproduce:
1. Open a tab in Konsole and use the default tab title format ( %d : %n ) 
2. Run command "sleep 2"
3. Run command "cat"

Actual Results:  
When running the second command, the tab title is updated with the process name
of the first command ("sleep") .

Expected Results:  
When running the second command, the tab title should be updated with the name
of the process currently running ("cat") .

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list