[snap] Cannot open containing folder from a downloaded item if the default path is changed
Categories
(Core :: XPCOM, defect)
Tracking
()
People
(Reporter: atrif, Unassigned)
References
(Blocks 2 open bugs)
Details
(Keywords: regression)
Attachments
(4 files)
Affected versions
- 86.0 (20210215141125)
- 85.0.2 (20210216094005)
- 78.8.0esr (20210217034806)
Preconditions
- Download the build from the archive and run
snap install --dangerous target.snap
Affected platforms
- Ubuntu 18.04
Steps to reproduce
- Open Firefox and change the default download folder from about:preferences.
- Download a random file e.g.
- Click on Open containing folder from downloads pane.
Expected result
- Folder is opened as expected.
Actual result
- The folder is not opened.
Regression range
- I will search for one ASAP.
Notes
- Attached a screen recording.
- I tried on another ubuntu 18.04 machine and the issue is not reproducing. Maybe is something related to my station.
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Comment 1•4 years ago
•
|
||
Hello! I tried searching for a regression range on my Ubuntu machine and these are the results:
- latest good build is Firefox snap 75.0b11 -> This build opens the folder with the downloaded file as expected
- first bad build is Firefox snap 76.0b1 -> This build opens a Launch Application window instead of the folder containing the downloaded file even when the default download folder is kept.
I made a pushlog between these two...
This are the results between the bad build wich is opening Launch Application window and the build that is not opening anything when another download folder is set:
Updated•4 years ago
|
Updated•4 years ago
|
Comment 2•3 years ago
|
||
Can we detect that attempting to reveal an nsIFile
will be blocked by flatpak/snap? Is there some way to convince it to allow this to happen?
Updated•2 years ago
|
Comment 4•2 years ago
|
||
There was another bug about not being able to use Open file in folder
and it was just missing feature under snap. Can you verify https://bugzilla.mozilla.org/show_bug.cgi?id=1772063 ? It's likely a dupe.
Reporter | ||
Comment 5•2 years ago
•
|
||
(In reply to Alexandre LISSY :gerard-majax from comment #4)
There was another bug about not being able to use
Open file in folder
and it was just missing feature under snap. Can you verify https://bugzilla.mozilla.org/show_bug.cgi?id=1772063 ? It's likely a dupe.
We tried these steps again on two Ubuntu 18.04 machines and we can still reproduce this issue with Firefox 107.0RC2. Attaching a screen recording as well.
Comment 6•2 years ago
|
||
(In reply to Alexandru Trif, QA [:atrif] from comment #5)
Created attachment 9303268 [details]
vokoscreen-2022-11-14_10-10-48.gif(In reply to Alexandre LISSY :gerard-majax from comment #4)
There was another bug about not being able to use
Open file in folder
and it was just missing feature under snap. Can you verify https://bugzilla.mozilla.org/show_bug.cgi?id=1772063 ? It's likely a dupe.We tried these steps again on two Ubuntu 18.04 machines and we can still reproduce this issue with Firefox 107.0RC2. Attaching a screen recording as well.
Can you try on 22.04 pleaase ?
Reporter | ||
Comment 7•2 years ago
|
||
(In reply to Alexandre LISSY :gerard-majax from comment #6)
(In reply to Alexandru Trif, QA [:atrif] from comment #5)
Created attachment 9303268 [details]
vokoscreen-2022-11-14_10-10-48.gif(In reply to Alexandre LISSY :gerard-majax from comment #4)
There was another bug about not being able to use
Open file in folder
and it was just missing feature under snap. Can you verify https://bugzilla.mozilla.org/show_bug.cgi?id=1772063 ? It's likely a dupe.We tried these steps again on two Ubuntu 18.04 machines and we can still reproduce this issue with Firefox 107.0RC2. Attaching a screen recording as well.
Can you try on 22.04 pleaase ?
Sure. I cannot reproduce the issue on Ubuntu 22.04. One thing worth mentioning is that on Ubuntu 22.04 the downloads folder path is correctly displayed. On ubuntu 18 there is some strange download path displayed. Please see the attached screenshot.
Comment 8•2 years ago
|
||
(In reply to Alexandru Trif, QA [:atrif] from comment #5)
Created attachment 9303268 [details]
vokoscreen-2022-11-14_10-10-48.gif(In reply to Alexandre LISSY :gerard-majax from comment #4)
There was another bug about not being able to use
Open file in folder
and it was just missing feature under snap. Can you verify https://bugzilla.mozilla.org/show_bug.cgi?id=1772063 ? It's likely a dupe.We tried these steps again on two Ubuntu 18.04 machines and we can still reproduce this issue with Firefox 107.0RC2. Attaching a screen recording as well.
Can you share an actual video? It's going way too fast and there's no way to pause ... Please do the recording on a 22.04, and please verify on a brand new setup as well.
Reporter | ||
Comment 9•2 years ago
•
|
||
(In reply to Alexandre LISSY :gerard-majax from comment #8)
Can you share an actual video? It's going way too fast and there's no way to pause ... Please do the recording on a 22.04, and please verify on a brand new setup as well.
Hello! I cannot reproduce the issue on Ubuntu 22.04. I have made a new screen recording on my Ubuntu 18.04 station starting with a new profile and then changing the download folder. Hope it helps. If more information is needed please let me know. Thank you!
Comment 10•2 years ago
|
||
(In reply to Alexandru Trif, QA [:atrif] from comment #9)
Created attachment 9305795 [details]
vokoscreen-2022-11-29_15-53-00.mkv(In reply to Alexandre LISSY :gerard-majax from comment #8)
Can you share an actual video? It's going way too fast and there's no way to pause ... Please do the recording on a 22.04, and please verify on a brand new setup as well.
Hello! I cannot reproduce the issue on Ubuntu 22.04. I have made a new screen recording on my Ubuntu 18.04 station starting with a new profile and then changing the download folder. Hope it helps. If more information is needed please let me know. Thank you!
I'm a bit worried you are not able to reproduce anymore, this would suggest it was indeed fixed on 22.04. Can you confirm that ?
Comment 11•2 years ago
|
||
FTR Opening in folder was fixed in bug 1772063
Comment 12•2 years ago
|
||
I've been told the situation should have been fixed on 18.04 as well: https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-portal/+bug/1978295
Can you verify if everything is correctly uptodate? And if it's the case, then I guess we should file a bug upstream and link it from there to backport what is missing.
Reporter | ||
Comment 13•2 years ago
•
|
||
(In reply to Alexandre LISSY :gerard-majax from comment #12)
I've been told the situation should have been fixed on 18.04 as well: https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-portal/+bug/1978295
Can you verify if everything is correctly uptodate? And if it's the case, then I guess we should file a bug upstream and link it from there to backport what is missing.
I updated Ubuntu and tried again with 108.0b9 snap on my main Ubuntu profile and the issue still occurs.
I created a new Ubuntu profile and tried with 108.0b9 snap and I cannot reproduce the issue there. The folder is correctly opened from Firefox after the download directory is changed. Also, the correct path is displayed inside about:preferences > Downloads > Save files to section.
Maybe it's something with my main Ubuntu profile, but unfortunately, I don't know what.
Comment 14•2 years ago
|
||
(In reply to Alexandru Trif, QA [:atrif] from comment #13)
(In reply to Alexandre LISSY :gerard-majax from comment #12)
I've been told the situation should have been fixed on 18.04 as well: https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-portal/+bug/1978295
Can you verify if everything is correctly uptodate? And if it's the case, then I guess we should file a bug upstream and link it from there to backport what is missing.
I updated Ubuntu and tried again with 108.0b9 snap on my main Ubuntu profile and the issue still occurs.
I created a new Ubuntu profile and tried with 108.0b9 snap and I cannot reproduce the issue there. The folder is correctly opened from Firefox after the download directory is changed. Also, the correct path is displayed inside about:preferences > Downloads > Save files to section.
Maybe it's something with my main Ubuntu profile, but unfortunately, I don't know what.
about:support
on both profile, we should be able to diff ?
Reporter | ||
Comment 15•2 years ago
|
||
(In reply to Alexandre LISSY :gerard-majax from comment #14)
(In reply to Alexandru Trif, QA [:atrif] from comment #13)
(In reply to Alexandre LISSY :gerard-majax from comment #12)
I've been told the situation should have been fixed on 18.04 as well: https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-portal/+bug/1978295
Can you verify if everything is correctly uptodate? And if it's the case, then I guess we should file a bug upstream and link it from there to backport what is missing.
I updated Ubuntu and tried again with 108.0b9 snap on my main Ubuntu profile and the issue still occurs.
I created a new Ubuntu profile and tried with 108.0b9 snap and I cannot reproduce the issue there. The folder is correctly opened from Firefox after the download directory is changed. Also, the correct path is displayed inside about:preferences > Downloads > Save files to section.
Maybe it's something with my main Ubuntu profile, but unfortunately, I don't know what.
about:support
on both profile, we should be able to diff ?
Oh... sorry... I mistakenly opened Firefox 108.0b9 which came installed default with Ubuntu 18... and with that version, it seems that the issue is not reproducible... Sorry for the confusion here.
I can still reproduce the issue with Firefox 108.0b9 Snap installed with sudo snap install firefox --channel=beta
command on the newly created Ubuntu profile as well. If more information is needed please let me know. Thank you!
Comment 16•2 years ago
|
||
Sorry but this is just adding confusion. You confirmed the issue does not reproduce without snap, and it still reproduces with snap on ubuntu 18.04. So according to my comment 12, you should file an upstream issue so the missing bits are backported (I dont know which ones).
Reporter | ||
Comment 18•2 years ago
|
||
(In reply to Alexandre LISSY :gerard-majax from comment #17)
Have you filed an upstream issue ?
Unfortunately no, I can still reproduce the issue on Ubuntu 18.04 with Firefox 112.0b2 snap, but unfortunately, I still don't know how to file the issue. If you could provide me with some guidance on how to do this it would be great. Thank you!
Comment 19•2 years ago
|
||
(In reply to Alexandru Trif, QA [:atrif] from comment #18)
(In reply to Alexandre LISSY :gerard-majax from comment #17)
Have you filed an upstream issue ?
Unfortunately no, I can still reproduce the issue on Ubuntu 18.04 with Firefox 112.0b2 snap, but unfortunately, I still don't know how to file the issue. If you could provide me with some guidance on how to do this it would be great. Thank you!
Bouncing needinfo back to Alexandre. :-)
Comment 20•2 years ago
|
||
(In reply to Alexandru Trif, QA [:atrif] from comment #18)
(In reply to Alexandre LISSY :gerard-majax from comment #17)
Have you filed an upstream issue ?
Unfortunately no, I can still reproduce the issue on Ubuntu 18.04 with Firefox 112.0b2 snap, but unfortunately, I still don't know how to file the issue. If you could provide me with some guidance on how to do this it would be great. Thank you!
You need to file an issue on Launchpad https://launchpad.net/ against the Firefox package.
Reporter | ||
Comment 21•2 years ago
|
||
(In reply to Alexandre LISSY :gerard-majax from comment #20)
(In reply to Alexandru Trif, QA [:atrif] from comment #18)
(In reply to Alexandre LISSY :gerard-majax from comment #17)
Have you filed an upstream issue ?
Unfortunately no, I can still reproduce the issue on Ubuntu 18.04 with Firefox 112.0b2 snap, but unfortunately, I still don't know how to file the issue. If you could provide me with some guidance on how to do this it would be great. Thank you!
You need to file an issue on Launchpad https://launchpad.net/ against the Firefox package.
I hope this helps https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2011708/
Updated•2 years ago
|
Comment 22•2 years ago
|
||
Amin, can you check what is missing to backport to 18.04 and whether this is fixable ?
Comment 23•2 years ago
|
||
After discussing with Canonical folks, 18.04 is EOL so this cannot be fixed.
Description
•