Status of the development

Home Forums cherrytree Status of the development

This topic contains 9 replies, has 6 voices, and was last updated by  giuspen 2 weeks, 1 day ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
  • #124297


    Dear cherrytree users, this is to update you on what I’m working on and what are the plans for the near future.
    The library that cherrytree is currently using, pygtk (python2 and gtk2 static bindings) is old, unsupported and causing more and more problems as new versions of linux and windows operative systems are released.
    For this reason, after releasing 0.38.0, I put all my efforts to the porting to python3 and gtk3, also known as pygobject or pygi (see
    The development is happening on the git branch named ‘pygi’.
    At the moment I’m stuck on a blocking issue that is the lack of availability via python of a key function for cherrytree, gtk_clipboard_set_with_data (), (
    I tried to use a binding package from sugarlabs SugarExt.clipboard_set_with_data() but that doesn’t seem to work, or at least I failed to have it working in ubuntu 16.04 LTS and package gir1.2-sugarext-1.0.
    I actually got stuck on the same issue in 2011 (see when for the first time I attempted the porting, and after 6 years still I don’t see a solution.
    Basically without this function available, the copy/paste of rich text doesn’t work and only the plain text is available, all the formatting is lost.
    Any help from developers in the pygi branch would be highly appreciated.



    Were you to learn enough C, is information and functionality within Python3 available that would allow you to code your own “gtk_clipboard_set_with_data ()”?

    Is it possible?

    If so, I’d imagine that similar issues in future releases of GTK would be more easily met.

    I also imagine that such an effort would require learning a debugging platform for use in tracing 0.38.0’s execution.

    Elsewhere, I’ve said it before, and I’ll say it again… Thank you for cherrytree.

    • This reply was modified 1 month, 2 weeks ago by  AlanWalker.


    Have you ever considered to move from GTK to Qt ?

    PyQT is a popular Python binding for QT. QT seems more stable, have more features and has a lot better cross-platform support.

    The developers of my favorite Linux distribution(Solus OS) are moving Budgie(the desktop environment) from GTK to QT, because of the issue with GTK.

    I read that some time ago even Linus moved his app from GTK to QT and also other important applications.

    I found copy/paste operations in QT: and the python binding:

    I never used GTK and also I didn’t do any serious app with QT, my opinion is based only on others experiences and news.

    • This reply was modified 1 month, 1 week ago by  paul.
    • This reply was modified 1 month, 1 week ago by  paul.
    • This reply was modified 1 month, 1 week ago by  paul.


    In the last days I’ve indeed been thinking about a migration to PyQt5. I actually know QT since I already worked for years in QT4 via both C++ and Python and I know how good it is.

    I exclude taking care personally of the missing bindings between gtk3 and python because that widens too much the effort, keeping cherrytree up is at the moment all I can take care of in my free time.

    I considered porting to gtkmm3 (so just python to C++) since I already developed in gtkmm3 but then I decided that because of the limited free time I must stick with python or I won’t be able to keep up

    I will update on the forum about the status of the porting…



    in the meanwhile here is the bug I raised:



    Good luck I believ3e in you. IO have spent hujndreds of hours developing a notebook for my students based on your program, and appreciate everything. here is what I am working on…. thanks for everything….



    On 29 May 2017 at 06:06 ClarkeCC asked if you had a github listing for this project.

    This is just a suggestion. If you move the project to to github there is a good chance you will get a lot more input and help from many experienced programmers, thus accelerating the development of Cherry Tree.



    The project is in github as you can read in



    Very good project !
    The only black point for me is that I can’t export to odf file like the pdf export.
    Do you think if it’s will be possible for a next release ?



    The next major release will have no new feature (may even have something less) and will just run with different libraries, I’m still experimenting before starting the porting

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.