treemacs
treemacs copied to clipboard
PGTK build of Emacs 29 has issues with mouse hover
emacs-version:
GNU Emacs 29.0.60 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.35, cairo version 1.17.6) of 2023-02-08
treemacs-version:
[Treemacs] v3.0 (installed 2023.02.08) @ Emacs 29.0.60
For some reason, when using a PGTK build of Emacs 29, (only) the treemacs buffer updates the UI on mouse hover at like 5fps while Ivy, doom-modeline etc. update fine. I'll upload a video if I figure out the whole wayland and screen recording thing
I'm having the same issue as well on Wayland. The mouse hover is not responsive at all, and it also happens for Emacs dashboard.
Can confirm. Both dashboard and treemacs have slow hover on Wayland and a PGTK build of emacs. For some reason, the projects in treemacs do get highlighted instantly, but the folders and files do not.
Gotta be honest: I've no idea what to do here. Even if I could reproduce the problem (I don't even use wayland) I doubt I could find out what's causing it or how to find a fix. Treemacs doesn't do anything special - everything you see is just a bunch of text with a lot of text properties to tie thing together. That's also probably what treemacs has in common with the dashboard package. That or using images.
So you can try and see if buffers with many text properties have the same problem - a full org agenda should do the trick. For images just do (dotimes (_ 100) (insert (treemacs-get-icon-value "el") "\n")).
Of course both text properties and images are an integral parts of treemacs, so even if you identify either one as the cause of your symptoms my hands are still tied and it is up to the pgtk devs to bring their version of Emacs in line with vanilla.
If you can report this upstream, and maybe get someone from the pgtk to show up here, then I'll happily explain what's happening under the hood of treemacs and try out possible fixes, but the way things are now I can't do more than throw around wild guesses.
I had run M-x treemacs-create-workspace and happened same problem, and also I find no the now workspace not been created.
BTW, I use gentoo and doomemacs, the problem only show in PGTK.
Here is my emacs's ebuild use: -X dynamic-loading gif gmp gsettings gtk harfbuzz imagemagick inotify jpeg json lcms libxml2 m17n-lib png sound sqlite ssl svg threads tiff toolkit-scroll-bars tree-sitter valgrind webp xft xpm xwidgets zlib
If you need more info, pls ask me.
I find my bug is a exist bug.
This issue has been automatically marked as stale because it has not had recent activity.
Replying to poke stalebot. Still an issue, why close it?
The bot doesn't close issues, it only functions as a reminder.
This issue has been automatically marked as stale because it has not had recent activity (this bot only works as a reminder, it will not close issues).
This issue has been automatically marked as stale because it has not had recent activity (this bot only works as a reminder, it will not close issues).