Skip to content

Title bar style preference unnecessarily written to settings.json #16418

@colin-grant-work

Description

@colin-grant-work

Bug Description:

Follow-up on #16236. When filing that issue, I wasn't sure how the window.titleBarStyle setting had gotten into my settings.json file: I'd had the machine for quite a while, so it was possible I'd written it there myself some time ago and forgotten it. However, I've just set up a completely new machine and then found that the preference has been written into my settings.json file with the default value without my having done anything, and without it in fact being meaningful on my platform.

Steps to Reproduce:

  1. (On MacOS)
  2. Remove your user-scoped settings.json file, or just remove any setting for window.titleBarStyle from the file.
  3. Start Theia (dev) Electron.
  4. Observe that a new setting.json file appears (or the setting reappears in your current file) and is populated with "window.titleBarStyle": "native" even though that setting is not relevant on MacOS, and that is the default value for Electron in any case.

Additional Information

  • Operating System: MacOS Tahoe
  • Theia Version: 276431d (1.65 dev)

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS/Macissues related to Mac OSbugbugs found in the applicationpreferencesissues related to preferences

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions