Problematic file name change when saving as a different type
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
Research direction
Start by locating the Save image dialog and the file-type selection handling in the C sources. Reproduce the issue with aaa.jpg and bbb.png, then verify that choosing PNG preserves the base name as aaa.png rather than selecting bbb.png, without overwriting an existing file.
Written by the indexing model from the issue text.
Description
Distribution
LinuxMint XFCE 22.2
Package version
3.4.7
Frequency
Always
Bug description
Thank you for the great app!
I have a minor issue with it, hope it would be a useful improvement.
When I open a picture of one format and decide to save it in a different format, in the 'Save image' dialog as soon as I choose a new file type, file name automatically gets an existing file name of new file type from the list in the same folder.
It can lead to overwriting existing file by mistake.
Steps to reproduce
Example:
a folder with 'aaa.jpg' and 'bbb.png'.
When I open 'aaa.jpg' and decide to save it in a different format, for example '.png', in the 'Save image' dialog as soon as I choose new file type (png), file name automatically gets an existing file name from the list in the same folder - 'bbb.png' instead of (expected) 'aaa.png'
Expected behavior
It would be better to keep the file name as it was, and just to change the extension.
So, it would be better to change it to 'aaa.png'
Additional information
Older versions of Pix on my LinuxMint 21.x have the same behavior, so it's not a new thing. Same behavior on Manjaro XFCE.
- Dominant language
- C
- Stars
- 270
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from linuxmint/pix
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
level/task module/gcp type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
hapostgres/pg_auto_failover#1190 ·
-
docs
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
P3 sonic-vpp
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sonic-net/sonic-buildimage#29662 ·