Since xfce 4.10, directory menu panel plugin has changed it's behavior, currently it gives working directory to the called terminal emulator as an argument, but not all terminal emulators accept it that way. F.e. terminator (which I am using) takes --working-directory=DIR. I'm honestly not sure, if it's terminators problem or xfce, but I think directory menu shouldn't assume, that arguments of the default terminal emulator would be always handled that way. It'd be a better solution to change directory before calling the emulator.
Created attachment 6152 Fix This fix removes working_dir argument from the call to terminal emulator. Most of terminal emulators should work now. I tested with: - Xfce Terminal - Terminator - VTE - Sakura - XTerm
This bug seem to be produced by following patch: https://bugzilla.xfce.org/show_bug.cgi?id=10270 I don't think that adding paths silently is a good idea.
Hi, Since this patch is reverting previous behaviour, it would be good to also test that the alleged improvement in #10270 hasn't been reverted. With your patch, are file managers still automatically opened in the current working directory of the terminal?
Hi, sure, the behaviour from #10270 is reverted, but that change was too shortsighted, breaking functionality of many terminal emulators. The solution was only tested with xfce4-terminal, despite that there are also others in the wild. In my opinion #10270 is actually a bug, because it was not enough tested and should never been released. As I already mentioned, I reverted #10270 changes and tested against multiple terminals, it worked just fine again and the terminals always opened in the right working directory.
Thank you. Pushed a modified patch to master. The argument is only used for starting a file manager, not a terminal emulator.
The fix was pushed here: https://git.xfce.org/xfce/xfce4-panel/commit/?id=5565f4cb4db3088cf0a01b5c807c2f57e92ff981 and released with 4.12.1.