Folio
Folio copied to clipboard
Deleting notebooks is not possible and the attempt creates a "~" folder in the home directory
Starting from a clean install:
- Create a new notebook
- Right click on it and try to "Move all to trash" -> Delete Notebook
- it was not successful and the output is
(com.toolstack.Folio:2): GLib-GIO-CRITICAL **: 21:32:40.557: GFileInfo created without standard::display-name
(com.toolstack.Folio:2): GLib-GIO-CRITICAL **: 21:32:40.557: file ../gio/gfileinfo.c: line 1721 (g_file_info_get_display_name): should not be reached
** (com.toolstack.Folio:2): CRITICAL **: 21:32:40.557: string_to_string: assertion 'self != NULL' failed
- Notice how you now have an additional ~ folder inside your home directory, so basically ~ nested inside ~.
The deleted notebook appears in
~/~/.var/app/com.toolstack.Folio/data/.trash/TestNB
instead of
~/.var/app/com.toolstack.Folio/data/.trash/TestNB, so I assume that's where things go wrong.
Installed version is 24.10 from Flathub
Btw this bug was introduced with the version:
Commit: ada8f37b73021ae00e8e5c596daffb9594f61f7354beab4b0adfd6f420359634
Subject: Release 24.07. (ae65b7b8)
Date: 2024-03-18 18:31:30 +0000
With the previous version
Commit: 46eb753843ef50f9ebb4f52527bc01329a26de4bc83c32f7e485fa65388b6468
Subject: Update for 24.06 release. (450e0022)
Date: 2024-03-12 22:35:45 +0000
everything is still working as expected.
Can confirm, will investigate and resolve.
Hello, seems like this behaviour is still/again present on Folio 24.11 from Flathub.
The steps to reproduce are still the same:
Right click on notebook - Move all to trash - Delete Notebook
"Could not delete Notebook" toast appears
/home/username/~/.var/app/com.toolstack.Folio/data/.trash is created
so again nested "~"
Console output is only
** (process:74612): WARNING **: 02:07:49.799: Error writing credentials to socket: Error sending message: Broken pipe
(com.toolstack.Folio:2): Gtk-WARNING **: 02:07:57.466: GtkBox 0x630171b50ef0 (box) reported min width -3, but sizes must be >= 0
Will double check and see what's going on.
@heldderarbeit I've looked into this and I don't think it is the same issue, can you check to see if a directory in your trash already exists for the notebook you're trying to delete?
If so, remove it and try deleting the notebook again.
in your trash
With 'trash' you mean this screen?
I don't think it can already exist there since I'm not able to move notebooks into the trash.
Edit: You don't need to delete a notebook to trigger the creation of the ~/~ folder. Just clicking on the trash icon is enough to create the ~/~ folder, you don't need to create a notebook to trigger this bug
- remove all Folio traces (
~/.var/app/com.toolstack.Folioand~/~) and start the app from a clean slate - click on the trash icon
- notice how the folder
~/~is created
Ok, it looks like this is fixed in the development branch, so next release should resolve it.
I'll leave this open for the time being until after the next release to verify it works for you.
Closing as 24.12 is released and (cross fingers) resolves this issue.
So sorry to say I can still trigger it in the latest version Folio 24.12.
I'll take another look, I was able to recreate the creation of the ~ directory in home, but not the delete failure.