Skip to content
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

Text Flickering #234

Closed
rizonesoft opened this issue Dec 15, 2017 · 3 comments
Closed

Text Flickering #234

rizonesoft opened this issue Dec 15, 2017 · 3 comments
Labels

Comments

@rizonesoft
Copy link
Owner

Comment on Rizonesoft.com. I reproduced this behavior.

Been using Notepad2-mod for many years, no prob. Decided to try Notepad3 this September (or August). Very similar to Notepad2, all was working great. Til I decided to update it a few days ago. While i’m not 100% sure this wasn’t happening with the older, “September” version, too, but now i started to notice flashing lines. Will try to explain: take a wall of text without spaces so you can see it more clearly, and then just look at the window: you will see random lines flashing (and the bottom bar, i.e. Ln, Col, size, etc…), every 2-3 seconds or so. It much much worse when you try to select part of that text – all lines will flash like crazy (and bottom bar too)!! Back to Notepad2-mod, where only bottom toolbar will, sometimes, flash. Default config in both cases by the way. Hope you can solve it soon 🙂 Keep it up.

https://youtu.be/XGhDXz9ujIY

@craigo-
Copy link

craigo- commented Dec 15, 2017

I can confirm that the flickering is reproducible in beta build 747, and not in beta build 748. I was observing them side by side, with out-of-the-box configuration (except for word wrap turned on in both). I only observed the flickering in beta build 747 when it was the active, selected window. When not selected, it did not flicker. As the original poster says, it is more noticeable when the text is selected, but it is still visible when text is not selected.

@RaiKoHoff
Copy link
Collaborator

RaiKoHoff commented Dec 15, 2017

There has been a Scintilla option (SCI_SETBUFFEREDDRAW) with a recommendation:

Current platforms perform window buffering so it is almost always better for this option to be turned off.

So i switched it off some versions ago, But it seems, that this causes the flickering issue reported above.
So i switched it on again for build 747. I think we can live with the very small performance lost...

@rizonesoft
Copy link
Owner Author

Fix confirmed 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants