[Desktop-packages] [Bug 2020655] Re: XDG Desktop Portal should show "nice" user path

2023-10-20 Thread Bug Watch Updater
** Changed in: firefox-snap
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xdg-desktop-portal in Ubuntu.
https://bugs.launchpad.net/bugs/2020655

Title:
  XDG Desktop Portal should show "nice" user path

Status in firefox snap:
  Fix Released
Status in xdg-desktop-portal:
  New
Status in xdg-desktop-portal package in Ubuntu:
  New

Bug description:
  Users hould not see "/run/xxx" but rather e.g., "/tmp/"

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox-snap/+bug/2020655/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 2020655]

2023-10-20 Thread Jhorak
Please check the xdg-desktop-portal version. In xdg-desktop-portal
1.18.0 and later this problem should be fixed. Please reopen if you
still see the problem.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xdg-desktop-portal in Ubuntu.
https://bugs.launchpad.net/bugs/2020655

Title:
  XDG Desktop Portal should show "nice" user path

Status in firefox snap:
  Fix Released
Status in xdg-desktop-portal:
  New
Status in xdg-desktop-portal package in Ubuntu:
  New

Bug description:
  Users hould not see "/run/xxx" but rather e.g., "/tmp/"

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox-snap/+bug/2020655/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 2020655] Re: XDG Desktop Portal should show "nice" user path

2023-05-24 Thread Bug Watch Updater
** Changed in: xdg-desktop-portal
   Status: Unknown => New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xdg-desktop-portal in Ubuntu.
https://bugs.launchpad.net/bugs/2020655

Title:
  XDG Desktop Portal should show "nice" user path

Status in firefox snap:
  Confirmed
Status in xdg-desktop-portal:
  New
Status in xdg-desktop-portal package in Ubuntu:
  New

Bug description:
  Users hould not see "/run/xxx" but rather e.g., "/tmp/"

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox-snap/+bug/2020655/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 2020655] Re: XDG Desktop Portal should show "nice" user path

2023-05-24 Thread Bug Watch Updater
Launchpad has imported 35 comments from the remote bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=1775497.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2022-06-22T15:56:43+00:00 Lissyx+mozillians wrote:

```
(In reply to Alexandre LISSY :gerard-majax from comment #26)

/run/user//doc might be expected, but what do you expect
 to be? It's only valid for one file (the first download), so
following downloads will fail.

 is something we should not have to care about, it's the xdg
ID. I dont know if you can re-use it like you do or if you should go
again to your /mnt/itch/Down. It would be useful if you could try
several downloads each time manually selecting the correct folder.

It works every time if I manually select the correct folder. That's what
I do for every download.

Then mabye the real issue is that we keep in memory the XDG's
document path instead of the folder you selected ?

Yes, that seems like the issue to me.
```

As much as I could understand so far of our interactions there, we
delegate handling of the file picker to GTK, and we have no direct
notion of the "original good" path that users might expect (e.g,
`smb://server/share/Path`) and what we get back from the file picker has
been processed by the XDG portal and we only get the Portal's Document
folder, i.e., `/run/user//doc//`. I dont know how much we
can fix there.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-
portal/+bug/2020655/comments/0


On 2022-06-22T15:59:40+00:00 9-dev-p wrote:

Thanks! Let me know if you need anymore information.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-
portal/+bug/2020655/comments/1


On 2022-08-18T15:43:51+00:00 Olivier Tilloy wrote:

This appears to be affecting the firefox snap on Ubuntu 20.04, but not
on Ubuntu 22.04 (see
https://forum.snapcraft.io/t/firefox-v-101-0-2-download-directory-
always-changes-to-run-user-1000-doc/30395). So the version of the
document portal plays a role.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-
portal/+bug/2020655/comments/2


On 2022-08-26T08:47:58+00:00 Lissyx+mozillians wrote:

*** Bug 1726320 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-
portal/+bug/2020655/comments/3


On 2022-08-29T08:06:43+00:00 9-dev-p wrote:

