win32ss / supermium

Chromium fork for Windows XP/2003 and up
https://win32subsystem.live/supermium/
BSD 3-Clause "New" or "Revised" License
2.47k stars 85 forks source link

[UI, Visual] ScrollBar may not render on fast tab switching #893

Open XakerTwo opened 2 months ago

XakerTwo commented 2 months ago

Description

First of all - veeeery minor bug When switching between tabs too fast(e.g. with keyboard or by closing accidentally opened tab), scroll bar of page switched to, has chance to be not rendered and become white rect. Scrollbar re-renders on any page visual update (e.g. on scrollbar hovering). Especially notable in dark mode

To Reproduce

  1. Open any page tall(wide?) enough to have scroll bar
  2. Release all focusable elements and move cursor outside page
  3. Switch from this tab and then back to, fast enough (e.g. with Ctrl+PageUp/PageDown)
  4. If you get right timing you will see this issue
  5. Hover/focus/somehow force any visual change and scrollbar appear
Screenshots ![image](https://github.com/user-attachments/assets/abf160a4-ad3a-4a22-9b38-5d23eea734cd)

Desktop:

Additional context

On github page only the page scroll affected, not one of the textarea.