[Konsole-devel] [konsole] [Bug 339155] New: Drag and dropping of files doesn't take into account directory location when using tmux

Adam Hunt voxadam at gmail.com
Wed Sep 17 20:56:43 UTC 2014


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

            Bug ID: 339155
           Summary: Drag and dropping of files doesn't take into account
                    directory location when using tmux
           Product: konsole
           Version: 2.14
          Platform: Debian unstable
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: voxadam at gmail.com

I love that it's possible to drag and drop files into a Konsole window and have
them copied, moved, or linked to at the location that I at in my directory
structure, This can be an oddly useful feature.

Unfortunately, when using tmux, which is always these days as my rc scripts
load it by default, DnD doesn't take into account tmux. This means that files
end up in the location where Konsole was when tmux was launched (for me this is
always ~).

Reproducible: Always

Steps to Reproduce:
1. Launch Konsole
2. Note the current directory
3. Start a tmux session
4. Change to any other directory (e.g.
5. Drag a file onto Konsole
6. Select "Copy Here" (Move Here and Link Here produce similar results)
7. Check the current directory for the file
8. Check the directory where tmux was started for the file

Actual Results:  
The file is copied, moved to, or linked to in the directory where tmux was
started.

Expected Results:  
The file should be copied, moved to, or linked to the directory where the user
is in their tmux session.

I assume that this occurs in GNU Screen as well but I have not tested it.

I imagine resolving this issue would be substantially more complex if one were
to take into account a tmux session with split panes all in different portions
of the file system. I would recommend that if it is not reasonable to determine
which pane a file is dropped onto to assume the tmux pane which is currently
active/focused to be the intended location.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list