Unhandled Exception when attempting to Save File after
Description Unhandled Exception when attempting to Save File after rotating .jpeg 180deg.
To Reproduce Open imgae and attempt to save after rotating 180 deg or any rotation at all
Additional Info
Details from Exception:
GLib.GException: Error opening file “/run/user/1000/gvfs/smb-share:server=192.168.0.1,share=g/TP_Share on 4Tb T7 SSD/HGW/from HGW GDrive/38 Super Tisas/20250408_103949.jpg”: Operation not supported
at Gio.FileHelper.Replace(String etag, Boolean makeBackup, FileCreateFlags flags, Cancellable cancellable)
at Pinta.Core.GioExtensions.Replace(File file)
at Pinta.Core.JpegFormat.DoSave(Pixbuf pb, File file, String fileType, Window parent)
at Pinta.Core.GdkPixbufFormat.Export(Document document, File file, Window parent)
at Pinta.Actions.SaveDocumentImplmentationAction.SaveFile(Document document, File file, FormatDescriptor format, Window parent)
at Pinta.Actions.SaveDocumentImplmentationAction.Activated(Object sender, DocumentCancelEventArgs e)
at Pinta.Core.FileActions.RaiseSaveDocument(Document document, Boolean saveAs)
at Pinta.Core.Document.Save(Boolean saveAs)
at Pinta.Actions.CloseDocumentAction.Activated(Object sender, EventArgs e)
at Pinta.Core.Command.<.ctor>b__29_0(SimpleAction o, ActivateSignalArgs args)
at GObject.Closure.InternalCallback(IntPtr closure, IntPtr returnValuePtr, UInt32 nParamValues, IntPtr paramValuesData, IntPtr invocationHint, IntPtr userData)
Pinta Screenshot_2025-10-12_08-17-35.odg
Version Please include your operating system (e.g. Ubuntu 22.04) and which version of Pinta (e.g. 2.1) you are using. Pinta 3.04. O/S Xubuntu 24.04.3
This sounds like a file permission error. Do you have permission to write to that /run/user/... path (or are you using snap / flatpak where the sandboxing may be interfering?