-
-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
save-file dialog crashes #648
Comments
In the last few seconds in your sceencast it looks like the filechooser is crashing. Did you try saving through this dialog in other gtk4 / adwaita apps? Because rnote should log successful or unsuccessful saves, it looks like the filechooser simply does not give picked file path back (equivalent to cancelling). |
I tried gnome text editor and liferea, both seem to save files succssesfully. Pretty sure that the filepicker that rnote and both of those apps are opening is nautilus (even tho my default is thunar). Here's the journalctl log of when the filepicker crash happens: rnote-filepicker-abend.txt Apparently it might have something to do with the filter, according to someone else that tried it. They said that in KDE it's appearing without a filter too (even tho they were not able to reproduce the crash). For me, no filter selection option is shown at all. |
This definitely reads like it is a bug in either xdg-desktop-portal-gtk, gtk or gtk-rs (the rust bindings). I can't reproduce it unfortunately (neither via flatpak or with a native installation). A brief search through issue-trackers reveals this reported issue, though the logs don't match exactly what you are experiencing. What might already be a possible "fix": #660 switches to the new FileDialog API and removes uses of the now deprecated FileChooserNative. Could you test if it fixed it? |
I have this same issue, using 0.8.2 native and flatpak. I can usually get the file to save by just trying over and over again until it eventually works. I have the same issue with the file picker for Export Document, but sometimes the dialog doesn't open at all. The
and this error in the rnote log:
I have definitely also seen the filter error @LuNeder posted, although I can't seem to produce it myself at the moment. |
Update: If I |
Of course it’s xdg’s fault, it’s always xdg’s fault
|
It seems like |
alright, I don't think this was/is an issue on Rnote's side but one that needs to be/is already fixed in gtk-portal. |
Describe the bug
Saving does not work. When you click "save" or "save as" and name the document, no file is created.
The only way to save the file is closing the app and using the dialog that asks if you want to save before closing (apparently updating files that were created this way works as expected)
Opening other folders in the file selector save thing also makes the selector abend
There is one exception to this bug: if you open an empty folder and save the file in it. Then it works (sometimes? it did not work when I recorded lol).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When clicking Save or Save As, a file should be created on the selected folder, saving the file.
Console Output
No output is given
Screenshots
2023-04-25_19-22-32.mov
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: