File Transfer Dialog Stealing Focus
I don't know if this issue is a genuine bug or an underlying "design" decision from the GTK3 guys. Please fee free to close this if there is nothing that can be done.
I am using Thunar 4.16.8 with Manjaro but this behaviour has been present for many Thunar versions. I even did a clean install of Manjaro in an attempt to fix the problem with no success.
SCENARIO I have two thunar windows open side by side. I drag a folder from the main window I am using into the other window. This spawns a file dialog box as expected but instead of being a background process it is in the foreground and this is causing problems.
ISSUES Supposing I drag and drop a bunch of files from the main window to the other window and have them actioned as a queue so that one completes and the next one starts. All good, I leave the queue to process and go back to doing file operations in the main thunar window.
What is happening is that even when I select a new file or folder to rename in the main thunar window every time an operation on the stack completes focus is completely stolen from the window I am working on. What should happen is that if I click on a file or folder to select it, it should stay selected. That doesn't happen. Everytime an operation in the queue is completed the focus shifts seemingly randoly to some other file or folder in the window.
This has caught me out many times where I might be right clicking on a file or folder in the main window to DELETE it and the file transfer dialog changes focus so that I am now right clicking on the wrong file or folder and if I am not careful I can delete the wrong item.
EXPECTED BEHAVIOUR My operations in the main thunar window I am working in should not be affected by the completion of a task in the file transfer queue. If a MOVE operation is completed the file or folder should just disappear from the main window without affecting my selection of file or folder.
When I move a file or folder from one window to another the file queue dialog should go to the background as a separate process that does not affect the main window.
Has anyone else experienced this?