The scrollbar keeps flickering when typing

Post Reply
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: 3095
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: 88
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: 3095
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: 88
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: 3095
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: 3095
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
Post Reply