Summary: | Preference to reuse CWD of previously active terminal instance dysfunctional with KPart | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Ismael Barros <razielmine> |
Component: | kpart | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | adaptee, hein, henes5am, kost-bebix |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
/home/raziel/.kde/share/config/konsolerc
/home/raziel/.kde/share/config/yakuakerc |
Description
Ismael Barros
2008-08-13 20:07:06 UTC
Created attachment 26840 [details]
/home/raziel/.kde/share/config/konsolerc
Created attachment 26841 [details]
/home/raziel/.kde/share/config/yakuakerc
Ressigning to Konsole (Yakuake embeds the Konsole KPart component). Robert: The background for this is that the KPart only starts a shell when TerminalInterface::showShellInDir() is called, which Yakuake currently does with 'KUser().homeDir()' as a reasonable default, thus inherently circumventing "Start in same directory as current tab". However, when called with QString::null/"", it doesn't work either, and that's about the only idea I had. Of course, the underlying problem is figuring out the "current tab" in the KPart case. This might be related to #156919, which Yakuake needs to give an implementation of session management a shot anyway. If I can get the CWD out of a a given part, I can hand it to TerminalInterface::showShellInDir(), which leaves figuring out whether the profile has "Start in same directory as current tab" set. Alternatively this has to be solved inside the Konsole/KPart code. Renamed for clarity. Confirming bug. reassign to the product owner :) Yeah, that might indeed be useful to get Robert in the loop ;). Thanks Christophe. *** Bug 227656 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 214547 *** |