Bug 2390588

Summary: Mate screenshot fails to save a screenshot
Product: [Fedora] Fedora Reporter: Steven Usdansky <usdanskys>
Component: glycinAssignee: Fabio Valentini <decathorpe>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 43CC: bgilbert, decathorpe, gnome-sig, kalevlember, mclasen, raveit65.sun, redhat-bugzilla, rust-sig, vkarehfa
Target Milestone: ---Keywords: Desktop, Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-09-16 16:56:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Steven Usdansky 2025-08-24 11:36:05 UTC
Mate screenshot fails to save screenshots and hangs with error when attempting to save the screenshot. Copy to Clipboard works as expected. 

Reproducible: Always

Steps to Reproduce:
1. Engage mate-screenshot and grab desktop, window, or area
2. Click the save button
3. 
Actual Results:
Error message (numbers vary depending on image size): 

Unable to save the screenshot to disk:

Texture is only 192813 but was announced differently: Stride size: 1236 Image size: 411 x 256

Expected Results:
I expect the a file save dialog box to open so I can enter a filename and save the file

Additional Information:
This is occurring in a fully updated (as of 23-Aug) version of what will become F43 installed on bare metal. This was not happening a month ago; at that time mate-screenshot worked as expected. 

I encountered the same error using the 23-Aug XFCE Rawhide nightly compose in a VM: Fedora-Xfce-Live-Rawhide-20250823.n.0.x86_64.iso

Comment 1 Steven Usdansky 2025-08-24 15:41:18 UTC
Apparently, it's not mate-screenshot, but gdk-pixbuf2 that is the problem. 
Downgrading from gdk-pixbuf2-2.43.3-7.fc43 to gdk-pixbuf2-2.42.12-12.fc42.x86_64 restores the ability to save a snapshot.

Comment 2 Wolfgang Ulbrich 2025-08-24 17:19:52 UTC
Hmm, it seems that gdk-pixbuf2-2.43.3-7.fc43 wasn't used for the f43 mass rebuild.
See https://kojipkgs.fedoraproject.org//packages/mate-utils/1.28.0/9.fc43/data/logs/x86_64/dnf5.log
```
2025-07-25T04:19:56+0000 [2] INFO RPM callback open file "/var/lib/mock/f43-build-61334842-6590209/root/var/cache/libdnf5/build-41213beecb36fe6e/packages/gdk-pixbuf2-devel-2.42.12-10.fc42.x86_64.rpm"
```
I will do a rebuild of mate-utils against current gdk-pixbuf2-2.43.3-7 in f43.

Comment 3 Wolfgang Ulbrich 2025-08-24 17:25:52 UTC
Can you try https://koji.fedoraproject.org/koji/buildinfo?buildID=2805579 ?
I do not have f43 installed.

Comment 4 Wolfgang Ulbrich 2025-08-24 17:29:48 UTC
https://bodhi.fedoraproject.org/updates/FEDORA-2025-3edeb989fa should be available in repos in a few hours.

Comment 5 Wolfgang Ulbrich 2025-08-25 10:28:30 UTC
Sadly, a simple rebuild of mate-utils doesn't fix the problem.
Can you please open an upstream report at github?
https://github.com/mate-desktop/mate-utils/issues

Comment 6 Wolfgang Ulbrich 2025-08-25 11:10:32 UTC
Hi,
i forward this to gdk-bixbuf2 to get more infos.
Is there a significant change in 2.43.3 which needs to be take over to mate-screenshot?
Or can this be an issue with gdk-bixbuf2?
Issue starts with gdk-pixbuf2-2.43.3-2.fc43

Comment 7 Victor Kareh 2025-08-25 21:19:23 UTC
The issue is not in gdk-pixbuf2, but in libglycin2 (which is a dependency of gdk-pixbuf). There's already a bug report to this effect: https://gitlab.gnome.org/GNOME/glycin/-/issues/175

In the meantime, I've submitted a patch for mate-screenshot to use synchronous save (since glycin already does async save processing, and it conflicts with mate-screenshot) - it helps in most cases, but the glycin bug needs to be fixed anyway: https://github.com/mate-desktop/mate-utils/pull/368

Comment 8 Wolfgang Ulbrich 2025-08-26 18:23:37 UTC
Can you please try this scratch build with mentioned upstream fix?
https://koji.fedoraproject.org/koji/taskinfo?taskID=136458222
This works for me in f43.

Comment 9 Victor Kareh 2025-08-28 16:11:33 UTC
The 2.0.rc version of glycin now contains https://gitlab.gnome.org/GNOME/glycin/-/merge_requests/269 which fixes the issue. gdk-pixbuf would need to be rebuilt against that new glycin.

Comment 10 Steven Usdansky 2025-08-28 20:17:45 UTC
The scratch build at https://koji.fedoraproject.org/koji/taskinfo?taskID=136458222 works for me

Comment 11 Fedora Update System 2025-08-29 07:38:13 UTC
FEDORA-2025-e8ea4eb63c (mate-utils-1.28.0-12.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-e8ea4eb63c

Comment 12 Fedora Update System 2025-08-30 01:10:32 UTC
FEDORA-2025-e8ea4eb63c has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-e8ea4eb63c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-e8ea4eb63c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fabio Valentini 2025-09-01 17:35:41 UTC
> gdk-pixbuf would need to be rebuilt against that new glycin.

Why? glycin is used as a shared library, so unless the fix is in the C header files (which I strongly doubt) no rebuilding is needed.
I'll be updating glycin to 2.0.rc as soon as possible, so you should just get that fix for gdk-pixbuf2 for "free".

Comment 14 Wolfgang Ulbrich 2025-09-06 18:27:06 UTC
(In reply to Fabio Valentini from comment #13)
> > gdk-pixbuf would need to be rebuilt against that new glycin.
> 
> Why? glycin is used as a shared library, so unless the fix is in the C
> header files (which I strongly doubt) no rebuilding is needed.
> I'll be updating glycin to 2.0.rc as soon as possible, so you should just
> get that fix for gdk-pixbuf2 for "free".

Anyway, free is a great word :-)
..... mate-utils needs definitely a rebuild after glycin-2.0~rc-2.fc43 and gdk-pixbuf2-2.43.5-2.fc43 to have working screenshots again.
Coming soon.

Comment 15 Fedora Update System 2025-09-07 09:47:09 UTC
FEDORA-2025-920b76a632 (mate-utils-1.28.0-14.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-920b76a632

Comment 16 Wolfgang Ulbrich 2025-09-07 09:49:58 UTC
^^^^^ Can you please leave karma?

Comment 17 Fedora Update System 2025-09-15 01:42:16 UTC
FEDORA-2025-920b76a632 (mate-utils-1.28.0-14.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Wolfgang Ulbrich 2025-09-16 16:56:09 UTC
Closing as mate-utils is in stable f43.

Comment 19 Red Hat Bugzilla 2026-01-15 04:25:05 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days