Duplicate file error appears despide file with that name does not exists

Bug #1959684 reported by grofaty
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
New
Undecided
Unassigned

Bug Description

Pinta/master/github on Ubuntu 20.04:

1. Make sure file with name image.png exists in one of the folders e.g. ~/Downloads.
2. Draw something in canvas in Pinta.
3. Save from toolbar.
4. At the bottom of save dialog select "JPEG image" and in Name field type in test and press Save button. EXPECTED: File is saved with name image.jpg. INSTEAD PROBLEM: Message is displayed: "A File named "image.png" already exists. Do you want to replace it?" and sub-message: "The file already exists in /home/[user]/Downloads. Replacing it will overwrite its contents." If I press Replace button original image in ~/Downloads really gets replaced.

It looks somehow "JPEG image" selection is somehow not taken into consideration.

Pinta/2.0.2/github on Ubuntu 20.04:
The same problem.

Revision history for this message
Cameron White (cameronwhite91) wrote :

I think this is the issue mentioned in bug 1909807 with the GTK version in Ubuntu 20.04, where the selected file filter isn't reported properly.
There isn't really anything we can do about it, but It's only an issue when running outside of the snap / flatpak packages, which use a newer GTK version.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.