Thanks Ted, I've added the bug reference to the changelog and uploaded
for you

** Changed in: xdg-desktop-portal (Ubuntu Focal)
       Status: New => Fix Committed

** Changed in: xdg-desktop-portal-gtk (Ubuntu)
       Status: Fix Committed => Fix Released

** Changed in: xdg-desktop-portal-gtk (Ubuntu Focal)
       Status: New => Fix Committed

** Changed in: xdg-desktop-portal (Ubuntu Focal)
     Assignee: (unassigned) => Ted Gould (ted)

** Changed in: xdg-desktop-portal-gtk (Ubuntu Focal)
     Assignee: (unassigned) => Ted Gould (ted)

** Description changed:

- The file dialog implementation doesn't return the current filter. It is
- in the spec and it is fixed in newer versions of the portals. But the
- 1.6.0 version doesn't return it.
+ * Impact
+ The file dialog implementation doesn't return the current filter. It is in 
the spec and it is fixed in newer versions of the portals. But the 1.6.0 
version doesn't return it.
  
  This is an issue for Inkscape which uses the filter to select which file
  format someone wishes to save as if they override the defaults. This
  works well on Ubuntu 22.04.
+ 
+ * Test case
+ 
+ $ snap install --candidate inkscape.
+ 
+ In Inkscape if you just draw on the canvas and hit save a save dialog
+ will appear. There is a selector at the bottom right that adjust which
+ files you see, but also which format you want to save in. So if you make
+ your file "test.pdf" and select "Portable Document Format (*.pdf)" in
+ the selector you should get a PDF file. Before these patches you will
+ get a file "test.pdf" which is actually an SVG file. After the patches
+ you'll get a "test.pdf" that is actually a PDF.
+ 
+ * Regression potential
+ 
+ That's a change to the fileselector portal so check that opening and
+ saving files in a few snaps and flatpaks still works as intended

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

Title:
  File dialog doesn't return current filter in Ubuntu 20.04

Status in xdg-desktop-portal package in Ubuntu:
  Fix Released
Status in xdg-desktop-portal-gtk package in Ubuntu:
  Fix Released
Status in xdg-desktop-portal source package in Focal:
  Fix Committed
Status in xdg-desktop-portal-gtk source package in Focal:
  Fix Committed

Bug description:
  * Impact
  The file dialog implementation doesn't return the current filter. It is in 
the spec and it is fixed in newer versions of the portals. But the 1.6.0 
version doesn't return it.

  This is an issue for Inkscape which uses the filter to select which
  file format someone wishes to save as if they override the defaults.
  This works well on Ubuntu 22.04.

  * Test case

  $ snap install --candidate inkscape.

  In Inkscape if you just draw on the canvas and hit save a save dialog
  will appear. There is a selector at the bottom right that adjust which
  files you see, but also which format you want to save in. So if you
  make your file "test.pdf" and select "Portable Document Format
  (*.pdf)" in the selector you should get a PDF file. Before these
  patches you will get a file "test.pdf" which is actually an SVG file.
  After the patches you'll get a "test.pdf" that is actually a PDF.

  * Regression potential

  That's a change to the fileselector portal so check that opening and
  saving files in a few snaps and flatpaks still works as intended

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-portal/+bug/1973564/+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

Reply via email to