Skip to content

Windows Dark Theme overrides RStudio IDE Theme #15052

Open

Description

@bentwells

System details

RStudio Edition : Desktop
RStudio Version : 2024.04.0 Build 735
OS Version      :  Windows 11
R Version       :   4.4.0

Steps to reproduce the problem

In RStudio IDE, select Tools... Global Options... Appearance and select any Editor theme.

In Windows 11, right click on the desktop and click Personalization... Contrast Themes... Night Sky, then click "Apply".

Describe the problem in detail

When you perform the above steps, The Windows Theme will always override any text editor colors, and turn it into white text on black background.

If you apply the Windows theme, THEN change the RStudio IDE theme, it does nothing.

Describe the behavior you expected

RStudio IDE will keep the dark background with the text editor colors from the RStudio IDE Theme.

  • I have read the guide for submitting good bug reports.
  • I have installed the latest version of RStudio, and confirmed that the issue still persists.
  • If I am reporting an RStudio crash, I have included a diagnostics report.
  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

Activity

  1. added
    new
    on Aug 12, 2024
  2. ronblum commented on Aug 21, 2024

    @ronblum
    Contributor

    @bentwells Thank you for raising the issue! I can reproduce this in RStudio Desktop 2024.10.0-daily+94.

    @gtritchie Is this intentional for accessibility? It looks like it's an Electron change, as this is the behavior in recent builds, but the RStudio theme is used in RStudio Desktop 2022.07.2+576. Example with dawn in KD:

    contrast_dawn

  3. added
    layout
    and removed
    new
    on Aug 21, 2024
  4. added this to the Later milestone on Sep 5, 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

    accessibilitybuglayout

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions