octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #65472] Editor's default color scheme has terr


From: anonymous
Subject: [Octave-bug-tracker] [bug #65472] Editor's default color scheme has terrible contrast if system is using dark mode
Date: Sun, 17 Mar 2024 06:50:16 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?65472>

                 Summary: Editor's default color scheme has terrible contrast
if system is using dark mode
                   Group: GNU Octave
               Submitter: None
               Submitted: Sun 17 Mar 2024 10:50:15 AM UTC
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: tinozzo123@gmail.com
             Open/Closed: Open
                 Release: 8.4.0
         Discussion Lock: Any
        Operating System: GNU/Linux
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sun 17 Mar 2024 10:50:15 AM UTC By: Anonymous
The default color scheme of the editor of GNU Octave's GUI, for some reason,
depends on whether the system is using light or dark mode.
If the system is using light mode, then the default color scheme will be
correct: either white background with dark text, or dark background with light
text.
If, however, the system is using dark mode, then some elements of the default
color scheme will be switched, but not others: that means you'll get a white
background with light text, or a dark background with dark text.

=== Steps To Reproduce ===
Steps to reproduce the behavior:
* Put your desktop environment in dark mode (I used KDE Plasma (both X11 and
Wayland) with Breeze Dark)
* Open Octave's GUI
* If it's not the first time opening Octave, reload the default style:
        * In the top bar, Edit > Preferences
        * Click on Editor, scroll down to the almost bottom, and click "Reload
default styles"
        * Apply
* In the main window, go to the Editor
* When writing text, you'll see that it's dark with a dark background.
        * If you checked "Second color mode (light/dark)" (and "Reload default
styles") in the settings, then it's light with a white background.

=== Expected behavior ===
The system theme should either change the color style completely or not at
all, instead of changing it partially and creating a poor contrast. 

=== Additional context ===
This only affects loading the default color scheme: when already applied,
changing the system theme changes nothing in Octave.
A workaround to this issue is thus setting the system theme to light, applying
the desired color scheme in Octave, and then switching back to the system dark
theme.







    _______________________________________________________
File Attachments:

Default styles with system dark theme (incorrect) and system light theme
(correct)

-------------------------------------------------------
Name: SystemDarkOctaveDark.png  Size: 84KiB
<http://savannah.gnu.org/bugs/download.php?file_id=55849>
-------------------------------------------------------
Name: SystemDarkOctaveLight.png  Size: 85KiB
<http://savannah.gnu.org/bugs/download.php?file_id=55850>
-------------------------------------------------------
Name: SystemLightOctaveDark.png  Size: 95KiB
<http://savannah.gnu.org/bugs/download.php?file_id=55851>
-------------------------------------------------------
Name: SystemLightOctaveLight.png  Size: 96KiB
<http://savannah.gnu.org/bugs/download.php?file_id=55852>

    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-cf05868ce827c9612cb6083f86556077b7ab06b3.tar.gz

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65472>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]