Skip to content

High Contrast mode issues (Windows) #12589

Closed
Closed

Description

@gtritchie

System details

RStudio Edition : Desktop (Electron) or Server/Workbench
RStudio Version : 2022.12.0+353
OS Version      : Windows 10, Windows 11
R Version       : Any

Steps to reproduce the problem

This issue applies to RStudio Desktop on Windows (Electron), and RStudio Server/Workbench being used from a Windows web browser (Chrome/Edge).

  • enable high contrast mode in Windows (Left Alt+Left Shift+Print Screen
    • on a full-size Mac keyboard, F13 is the same as Print Screen
    • alternatively, enable via accessibility settings ("Contrast Themes" in Windows 11, "High Contrast" on Windows-10)
  • start RStudio and try to use all the features
  • the Electron version of RStudio does support high contrast, unlike the legacy Qt version, but there are some visual glitches; same situation with RStudio Server in Chrome/Edge on Windows
  • this issue should be used to capture all such issues

Describe the problem in detail

Can't tell when text is selected in editor or console. Opened an issue against Ace. In this screenshot, I have done "Select All" but you can't tell:

screenshot of Rstudio in high contrast mode showing editor selection

The Files Pane has outlines around each item in the list:

screenshot of rstudio in high contrast mode showing problems in the Files pane

No visual indicator of selected pane in the Global Options dialog; in this example, "Console" is selected:

screenshot of rstudio in high contrast mode showing problems in global options dialog

No visual indicator of selection in History pane; in this example one of the items is selected:

screenshot of rstudio in high contrast mode showing History pane

Outline button in editor toolbar invisible:

screenshot of rstudio in high contrast mode showing invisible outline button

Environment pane has outlines around each item:

screenshot of RStudio showing environment pane in high contrast mode

Describe the behavior you expected

  • be able to use all features in high-contrast mode

Misc

For reference, here's what the old version (Qt) looked like in high-contrast mode:

screenshot of RStudio Qt version in high contrast mode

  • 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 Jan 18, 2023
  2. changed the title [-]High Contrast mode issues (Windows, Desktop, Electron)[/-] [+]High Contrast mode issues (Windows)[/+] on Jan 18, 2023
  3. removed
    new
    on Jan 19, 2023
  4. github-actions commented on Jul 19, 2023

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.

  5. added
    stale
    on Jul 19, 2023
  6. github-actions commented on Aug 3, 2023

    @github-actions

    This issue has been automatically closed due to inactivity.

  7. tannenfreund87 commented on May 4, 2026

    @tannenfreund87

    This is still a problem in current versions of R-Studio:

    Image

    RStudio 2026.01.2+418 "Apple Blossom" Release (1d903d3, 2026-03-25) for windows
    Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2026.01.2+418 Chrome/140.0.7339.249 Electron/38.7.2 Safari/537.36, Quarto 1.8.25

    While VSCode doesn't give you a broken interface.

  8. added theissue type on May 4, 2026
  9. removed
    stale
    on May 5, 2026
  10. added this to the Later milestone on May 6, 2026
  11. tannenfreund87 commented on Jun 18, 2026

    @tannenfreund87

    Huge improvement with the current version of RStudio, text highlighting now shows the correct colours:

    RStudio 2026.05.0+218 "Golden Wattle" Release (89f6cef, 2026-05-18) for windows
    Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2026.05.0+218 Chrome/146.0.7680.216 Electron/41.5.0 Safari/537.36, Quarto 1.9.37

    Image

    The black borders around the items in the file pane are a stylistic choice and work quite well for distinguishing items.

    Image

    The menue selection is not visible, but this an issue that affects all Electron apps, here VSCode as example:

    Image Image

    So, this issue can be closed from my side. Many THANKS to everyone who fixed this and made RStudio more accessible!

  12. gtritchie commented on Jun 18, 2026

    @gtritchie
    MemberAuthor

    Thanks for reporting back, glad it is working better for you. I'll close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions