[Konsole-devel] [Bug 227156] New tabs are sometime opened in a wrong directory

Christoph Feck christoph at maxiom.de
Thu Feb 18 23:54:37 UTC 2010


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





--- Comment #1 from Christoph Feck <christoph maxiom de>  2010-02-19 00:54:36 ---
Created an attachment (id=40913)
 --> (http://bugs.kde.org/attachment.cgi?id=40913)
Proposed patch

This always annoyed me too... and you just reminded me that I should have a
look at it. The problem is that currentWorkingDirectory() only returns cached
information, and the cache is updated delayed.

Attached patch is only a dirty fix. The correct solution would be to add an
invalidateWorkingDirectoryCache() method that just clears out the local
variable, so that on next call the cache is updated.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list