Bug 2392501 - [simple-scan] Unhandled key while saving: x-dpi
Summary: [simple-scan] Unhandled key while saving: x-dpi
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gdk-pixbuf2
Version: 43
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedFreezeException
Depends On:
Blocks: F43FinalFreezeException, FinalFreezeException
TreeView+ depends on / blocked
 
Reported: 2025-09-02 05:13 UTC by Laurențiu Nicola
Modified: 2025-09-30 00:19 UTC (History)
18 users (show)

Fixed In Version: gdk-pixbuf2-2.44.2-1.fc43
Clone Of:
Environment:
Last Closed: 2025-09-30 00:19:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME gdk-pixbuf merge_requests 239 0 None merged glycin: Ignore some keys when saving 2025-09-24 10:38:56 UTC
GNOME Gitlab GNOME simple-scan issues 508 0 None closed Can not save file - unhandled key while saving: x-dpi 2025-09-24 10:38:56 UTC

Description Laurențiu Nicola 2025-09-02 05:13:53 UTC
simple-scan used to work for me in f42, but now I can't save any image or PDF because of that error.

Reproducible: Always

Steps to Reproduce:
1. Scan something
2. Save

Actual Results:
A dialog with "Failed to save file, Unhandled key while saving: x-dpi", then the application keeps displaying "Saving" in the corner.

Expected Results:
Document gets saved

Additional Information:
Nothing on the console

Tested on: simple-scan-48.1-3.fc43.x86_64

Comment 1 Thorsten Leemhuis 2025-09-16 13:14:01 UTC
Seeing this as well since updating to f43 a few days ago.

There is a upstream report about this, no reply yet: https://gitlab.gnome.org/GNOME/simple-scan/-/issues/508

Not sure if this is a upstream problem or something in Fedora.

Comment 2 Marc Muehlfeld 2025-09-17 13:35:36 UTC
Same problem here on F43 beta.

Output from "simple-scan --debug":
[+18,72s] DEBUG: app-window.vala:618: Saving to 'file:///home/mmuehlfeld/Gescanntes%20Dokument.png'
[+18,74s] WARNING: app-window.vala:641: Error saving file: Unhandled key while saving: x-dpi

Deleting ~/.config/simple-scan/ and ~/.cache/simple-scan/ also didn't help.

I temporarily installed simple-scan-48.1-1.fc42.x86_64.rpm on F43, but the problem persists (but the F42 package works on F42). The problem might be an incompatibility with a library.


Workaround: Scanning with scanimage works:
$ scanimage -d "<device>" --mode gray --format=png > scan.png

Comment 3 Marc Muehlfeld 2025-09-18 11:45:49 UTC
I used the SPEC file from 48.1-3 to create an RPM for simple-scan 49.0, but the problem is still there.
This seems to be another indicator that the issue is not directly in simple-scan.

Comment 4 Fedora Blocker Bugs Application 2025-09-23 17:09:43 UTC
Proposed as a Blocker and Freeze Exception for 43-final by Fedora user augenauf using the blocker tracking app because:

 If it's shipped by default, it should work.

Comment 5 Geraldo Simião 2025-09-23 17:41:55 UTC
As seen here https://gitlab.gnome.org/GNOME/simple-scan/-/issues/508#note_2557307 and in the subsequent comment, this is affecting Ubuntu 22.04.5 LTS and CachyOS with simple-scan version 49 too, so clearly an upstream bug. Sophie Herold cloned the issue to the component gdk-pixbuf / glycin -> https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/274#note_2557209

Comment 6 Matthias Clasen 2025-09-24 03:55:22 UTC
This is fixed in gdk-pixbuf 2.44.2

Comment 7 Kamil Páral 2025-09-24 10:38:56 UTC
Reassigning to gdk-pixbuf2, can we get a patched update, please?

Comment 8 Adam Williamson 2025-09-26 01:50:57 UTC
-3 blocker / +5 FE in https://pagure.io/fedora-qa/blocker-review/issue/1946 , marking rejected blocker, accepted FE.

Comment 10 Kamil Páral 2025-09-29 09:06:45 UTC
Great! We need a Bodhi update, please.

Comment 11 rwfranks 2025-09-29 10:30:08 UTC
Upgrading to 2.44.2-1.fc44 from rawhide rescued my urgent document scan.

Thanks to all involved.

Comment 12 Fedora Update System 2025-09-29 10:39:44 UTC
FEDORA-2025-3b64099856 (gdk-pixbuf2-2.44.2-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-3b64099856

Comment 13 Kamil Páral 2025-09-29 12:33:01 UTC
(In reply to Fedora Update System from comment #12)
> FEDORA-2025-3b64099856 (gdk-pixbuf2-2.44.2-1.fc43) has been submitted as an
> update to Fedora 43.
> https://bodhi.fedoraproject.org/updates/FEDORA-2025-3b64099856

Works fine, thanks

Comment 14 Fedora Update System 2025-09-30 00:19:05 UTC
FEDORA-2025-3b64099856 (gdk-pixbuf2-2.44.2-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.