You are not logged in.

#1 2017-07-13 10:15:58

sitwano
Member
Registered: 2017-07-07
Posts: 83

"Show in folder" option in chromium not focusing folder

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

#2 2017-07-13 11:20:13

phw
Member
Registered: 2013-05-27
Posts: 318

Re: "Show in folder" option in chromium not focusing folder

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

#3 2017-07-13 11:34:44

sitwano
Member
Registered: 2017-07-07
Posts: 83

Re: "Show in folder" option in chromium not focusing folder

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

#4 2017-07-13 11:37:30

phw
Member
Registered: 2013-05-27
Posts: 318

Re: "Show in folder" option in chromium not focusing folder

I think the bringing to focus heavily depends on the window manager you use. What DE/WM are you using?

Offline

#5 2017-07-13 11:42:22

sitwano
Member
Registered: 2017-07-07
Posts: 83

Re: "Show in folder" option in chromium not focusing folder

I currently use Gnome 3.24. Running in wayland session.

Offline

#6 2017-07-13 11:53:30

phw
Member
Registered: 2013-05-27
Posts: 318

Re: "Show in folder" option in chromium not focusing folder

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

#7 2017-09-02 02:21:49

kamzata
Member
From: ITALY
Registered: 2017-01-19
Posts: 30

Re: "Show in folder" option in chromium not focusing folder

Same here. This is a little but very annoying bug and it seems to exist since so long.

Offline

#8 2017-10-02 08:18:28

papa33
Member
Registered: 2014-06-14
Posts: 5

Re: "Show in folder" option in chromium not focusing folder

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

Board footer

Powered by FluxBB