Open Bug 1606295 Opened 4 years ago Updated 21 days ago

[Ubuntu] Opening containing folder will open file manager in background not foreground

Categories

(Core :: Widget: Gtk, defect)

All
Linux
defect

Tracking

()

Tracking Status
firefox71 --- wontfix
firefox72 --- wontfix
firefox73 --- fix-optional
firefox74 --- fix-optional

People

(Reporter: bmaris, Unassigned)

Details

(Keywords: regression)

Attachments

(1 obsolete file)

Affected versions

  • Firefox 72.0b11
  • Firefox 71.0 RC
  • Latest Nightly 73.0a1
  • old Firefox 49.0 RC

Affected platforms

  • Ubuntu 18.04 64bit

Unaffected platforms

  • Windows 10 64bit
  • macOS 10.13

Steps to reproduce

  1. Start Firefox
  2. Download something
    (right click somewhere and select "Save Page As..." then save it)
  3. Open download panel
  4. Click "Open Containing folder" (folder icon)

Expected result

  • File manager opens in foreground showing the file that was just saved.

Actual result

  • File manager opens in background showing the file that was just saved.

Regression range

  • Not sure this is a regression since it reproduces on Fx49 as well, will bisect further when time permits but there could be a bug on this issue already, I just could not find it.

Additional notes

  • Please change the component if this is not suitable for this issue.

Bugbug thinks this bug is a regression, but please revert this change in case of error.

Keywords: regression

Too late for a fix in 72, but we could take a patch for 73 or 74.

QA Whiteboard: [iris]

Does this reproduce on other Linux distros? Older Ubuntu? Wayland? Or just X11-based setups?

The downloads panel just delegates to nsIFile::Reveal, which delegates to the GIO service, which is at https://searchfox.org/mozilla-central/source/toolkit/system/gnome/nsGIOService.cpp, which has file metadata saying this belongs to Fx :: Shell Integration, so moving there.

Component: Downloads Panel → Shell Integration
Flags: needinfo?(bogdan.maris)

Hi,

I've tested this using the latest Nightly version 74.0a1 (2020-01-09) (64-bit) for Ubuntu 18.04.3 LTS and I’m able to reproduce the issue. Based on this I will mark firefox74 flag as affected.

Best,
Clara

(In reply to :Gijs (he/him) from comment #3)

Does this reproduce on other Linux distros? Older Ubuntu? Wayland? Or just X11-based setups?

The downloads panel just delegates to nsIFile::Reveal, which delegates to the GIO service, which is at https://searchfox.org/mozilla-central/source/toolkit/system/gnome/nsGIOService.cpp, which has file metadata saying this belongs to Fx :: Shell Integration, so moving there.

Sorry for the late reply.
I've tested a few linux distros I have at hand (Mint and Fedora) and this issue does not reproduce there. I also tried an older Ubuntu (14.04) on which I get the same behavior as in Ubuntu 18.04.

Flags: needinfo?(bogdan.maris)

I did go and check if this is a regression or not, I found out that on Ubuntu 18.04 builds after 28.0 RC are affected. 27.0.1 RC is not affected by this issue, file manager is opened in foreground.

Has Regression Range: --- → yes
Has STR: --- → yes
Component: Shell Integration → Widget: Gtk
Product: Firefox → Core
Severity: normal → S3
Attachment #9384089 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.