please make thunar highlight the file which selected by "openning destination folder" ,qbittorrent as example,when open thunar window by "openning destination folder" with right menu of qbit.this will very helpfull
Agreed that this would be a nice feature. Like allways, patches are welcome ;)
I think the problem is in how qbittorrent (and others) is calling Thunar. Via D-Bus we have this method: org.xfce.FileManager.DisplayFolderAndSelect (String uri, String filename, String display, String startup_id) which works as expected. It would be very helpful to find out how Thunar is called, with D-Bus, xdg-open or something else.
well, when mentioned org.xfce.FileManager, there is another issue,when u build your system step by step, debian as example : 'apt install xorg xfce4-session xfce4-session nautilus' when login in graphic desktop ,u can not creat text file on xfce desktop,u must install thunar fully ,oterwise , the function of nautilus is incompletely ,that mean ,i have to install two file manager in my os
@FateRover That's a different bug, dedicated to xfdesktop. Please file a separate bug for it / discuss only one bug per bugreport. Regarding the bug: I tested with firefox to download a file and than open the containing folder (click on folder icon). If I select nautilus as preferred application, the file gets selected. So I assume for thunar (or exo) there is room for improvement. So far I did not check how thunar is called by firefox.
I took some time to check how the following apps open the folder of a specific file: Firefox -> Download popover -> Open folder icon gio-launch-desktop thunar /home/andre/Downloads IntelliJ IDEA -> Right click on a file on the sidebar -> Show in Open Folder with Thunar xdg-open /home/andre/projects/java-tests/mberp/src/main/java/br/com/andredlm Visual Studio Code -> Right click on a file on the sidebar -> Open Containing Folder xdg-open /home/andre/projects/xfce/thunar/thunar Used the method described here: https://unix.stackexchange.com/a/345021 I didn't see anything interesting going on dbus-monitor.
Before testing the same scenario with Nautilus, I found the not so surprising org.freedesktop.FileManager1 interface[1]. What is really surprising is that Thunar exposes two interfaces (org.xfce.Thunar and org.xfce.FileManager) but not this one! I could see Firefox calling org.freedesktop.FileManager1.ShowItems when nautilus was installed, but VSCode and IntelliJ still used xdg-open, so it's their fault the file is not selected. We can't possibly ask all apps out there to use Thunar's interface, if they want good Linux support they must adhere to the standards and so do we. For this reason I'm closing this bug in favor of Bug 12414 (untested workaround included). 1 - https://www.freedesktop.org/wiki/Specifications/file-manager-interface/ *** This bug has been marked as a duplicate of bug 12414 ***