bugGNU TeXmacs - Bugs: bug #58171, UI is not usable in dark-mode GUIs.

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #58171: UI is not usable in dark-mode GUIs.

Submitter:  MS <marciano>
Submitted:  Tue 14 Apr 2020 02:32:37 AM UTC
Votes: 1
 
Category:  User Interface Priority:  7 - High
Item Group:  Error Status:  Confirmed
Privacy:  Public Assigned to:  mgubi
Originator Name:  Open/Closed:  Open
Release:  None Release: 
Fixed Release:  None Fixed Release: 
Keywords: 

Fri 23 Oct 2020 02:50:16 PM UTC, comment #5: 

Is there some way that we can force Qt to use a light theme?

Massimiliano found a way to do this under MacOS (via the Info.plist), but it would be nice to have something similar under Linux and Windows.

Of course, we really should support dark themes, ultimately.

Joris van der Hoeven <vdhoeven>
Group administrator
Tue 14 Apr 2020 07:54:32 PM UTC, comment #4: 

I agree that until we do not have dark-theme icons we should disable the theming. I also have similar problems on Mac. The icons become unusable with the dark theme.

Massimiliano Gubinelli <mgubi>
Group administrator
Tue 14 Apr 2020 07:52:34 PM UTC, comment #3: 

OK, I think I might have found a partial fix.

The build on the Web page does not seem to honor the QT_STYLE_OVERRIDE or QT_QPA_PLATFORMTHEME variables. However, it does honor the settings in ~/.config/Trolltech.conf.

It appears I had an old copy of this file, which was meant to follow the Breeze Dark theme under KDE (I'm now running Gnome). Hence the dark background. Editing that file and commenting out the limes having to do with "Palette" fixed the issue.

Now, this is really only a workaround --- a proper fix would involve using an icon theme in TeXmacs that works well with dark backgrounds. But, it solves my immediate need. Feel free to close (though mentioning the config file somewhere in the docs might save people some time).

MS <marciano>
Tue 14 Apr 2020 03:57:42 PM UTC, comment #2: 

Sorry if I was not clear: this happens with the pre-compiled version downloaded from the TeXmacs website:

https://www.texmacs.org/Download/ftp/tmftp/generic/TeXmacs-1.99.12-C.tar.gz

I did not build TeXmacs myself. I will upload a screenshot later, but basically, the background of the toolbars is dark, which makes some icons hard to read. I guess a complete fix would be to have different icons for dark and light themes, but a workaround is to override the theme setting per app, or failing that, changing the overall desktop theme to "light". Unfortunately TeXmacs does not seem to honor such settings.

MS <marciano>
Tue 14 Apr 2020 08:11:29 AM UTC, comment #1: 

Can you describe exactly how you build TeXmacs? Which version of Qt are you using? Does the problem also appear with the build available in TeXmacs website? Can you add a screenshot for reference?
Thanks.

Massimiliano Gubinelli <mgubi>
Group administrator
Tue 14 Apr 2020 02:32:37 AM UTC, original submission:  

Just downloaded the latest version:

TeXmacs version 1.99.12
SVN version Custom 12608

Using the statically linked version as there is no package yet for Ubuntu 20.04. All is fine, except that the UI is set to dark mode and does not change to light mode no matter what I do (I tried setting the desktop mode to light, passing GTK_THEME or QT_APPLICATION_STYLE, no dice). This would be good, except that many of the icons in the different toolbars are hard or impossible to read. THis is especially true of the icons for drawing mode.

Thank you,
M

MS <marciano>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by vdhoeven (Updated the item)
  • -email is unavailable- added by rustahm (Voted in favor of this item)
  • -email is unavailable- added by mgubi (Posted a comment)
  • -email is unavailable- added by marciano (Submitted the item)
  •  

    There is 1 vote so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-10-23 vdhoeven StatusNone Confirmed
        Assigned toNone mgubi
    2020-10-23 vdhoeven Priority8 - Very high 7 - High
        Item GroupNone Error
    2020-07-26 rustahm Carbon-Copy- Added rustahm
    2020-04-14 mgubi Priority5 - Normal 8 - Very high
        SummaryUI is dark even if I set light mode (Ubuntu 20.04) UI is not usable in dark-mode GUIs.

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code