Summary: | Confusing implementation of profiles - temporary changes, saving etc | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Jonathan Marten <jjm> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | ASSIGNED --- | ||
Severity: | normal | CC: | groszdanielpub, jonathan, kdedev, nate, p.r.worrall |
Priority: | NOR | Keywords: | usability |
Version: | master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=323227 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Blank entries in New Tab menu
Blank entries in Settings - Switch Profile |
Description
Jonathan Marten
2021-02-18 11:44:33 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/379 A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/392 Git commit 512ce4403d0f7fa696cdfe41256afe35398c4f87 by Kurt Hindenburg, on behalf of Ahmad Samir. Committed on 23/07/2021 at 16:06. Pushed by hindenburg into branch 'master'. Don't create a new temp profile when --workdir is used to launch Konsole Instead set the Session initial working directory. Related: bug 435537, bug 419859 M +14 -18 src/Application.cpp https://invent.kde.org/utilities/konsole/commit/512ce4403d0f7fa696cdfe41256afe35398c4f87 Created attachment 153440 [details]
Blank entries in New Tab menu
I found this bug looking to see why a bunch of profiles with no names were appearing in Konsole after launching it from command line. The undesired behavior isn't just triggered by --workdir. It is also triggered when using command line to open a new tab and run a command. There may be other triggers, but I haven't investigated. I wanted to add a related UI bug that I have observed. ## Steps to reproduce 1. Launch Konsole from command line. Pass a shell command. Which shell is irrelevant, this happens for me with bash, zsh and fish. The command doesn't seem to matter. e.g. `konsole --new-tab -e bash -c 'ls -la ~/some_directory; cd ~/Nextcloud/Notes/; bash'` ## Additional observations I see the problems outlined in the original writeup with the current profile having no name. Additionally, I see a new profile with a blank name in Settings - Switch Profile. These nameless entries also appear when clicking and holding the New Tab icon. A new blank entry is added every time a command like the above is run, resulting in multiple blank entries throughout the day. These entries don't go away until Konsole is restarted. I've attached screenshots of the blank entries in the UI. Created attachment 153441 [details]
Blank entries in Settings - Switch Profile
(In reply to TraceyC from comment #5) I wanted to add the behavior I expected. * If I launch konsole from command line without specifying a profile, it uses my default profile (not a temp / blank profile.) * If launched with --profile it uses that profile (not a temp / blank profile) |