Summary: | Drag and dropping of files doesn't take into account directory location when using tmux | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Adam Hunt <voxadam> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | cpigat242, kde, peter |
Priority: | NOR | ||
Version: | 2.14 | ||
Target Milestone: | --- | ||
Platform: | Debian unstable | ||
OS: | All | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Adam Hunt
2014-09-17 20:56:43 UTC
Yes, Konsole is using the shell path - not tmux Moreover, tmux stays it's cwd in same directory it was opened. So, I guess, it is pretty impossible to manage that without a hard and dirty hacking Btw, I talked with tmux developers and they tell me to ask you (konsole developers) if there is some escape sequence (that console would understand) to set the current working directory? If there is an escape sequence, tmux could use it, so then Konsole would know the current cwd, so files would be saved in right place. // tmux dev said it is somethin similar already implemented for iTerm2... And also, it seems, this issue appears not only with tmux, but with any "cascaded" applications. If you run you shell, then cd into some directory, then run another copy of the shell (or another shell) and then cd to another place, file will be copied to the place where you was in first level shell. I'd think that it looks like KonsolePart just gets cwd by looking on /proc/PID/cwd of the process that run in the tab, but how it gets the pid of child process then? Anyway, as tmux developers said, it can be made with escape sequence Same issue happens with other actions, e.g. "Open File Manager", "Open Folder With" when using right-mouse on a Konsole window running tmux. Would love to be able to fix this as well (e.g. with escape sequence as suggested before). |