sumatrapdfreader / sumatrapdf

SumatraPDF reader
http://www.sumatrapdfreader.org
GNU General Public License v3.0
13.42k stars 1.71k forks source link

Bright flash when switching pages with inverted colors #4427

Closed pulbitz closed 1 month ago

pulbitz commented 1 month ago

SumatraPDF version

Describe the bug My guess is that since the commit below, the flickering on page navigation has gotten worse, please check it out.

reafactor RenderCacheThread https://github.com/sumatrapdfreader/sumatrapdf/commit/464fa23cd50da8623b4a171f640986a82bb1bc1b

To Reproduce Steps to reproduce the behavior:

  1. I (invert colors in the document)
  2. Ctrl+0 (Fit Page)
  3. Left Arrow or Right Arrow (Next / Previous Page)
kjk commented 1 month ago

Hopefully this will fix it. If not, please provide a test document. I assume flashing will be more likely in documents that are slow to render.