Re: Editor blank after screen saver (DirectWrite)

Neil <[email protected]> Wed, 1 Oct 2025 13:56:56 -0700 (PDT)
Newsgroups gmane.comp.lib.scintilla.devel
Message-ID <[email protected]>
It's unclear what is happening. Perhaps Windows is trying to just reshow 
the buffer and its clear or invalid (incompatible with new screen 
configuration).

Some tracing may help. Is Scintilla receiving a WM_PAINT? Is that paint 
failing in a way that can be detected like EndDraw 
returning D2DERR_RECREATE_TARGET?

It may be possible to produce a work-around like posting a message to 
perform a redraw after screen saver has ended. Couldn't find a screen saver 
ended event but there is WM_SYSCOMMAND with SC_SCREENSAVE for start of 
screen saver.

Neil

-- 
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/scintilla-interest/b446ac63-24af-47cb-a346-1ab5a4024307n%40googlegroups.com.