sublime_text icon indicating copy to clipboard operation
sublime_text copied to clipboard

Build error colours don't changeover on Colour Scheme Auto setting

Open frithrah opened this issue 3 years ago • 0 comments

Description of the bug

The colours of build error phantoms don't changeover correctly when using the Colour Scheme Auto setting.

This problem is present in both Windows and Linux versions of Sublime.

phantom_colours_mismatch_dark phantom_colours_mismatch_light

Steps to reproduce

  1. Safe mode
  2. UI: Select Color Scheme
  3. Select Auto - Light: Breakers - Dark: Mariana
  4. Enter some garbage in the empty editor window
  5. Save the garbage as test.c
  6. Build: C Single File
  7. The build error message phantom shows in the correct colours
  8. Hit the X button on the phantom text to close the message - important there are no phantoms open before changeover
  9. Toggle the OS theme light/dark mode
  10. Sublime will change colour schemes correctly
  11. Build: C Single File again
  12. The phantom will incorrectly show with the previous colour scheme

Expected behavior

Build error messages change colour when the colour scheme automatically changes.

Actual behavior

Build error messages open with the previous colours if the scheme is changed over automatically.

If you flip the OS dark mode when the phantom is displayed then the colours will update correctly. It's only when there are no phantoms displayed when the OS colours change that it gets stuck in the old scheme.

Sublime Text build number

4134

Operating system & version

openSUSE Tumbleweed AND Windows 10

(Linux) Desktop environment and/or window manager

Xfce

Additional information

No response

OpenGL context information

No response

frithrah avatar Aug 24 '22 16:08 frithrah