You are not logged in.
After download a file in chromium browser, when I select the option of showing the folder containing the file, chromium opens the folder and brings it to focus. However, the downloaded file is not highlighted.
Downloading another file and selecting to view in folder does not bring the folder to focus, if the folder is already previously opened in the background. I find this very irritating. Is there something wrong with xdg-open?
The same thing happens to firefox, although at least firefox highlights the downloaded file.
Any ideas why this may be happening?
Offline
AFAIK Chrome doesn not support this at all, at least it never worked for me. For Firefox this works at least using Nautilus, and probably other.
In general this depends a lot on the file manager you are using. Some file managers support this, some need special parameters, some don't support this at all. I don't know exactly how the browsers open the default file manager, but I guess they don't have special handling for whatever file manager you are using. I implemented such a functionality in my own software recently and it turned out to be more complicated then anticipated to support different file managers.
Offline
I guess I am going to dump chromium. At least firefox is able to highlight the downloaded file. Now if only it was able to bring that folder to focus. Can anyone else confirm that this behaviour is normal?
Offline
I think the bringing to focus heavily depends on the window manager you use. What DE/WM are you using?
Offline
I currently use Gnome 3.24. Running in wayland session.
Offline
Not sure about Wayland, as this has its very own window handling quirks and I don't currently use it, but usually Gnome does not bring new windows of running applications to the front automatically, but instead displays a short notification "xyz is ready" you can click on to focus the window.
There is an extension to disable this behavior: https://extensions.gnome.org/extension/ … -my-focus/
Offline
Same here. This is a little but very annoying bug and it seems to exist since so long.
Offline
I remove my post. I was referring to another distro (almost Arch, it uses Arch repos, but it's not Arch...) I was giving some details that might have been interesting though, but the wiki is clear : "Arch only".
Last edited by papa33 (2017-10-02 11:28:24)
Offline