-
Notifications
You must be signed in to change notification settings - Fork 468
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
CT Hangs on click select of previously pasted image #2328
Comments
I can add one more thing, here is output when I run cherrytree from a terminal window. (cherrytree:19816): Gtk-ERROR **: 08:07:16.539: Byte index 0 is off the end of the line That looks interesting. |
Now, I don't think this has anything to do with screen capture or paste from clipboard. Even a file image I inserted using insert image caused the problem. The image inserts properly, and as long as I don't click (select) the image everything works. Here I used an older version AppImage run from a terminal, and I get the same lockup issue and you can see where I exit using ^C . I see some messages that I don't understand that might be relevant. rich@x:~/Desktop$ ./CherryTree-0.99.55-x86-64.AppImage (AppRun.wrapped:34994): Gtk-ERROR **: 08:45:23.483: Byte index 0 is off the end of the line |
There is a Cherrytree bug, but under a specific Ubuntu Desktop. Ubuntu 23.04 offers 5 desktop environment choices, CNOME Flashback(Metacity), LXQT Desktop, Plasma (X11), Ubuntu, Ubuntu on Xorg. I was using Ubuntu on Xorg and Cherrytree has this problem with Ubuntu on Xorg Desktop. The standard is the 'Ubuntu' choice, and this Cherrytree issue works with that choice. The reason I had changed from the detault Ubuntu desktop is that my 'rednotebook' app will not run under that DE. I'll have to troubleshoot that. Now when I run cherrytree it does work properly with images, but I get this on the terminal. Included if interesting. Some of that doesn't look quite right but I'll ignore it. $ cherrytree |
Hi @richwein3 thanks for reporting this I'll have a go with Ubuntu 23.04, I guess it's not too difficult to switch between Xorg/Wayland |
In the meantime if you would feel brave to build from source and paste here the crash backtrace that may be very helpful: https://github.com/giuspen/cherrytree#to-generate-a-backtrace-for-a-crash-bug-report |
It turned out that this bug is related to a specific desktop environment. So, it is avoidable. |
I did reproduce the warning today after a right click on the image with Wayland running, apparently not happy about the right click menu architecture somewhere, I will have a look in the evening or tomorrow |
I should have fixed this, will be in upcoming 1.0.1 |
I just wanted to mention that 1.0.1 did not fix this issue. I have a work around of choosing wayland at login. Funny thing is that I have another app I use that doesn't work on Wayland. I have also tried the Appimage and it shows the same problem. It is possible that this relates to something about my 23.04 Ubuntu installation but if had something to do with a bad lib then I would expect the appimage to resolve it. One thing about 23.04 is that when doing any python development you must use virtual environment since Ubuntu has gotten picky about using the OS python programs and libraries. Again, any click of an existing image in CT freezes the app and once in a while the entire OS when using XORG desktop, but it all works fine under wayland. Here some console output when I ran the AppImage from terminal. Couple of interesting lines on startup, but I don't know what it means. Then I did not click an image, but I clicked a link which went to firefox. `ch@x:~/Desktop$ ./CherryTree-1.0.1-x86_64.AppImage (firefox:18788): Gtk-WARNING **: 08:24:02.262: Theme parsing error: gtk.css:2:21: Failed to import: Error opening file /home/rich/snap/firefox/3068/.config/gtk-3.0/colors.css: No such file or directory (firefox:18788): Gtk-WARNING **: 08:24:02.286: GTK+ module /snap/firefox/3068/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded. (firefox:18788): Gtk-WARNING **: 08:24:02.288: GTK+ module /snap/firefox/3068/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded. ` |
Solved several error messages that do not relate to the problem, I had some old OS libs that CT was using. Some cleanup progress made, but still locks up on image select. `rich@x:~/Desktop$ ./CherryTree101.AppImage ` |
Ubuntu 23.04
CT Version 1.0.0.5
I see the same problem as described in an old bug report.
#1555
Using the screen capture (called Screenshot in Ubuntu ) and using a window select mode, I paste the image into cherry tree. It appears to past OK, and I think I can even insert lines above it or below it, bu CT seems to hang when I then select that pasted image which hangs, and the only option that works is Force Quit.
The old report was apparently resolved by installing again or a different version. I can try that. Does anyone know anything more about this ?
The text was updated successfully, but these errors were encountered: