Bug 458858 - "Open File Manager" does not work as expected when using tmux
Summary: "Open File Manager" does not work as expected when using tmux
Status: CONFIRMED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 22.04.1
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-08 05:12 UTC by federico
Modified: 2022-09-26 21:41 UTC (History)
0 users

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 federico 2022-09-08 05:12:37 UTC
SUMMARY

When using tmux (https://github.com/tmux/tmux) as login shell, the "Open File Manager" does not open the directory the current shell is, but the directory where tmux has been executed

STEPS TO REPRODUCE
0. Create a profile with /usr/bin/tmux as login shell (optional)
1. Open tmux (either through the nex profile, or by executing tmux directly
2. cd in another folder, like "cd /tmp"
3. click on "File", then "Open File manager"

OBSERVED RESULT
The file manager opens in the home directory (or the directory where tmux has been executed)

EXPECTED RESULT
File manager should open in /tmp, also because echo $PWD return "/tmp"

With midnight commander (mc, https://midnight-commander.org/), when $PWD changes, "Open File manager" opens the file manager in the current directory, not where mc has been executed. 

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.4
Kernel Version: 5.19.0-1-amd64 (64-bit)
Graphics Platform: X11
System Version: Not Applicable

ADDITIONAL INFORMATION