(In reply to Olivier Tilloy from comment #2)
> This appears to be affecting the firefox snap on Ubuntu 20.04, but not on 
> Ubuntu 22.04 (see 
> https://forum.snapcraft.io/t/firefox-v-101-0-2-download-directory-always-changes-to-run-user-1000-doc/30395).
>  So the version of the document portal plays a role.

I see this behavior on 22.04.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-
portal/+bug/2020655/comments/4


On 2022-08-29T08:07:39+00:00 9-dev-p wrote:

(In reply to Alexandre LISSY :gerard-majax from comment #0)
> 
> As much as I could understand so far of our interactions there, we delegate 
> handling of the file picker to GTK, and we have no direct notion of the 
> "original good" path that users might expect (e.g, `smb://server/share/Path`) 
> and what we get back from the file picker has been processed by the XDG 
> portal and we only get the Portal's Document folder, i.e., 
> `/run/user//doc//`. I dont know how much we can fix there.

FF does know the original good path, because I can enter it manually in
about:config. But it doesn't use it for subsequent downloads.

Reply at: https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-
portal/+bug/2020655/comments/5


On 2022-08-29T08:19:45+00:00 From-bugzilla3 wrote:

(In reply to Devin Bayer from comment #5)
> FF does know the original good path, because I can enter it manually in 
> about:config. But it doesn't use it for subsequent downloads.

That's not how it works. If I understand the portal's D-Bus docs
correctly, what you set in `about:config` goes into the portal via the
`current_folder` argument, then the portal returns a `/run/user//`
path and, because it'd leak information to a potential attacker for a
program to be able to recover the un-sandboxed path from the sandboxed
one, Firefox has no choice but to assume that you changed the directory
from the one it remembers and save the new one.

I can't remember whether a PR has been accepted, but 

[Desktop-packages] [Bug 2020655] Re: XDG Desktop Portal should show "nice" user path

2023-05-24 Thread Pirouette Cacahuète
A fix was made by upstream at https://github.com/flatpak/xdg-desktop-
portal/pull/1007 and I could verify a local rebuild of 22.04 package
with this applied does fix it, including for Firefox Snap.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xdg-desktop-portal in Ubuntu.
https://bugs.launchpad.net/bugs/2020655

Title:
  XDG Desktop Portal should show "nice" user path

Status in firefox snap:
  Unknown
Status in xdg-desktop-portal:
  Unknown
Status in xdg-desktop-portal package in Ubuntu:
  New

Bug description:
  Users hould not see "/run/xxx" but rather e.g., "/tmp/"

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox-snap/+bug/2020655/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 2020655] [NEW] XDG Desktop Portal should show "nice" user path

2023-05-24 Thread Pirouette Cacahuète
Public bug reported:

Users hould not see "/run/xxx" but rather e.g., "/tmp/"

** Affects: firefox-snap
 Importance: Unknown
 Status: Unknown

** Affects: xdg-desktop-portal
 Importance: Unknown
 Status: Unknown

** Affects: xdg-desktop-portal (Ubuntu)
 Importance: Undecided
 Status: New

** Bug watch added: github.com/flatpak/xdg-desktop-portal/issues #973
   https://github.com/flatpak/xdg-desktop-portal/issues/973

** Also affects: xdg-desktop-portal via
   https://github.com/flatpak/xdg-desktop-portal/issues/973
   Importance: Unknown
   Status: Unknown

** Bug watch added: Mozilla Bugzilla #1775497
   https://bugzilla.mozilla.org/show_bug.cgi?id=1775497

** Also affects: firefox-snap via
   https://bugzilla.mozilla.org/show_bug.cgi?id=1775497
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xdg-desktop-portal in Ubuntu.
https://bugs.launchpad.net/bugs/2020655

Title:
  XDG Desktop Portal should show "nice" user path

Status in firefox snap:
  Unknown
Status in xdg-desktop-portal:
  Unknown
Status in xdg-desktop-portal package in Ubuntu:
  New

Bug description:
  Users hould not see "/run/xxx" but rather e.g., "/tmp/"

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox-snap/+bug/2020655/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp