Skip to content

Auto Color Scheme Switching not Working on Ubuntu 21.10 #5194

@cem-okulmus

Description

@cem-okulmus

Description of the bug

The "auto" setting in colour scheme allows users to define two separate colour schemes, one for light mode and one for dark mode, and have Sublime switch to them if dark mode is turned on or off.
This used to work and I believe the most recent update broke this (though this regression might be from an even earlier update and I just didn't notice or update until now).

Steps to reproduce

  1. First step Open Sublime Text 4, Build 4126 on Ubuntu 21.10.
  2. Set up the auto colour scheme, choosing two separate schemes for light and dark mode
  3. switch between dark and light mode in the settings (shown below)

Expected behavior

You'd expect Sublime to switch to the chosen theme for light or respectively dark mode.

Actual behavior

The colour scheme stays the same, though the title bar does change (as that's provided by the shell, I'd assume).

Here is recording of the behaviour:
Peek 2022-01-15 16-36

Sublime Text build number

4126

Operating system & version

Ubuntu 21.10

(Linux) Desktop environment and/or window manager

Gnome 40.4.0

Additional information

No response

OpenGL context information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions