caprine icon indicating copy to clipboard operation
caprine copied to clipboard

Window Flashes White on Launch Before Theme is Loaded

Open elsiehupp opened this issue 3 years ago • 0 comments

Version Info

  • Caprine Version 2.54.1 (2.54.1)
  • macOS Big Sur 11.5.2 (20G95)

Expected Behavior

When launching the application, the window will use the specified background color immediately when it appears.

Actual Behavior

When launching the application, the window is blank white (except for the macOS "traffic light" buttons) for a second or so before switching to the specified background color. The behavior is particularly noticeable in Dark Mode but may still be noticeable with other themes.

Commentary

The application window flashing white while the application is starting up is a known issue with Electron. There are two relatively straightforward fixes, though if you want to show some sort of splash screen instead (or while the main interface is loading), that would obviously take more doing.

elsiehupp avatar Sep 07 '21 03:09 elsiehupp

Should be fixed in the latest release.

lefterisgar avatar Aug 24 '22 13:08 lefterisgar