Skip to content

[Bug]: Settings Sync messes the theme at start #377

Description

@tomaswarynyca

Describe the bug

The editor looks like InteliJ's Dark theme! (intellij idea 2023.2)
Activated theme: Darker Material
image

To Reproduce

When I start the IDE it appears like this!
Note: activating or deactivating a style sheets plugin fixes it for as long as the IDE is open.

Expected behavior

image

Material Theme Version

v8.9.1

IDE

IntelliJ IDEA

System Info

No response

Logs/Screenshots

No response

Activity

  1. mallowigi commented on Jul 29, 2023

    @mallowigi
    Collaborator

    Sorry, I don't understand the issue or the steps here... can you provide a video showing what happens ?

  2. tomaswarynyca commented on Jul 29, 2023

    @tomaswarynyca
    Author

    The editor part has a colour at startup :/
    After deactivating or activating a plugin from the category style sheets it is fixed
    I have had this problem since upgrading to IDEA 2023.2
    Screencast from 2023-07-29 09-58-37.webm

  3. tomaswarynyca commented on Jul 31, 2023

    @tomaswarynyca
    Author

    Hi @mallowigi, were you able to understand the problem?
    It seems very strange to me 😬

  4. mallowigi commented on Aug 5, 2023

    @mallowigi
    Collaborator

    Might be related to the Settings Sync. Do you have it enabled?

  5. tomaswarynyca commented on Aug 5, 2023

    @tomaswarynyca
    Author

    You mean the plugin? No
    image

  6. mallowigi commented on Aug 5, 2023

    @mallowigi
    Collaborator

    Can you send me more information about your setup? OS, IDE, plugins...

  7. added
    bugSomething isn't working
    and removed
    bugSomething isn't working
    on Aug 5, 2023
  8. ddubrava commented on Aug 5, 2023

    @ddubrava

    Hi! I'm experiencing the same problem on Windows, while everything works fine on MacOS. The project explorer changes, but the color scheme remains the default one.

    image
    image
    image

    It seems that the problem is specific to Material Darker, as Material Oceanic looks okay.

    image

    By the way, on my Mac, I have a version 8.9.1, while on Windows, it's a version 8.6.4, which is the latest available one

    WebStorm 2023.1.4
    Build #WS-231.9225.18, built on July 13, 2023
    Licensed to Daniil Dubrava
    You have a perpetual fallback license for this version.
    Subscription is active until May 4, 2024.
    Runtime version: 17.0.7+10-b829.16 amd64
    VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
    Windows 10.0
    GC: G1 Young Generation, G1 Old Generation
    Memory: 2048M
    Cores: 12
    Registry:
        editor.focus.mode.color.light=474747
        ide.editor.tab.selection.animation=true
        ide.animate.toolwindows=true
        ide.new.editor.tabs.vertical.borders=true
        ide.experimental.ui=true
        ide.balloon.shadow.size=0
        editor.focus.mode.color.dark=474747
    
    Non-Bundled Plugins:
        String Manipulation (9.10.0)
        ru.adelf.idea.dotenv (2023.1)
        com.mallowigi (90.0.0)
        mobi.hsz.idea.gitignore (4.5.1)
        com.chrisrm.idea.MaterialThemeUI (8.6.4)
    
  9. ddubrava commented on Aug 5, 2023

    @ddubrava

    you are right; it happens due to settings sync. If I import settings (File - Manage IDE Settings - Import Settings), everything works fine (sync is disabled by default when you import settings). However, once I enable the sync, everything breaks again

    p.s. on my mac sync is enabled

  10. changed the title [-][Bug]: theme has no effect on editor[/-] [+][Bug]: Settings Sync messes the theme at start[/+] on Aug 10, 2023
  11. mallowigi commented on Aug 10, 2023

    @mallowigi
    Collaborator

    I started using the sync settings and it happens to me as well. I'll investigate this.

  12. mallowigi commented on Aug 19, 2023

    @mallowigi
    Collaborator

    It's actually very annoying. JetBrains started adding a combination of <theme,colorScheme> with sometimes weird values. I've started a settings sync from scratch and I can see some combinations like "Deep Ocean,Darcula"...

  13. mallowigi commented on Aug 19, 2023

    @mallowigi
    Collaborator

    In that case, here's how to fix it:

    When you have a misconfiguration between the Theme and the Color Scheme:

    • Open Settings
    • Go to Editor > Color Scheme
    • Check that you are on the right color scheme (ex: if Moonlight, check that you are on Moonlight color scheme)
    • If not, select Moonlight and click OK

    But sometimes, there are also cases when a color scheme is duplicated on the user machine (it usually happens if you select a scheme bundled from the plugin, for example Night Owl, but don't have the plugin installed on the other machine. The settings sync will then download Night Owl but use Darcula colors). In that case, since it has the same name as the bundled color scheme, the IDE will pick that color scheme instead.

    In that case, in the color schemes screen, check for superfluous color schemes, then press on the settings menu and select "Delete" for all that are involved.

  14. added
    bugSomething isn't working
    help wantedExtra attention is needed
    syncRelated to Sync Settings
    and removed
    bugSomething isn't working
    on Aug 19, 2023
  15. mallowigi commented on Aug 19, 2023

    @mallowigi
    Collaborator
  16. mallowigi commented on Aug 19, 2023

    @mallowigi
    Collaborator

    IDEA-330252 Settings Sync is messing up the Material Theme plugin follow up

  17. pinned this issue on Sep 3, 2023
  18. locked and limited conversation to collaborators on May 11, 2024
  19. converted this issue into a discussion #512 on May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededsyncRelated to Sync Settings

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions