The scrollbar keeps flickering when typing

Solved bugs are moved into this topic...
katwalk
Posts: 37
Joined: 24.05.2025 02:08

The scrollbar keeps flickering when typing

Post by katwalk »

The scrollbar on the right keeps flickering whenever I'm typing Chinese with an IME. This isn't a new issue; it's been happening for a long time, and I used to ignore it. However, the constant flickering in my peripheral vision can be distracting when I'm trying to focus, so I figured it was finally time to report it. Fixing this would definitely improve the user experience. Hope you can look into it.

Screen recording: https://fs.to/8ywQ
main Alexey
Posts: 3198
Joined: 25.08.2021 18:15

Re: The scrollbar keeps flickering when typing

Post by main Alexey »

Small discussion about this bug in the github https://github.com/Alexey-T/CudaText/issues/6267 , but we cannot find the reason yet, bug happens randomly.
hycmos
Posts: 91
Joined: 06.11.2019 02:17

Re: The scrollbar keeps flickering when typing

Post by hycmos »

There is a function:
Auto-show auto-completion after typing N word-chars (0: disabled).
Option is (mostly) for lexer-specific configs.

This function will also lead the scrollbar to flicker.
Is it because of the small pop-up window?
main Alexey
Posts: 3198
Joined: 25.08.2021 18:15

Re: The scrollbar keeps flickering when typing

Post by main Alexey »

I don't see this problem on Linux-gtk2 version, and I will return to Windows pc only later, in n months.
on this linux version, I have LSP with 'pylsp' server configured, I type chars (or I setup for python: "autocomplete_autoshow_chars": 2 , and then i type chars). and I don't see the flickering of the custom-painted scrollbar.
hycmos
Posts: 91
Joined: 06.11.2019 02:17

Re: The scrollbar keeps flickering when typing

Post by hycmos »

I captured a GIF picture.
When I type word "click" between script and script, the scrollbar will flicker.
Please refer to the attached gif file.
cudatext_flicker.gif
main Alexey
Posts: 3198
Joined: 25.08.2021 18:15

Re: The scrollbar keeps flickering when typing

Post by main Alexey »

yes, I got some other person's windows 10 pc, and tested, i can see this flicker when in HTML file autocompletion is called for e.g.
<im

maybe it will help to to find the reason.
main Alexey
Posts: 3198
Joined: 25.08.2021 18:15

Re: The scrollbar keeps flickering when typing

Post by main Alexey »

I need windows 10 pc with the installed IDE on it, then I will dig the problem better. currently other person's pc don't have IDE installed.

Made the github topic for future:
https://github.com/Alexey-T/CudaText/issues/6308
main Alexey
Posts: 3198
Joined: 25.08.2021 18:15

Re: The scrollbar keeps flickering when typing

Post by main Alexey »

together with @badrelmers (with his AI) help, we fixed this flickering. will be in the 1.236 release.
main Alexey
Posts: 3198
Joined: 25.08.2021 18:15

Re: The scrollbar keeps flickering when typing

Post by main Alexey »

in the nearest days, win64 beta with the fix will be here:
https://github.com/Alexey-T/CudaText/is ... 5209474735

confirm that its fixed, pls.
hycmos
Posts: 91
Joined: 06.11.2019 02:17

Re: The scrollbar keeps flickering when typing

Post by hycmos »

I download the 1.236.0.zip file.
Result: It might happen very occasionally
1) unzip
2) copy old "Python.acp" into the same place:\data\autocomplete
3) run cudatext.exe
4) create a new empty file "test.py", configure the "autocomplete_autoshow_chars"=2
5) input the word "return" into the test.py at the first line. when typing "re" the popup box appear.
6) every line, one word:"return". Some lines maybe empty lines.
7) By 5)6), Flickering might happen very occasionally
Post Reply