Is there an existing issue for this?
Description of the Issue
Hi everyone.
Sometimes I use Notepad++ to write a lot of text in a kind of distraction-free mode (F11 full-screen, dark mode, etc.) and I have noticed during this that the status bar flickers quite often.
Because this ruins the nice experience a bit, I want to propose fixing this by implementing double buffering.
Steps To Reproduce
- Open Notepad++
- Start writing some long text, or even just hold down a random character key
Current Behavior
The status bar (length : 51 lines : 1 | Ln : 1 Col : 52 Pos : 52 | ... ) is redrawn after each keystroke.
This is done in two steps, as typical for Win32 controls - first erase the background and then write the new text over it.
Sometimes these two steps happen separately and become visible to the user as flickering of the text.
Expected Behavior
Updates of the status bar are flicker-free. User experience is smooth, fluent and without distractions.
Debug Information
Tested also on the latest commit of "master" from today.
Happens for both normal mode (standard control) and dark mode (custom drawn).
Anything else?
Proposed fix in a fork: yirkha@8ecc669 Edit: obsolete
Thank you for your consideration
Is there an existing issue for this?
Description of the Issue
Hi everyone.
Sometimes I use Notepad++ to write a lot of text in a kind of distraction-free mode (F11 full-screen, dark mode, etc.) and I have noticed during this that the status bar flickers quite often.
Because this ruins the nice experience a bit, I want to propose fixing this by implementing double buffering.
Steps To Reproduce
Current Behavior
The status bar (
length : 51 lines : 1 | Ln : 1 Col : 52 Pos : 52 | ...) is redrawn after each keystroke.This is done in two steps, as typical for Win32 controls - first erase the background and then write the new text over it.
Sometimes these two steps happen separately and become visible to the user as flickering of the text.
Expected Behavior
Updates of the status bar are flicker-free. User experience is smooth, fluent and without distractions.
Debug Information
Tested also on the latest commit of "master" from today.
Happens for both normal mode (standard control) and dark mode (custom drawn).
Anything else?
Proposed fix in a fork: yirkha@8ecc669Edit: obsoleteThank you for your consideration