Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ST4] Syntax specific color schemes not applied correctly on startup #4000

Closed
themilkman opened this issue Mar 9, 2021 · 2 comments
Closed

Comments

@themilkman
Copy link

Description

Syntax specific color schemes not applied correctly on startup. At least not on the first (here ruby) file, I open - independent if it is the initially focused tab or another. It uses the default CS after ST startup.

After closing and reopening the file tab it has the correct/configured scheme. After that it does not happen again until ST is restarted.
Also other files seem to have the correct CS applied.

Also, sometimes it initially has the correct, than flickers and switches to the default CS.

Steps to reproduce

  1. Create a syntax specific ColorScheme setting in the User dir

Ruby.sublime-settings

{
  "extensions":
  [
    "axlsx"
  ],
  "color_scheme": "Packages/User/Toxinated.sublime-color-scheme"
}

  1. open some tabs with the corresponding CS (here: ruby)
  2. close ST and restart ST
  3. the CS is not applied on the initial file OR only for half a second until it switches to the default

Update to step 3: I just noticed that it also happens on project switch - at least if no other instance is already running

Expected behavior

Color Scheme is applied immediately.

Actual behavior

The default CS is applied to the file.

Environment

Build: 4098
Operating system and version: Kubuntu 20.10
[Linux] Desktop Environment and/or Window Manager: KDE

Some Console details:
UI scale: 1.2
OpenGL Context Information:
GL API Version: 4.6 (Core Profile) Mesa 20.2.6
GLSL Version: 4.60
Vendor: Intel
Renderer: Mesa Intel(R) UHD Graphics 620 (KBL GT2)

@BenjaminSchaaf BenjaminSchaaf self-assigned this Mar 10, 2021
@BenjaminSchaaf
Copy link
Member

I'm unable to reproduce this. Does it still happen with all plugins disabled?

@BenjaminSchaaf BenjaminSchaaf removed their assignment Mar 10, 2021
@themilkman
Copy link
Author

Gnarf, the RainbowBrackets package seems to be the culprit. Sorry for wasting your time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants