-
Notifications
You must be signed in to change notification settings - Fork 270
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
TODO tasks need the autorefresh button when opening a file to be visible 1.38 kubuntu 22.04, plasma 5.24 #1254
Comments
Confirmed with current git, tasks not shown on open, refresh or switching tabs needed to show them. |
I debugged this and the plugin works. But for some reason, when the plugin checks the newly opened file for comments and to look for keywords, there is no styling set yet in the Scintilla object. And since there is no styling set, the plugin finds no comments at all (https://github.com/geany/geany-plugins/blob/master/addons/src/ao_tasks.c#L581) and skips the line. This has been working in the past. I wonder if there was a change in Scintilla so that configured styles are applied asynchronously (in a separate thread or so) and so the plugin searches for styles before they have been applied. This particular case can be fixed by a |
No, Geany does that, AFAICT thats been the way its done forever (at least back to 2017 which was as far as I traced it). So in theory it never worked, maybe GTK has changed its scheduling of draws at some point and we didn't notice that this stopped working. Looking at when |
Scintilla doesn't start using threaded layout until 5.2.x AFAICT, but Geany git is 5.1.5. Be prepared for chaos when #3441 is merged 👿 [Edit: oops thats only Lexilla, probably safe(ish)] |
Hi,
When opening a file which has tasks, they won't show unless you click the refresh button, I'm not sure if it is default and why?
(1.38 kubuntu 22.04, plasma 5.24)
Kind regards,
The text was updated successfully, but these errors were encountered: