Version: unspecified (using KDE 4.8.0) OS: Linux If one changes the profile the "command" is not executed. Reproducible: Always Steps to Reproduce: - Ceate a profile X with command "/usr/bin/mc" - Open a new tab with the default profile, i.e. bash. - Click on settings > change profile > X Actual Results: - colour etc are changed but /usr/bin/mc, i.e. the "commmand" is not executed. Expected Results: - execute "command" set in profile when changing profiles.
Your observation is right. This is actually more like a limitation of current design than a coding bug. I'm not sure what to do with this report. As for your expected result, do you want Konsole to send the 'mc\n' string as input into bash as if you have manually typed 'mc\n' ? Or, do you want mc to replace bash as the main process in this tab/session ?
I'd say replace bash, i.e. as if one would close the tab and create a new one with the other profile in its place. If people just want to start whatever command they set in the profile they would not change profiles but simply type e.g. "mc".
Well, I'm afraid your expectation is unlikely to be implemented. I was not involved with the development of Konsole when KDE4 konsole came out, so I can only make some guess about the design intention of the "Change Profile" feature (strange, it should have been slightly renamed to "Switch Profile" in KDE SC 4.8). KDE3 konsole provided a lot of submenus under 'Settings'. Those submenus allow uses to switch some properties(color,keyboard, etc) for current tab quickly and temporarily. KDE4 konsole does not provide those submenus(which I do like because the old interface was quite cluttered). It re-organizes those properties around the concept of "profile". "Change Profile" was introduced(again, I'm just guessing) to simulate the previous quick way of changing properties. So from the beginning, it is intended to change some properties of current session, but not to replace current session.
Close it as WONTFIX. Fixing it will break the existing and intended functionality of that action. Maybe I should add some explanation into the handbook to avoid confusion. That is the best that can be done at the moment.