Page 1 of 1

Cherrytree app does not spawn fil open nor save dialog boxes

Posted: Sat Dec 28, 2024 8:50 pm
by Sprinterdriver
Hi.

I have this issue with Cherrytree version 1.2.0, both flatpak and appimage version behaves the same.

After I open the program, any attempt to save the file of open a file, result in nothing. That is, the file save/open dialog never shows.
The issue (issue 2462) is already repported,to the maintainer of Cherrytree, but I don't expect the author to priority this one because it's only one man and very few people affected (probably just me at this time).

I did searched on the net for a possible solution that does not involve the author of Cherrytree - but any search results are either Libre Office -only related, or for Arc based distros.

So the question comes down to this - are there any workaround for Debian/MX/KDE that can resolve this kind of issue - eg. force program to use another set of open/save boxes ?


Edit - tested but not working
$ env GTK_USE_PORTAL=1 ./CherryTree-1.2.0-x86_64.AppImage
$ env GTK_USE_PORTAL=0 ./CherryTree-1.2.0-x86_64.AppImage

Re: Cherrytree app does not spawn fil open nor save dialog boxes

Posted: Sat Dec 28, 2024 10:56 pm
by Stevo
Are you saying this also occurs with Cherrytree 1.2.0 in the MX test repository?

Re: Cherrytree app does not spawn fil open nor save dialog boxes

Posted: Sat Dec 28, 2024 11:38 pm
by davidy
I use the am appimage and it works fine for me. I saved an rtf with attachments as a test. Cool ap too.

Re: Cherrytree app does not spawn fil open nor save dialog boxes  [Solved]

Posted: Sun Dec 29, 2024 5:18 pm
by Sprinterdriver
Hi.

I did resolve the issue. This is how:
Locate/open ~/.profile
Add string GTK_USE_PORTAL=1

And I also did this steps, not sure if necessary in order to solve the issue
Install packages xdg-desktop-portal and xdg-desktop-portal-kde (afaik. wasn't pre-installed)

Then reboot.

Stevo wrote: Sat Dec 28, 2024 10:56 pm Are you saying this also occurs with Cherrytree 1.2.0 in the MX test repository?
Have not tested that.