Bug 493117 - KonsolePart: “Start in same directory as current session” is ineffective
Summary: KonsolePart: “Start in same directory as current session” is ineffective
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: kpart (show other bugs)
Version: 23.08.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-14 12:31 UTC by Shriramana Sharma
Modified: 2024-12-25 16:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shriramana Sharma 2024-09-14 12:31:21 UTC
Hello. I don't know since when this bug exists, but the profile setting:

General > General Settings > Start in same directory as current session

(which is below “Initial Directory”) is totally ineffective. IIUC Profiles are common to both Konsole and Yakuake and I confirm that at least for my version it exists. Opening new sessions whether in Konsole or Yakuake always goes to the Home directory and not the same as current session.

I remember very well that long back this feature existed (it should, else why the option!) but it stopped working at some point. I see that around 6 years back also this is mentioned on the net: (https://www.reddit.com/r/kde/comments/a2n8c2/users_of_yakuake_what_features_would_you_like_to/)

So please look into this and restore this functionality.

Other related links / mentions:

https://phabricator.kde.org/D26744 “Support opening new sessions in current working dir” (when this was actually added to Yakuake?)

https://phabricator.kde.org/D16837#358361
https://phabricator.kde.org/D16482#353593
https://bugs.kde.org/show_bug.cgi?id=480470

SOFTWARE/OS VERSIONS
Kubuntu 24.04.1 LTS
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Comment 1 Alfred Engströmer 2024-12-25 16:16:36 UTC
I think I am experiencing this as well with the most recent version of konsole from the Arch repos (24.12.0) and the latest flatpak version (24.12.0). I've tried to debug to see if I'm doing something wrong, but couldn't find anything after a couple of hours of trying.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.12.6-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × 11th Gen Intel® Core™ i7-11700K @ 3.60GHz
Memory: 31.2 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4080/PCIe/SSE2

ADDITIONAL INFORMATION
I originally thought this might be an issue with the flatpak version of konsole, since all the tabs are titled "flatpak-spawn", so I thought it could be some isolation thing preventing it from working. But I installed konsole from the Arch repos as well, and the same happens there.

This has worked before for me, when I was running some version of Kubuntu (I can try to figure out which one if needed). However, I recently installed Arch instead, from the start my tabs would always open in my home directory regardless of the setting, so it could very well be some configuration or system issue that I've been doing wrong from the start. I'm still a noob with Arch.

I'm struggling to find information on how KDE wants their bugtracking to be done, but as a suggestion, should we maybe update this issue's Platform field to Arch and the Version field to 24.12.0 to reflect the fact that this still happens with the newest version of konsole?