TBCME 6.2.2 dark mode question

26 views
Skip to first unread message

Chris Tomlinson

unread,
Dec 3, 2019, 4:37:11 PM12/3/19
to TopBraid Suite Users
Hello,

I have a mostly satisfactory dark mode working in TBCME 6.2.4 on Mac OSX 10.14.6 with the DevStyles plugin.

I particularly need a dark mode (or at least not a glaring white background on various views) for my eyesight.

The issue I’m having is in the forms when I want to enter text or change text in a form field such as “rdfs:label” or “rdf:type” and so on. When typing in the text field the background switches from “black” to “light yellow” (the same color that is used in the "TBC Classic Default”) while the font color remains “white” which makes the text nearly invisible, defeating the dark mode:


Maybe someone has a hint of how to solve this.

Thanks,
Chris

Holger Knublauch

unread,
Dec 3, 2019, 6:16:28 PM12/3/19
to topbrai...@googlegroups.com

Chris,

this color is hard-coded in a static final variable org.topbraidcomposer.ui.util.ResourceEditorColors.CHANGED_BACKGROUND_COLOR. I could try to add a setting to allow you to get past this with the next update, yet I am worried this will just be one problem among others. The whole UI just isn't designed for what you're after, so we're just patching things up as we go.

Do you think this is going to be the last thing that is preventing you from using TBC?

Holger

--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/2B1CAE77-8FF0-4383-AFFC-F25315CFFB78%40gmail.com.

Chris Tomlinson

unread,
Dec 3, 2019, 6:58:39 PM12/3/19
to topbrai...@googlegroups.com
Hello Holger,

Thank you for the reply. I've been able to adjust everything else in terms of fonts, sizes and fore and background colors with currently available preference items, so for me this is the only/remaining issue.

A setting would be excellent and I'm sure would be of benefit to others.

Thank you for your help,
Chris

On Dec 3, 2019, at 17:16, Holger Knublauch <hol...@topquadrant.com> wrote:



Chris,

this color is hard-coded in a static final variable org.topbraidcomposer.ui.util.ResourceEditorColors.CHANGED_BACKGROUND_COLOR. I could try to add a setting to allow you to get past this with the next update, yet I am worried this will just be one problem among others. The whole UI just isn't designed for what you're after, so we're just patching things up as we go.

Do you think this is going to be the last thing that is preventing you from using TBC?

Holger


On 4/12/2019 07:37, Chris Tomlinson wrote:
Hello,

I have a mostly satisfactory dark mode working in TBCME 6.2.4 on Mac OSX 10.14.6 with the DevStyles plugin.

I particularly need a dark mode (or at least not a glaring white background on various views) for my eyesight.

The issue I’m having is in the forms when I want to enter text or change text in a form field such as “rdfs:label” or “rdf:type” and so on. When typing in the text field the background switches from “black” to “light yellow” (the same color that is used in the "TBC Classic Default”) while the font color remains “white” which makes the text nearly invisible, defeating the dark mode:

<Screen Shot 2019-12-03 at 3.03.31 PM.png>

Maybe someone has a hint of how to solve this.

Thanks,
Chris

--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/2B1CAE77-8FF0-4383-AFFC-F25315CFFB78%40gmail.com.

--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.

Holger Knublauch

unread,
Dec 3, 2019, 8:40:14 PM12/3/19
to topbrai...@googlegroups.com

Ok, "just for you" and other potential Dark Mode users, I have added a command line flag which needs to be set in the .ini (and .ini.orig) file using

    -Dtopbraid.suppressBackgroundColor=true

This will go into 6.3.0 and will stop the background color from becoming yellow while editing.

HTH
Holger

PS: As a primitive form of code review, I am attaching the diff of this change

Chris Tomlinson

unread,
Dec 4, 2019, 10:57:13 AM12/4/19
to topbrai...@googlegroups.com
Hello Holger,

You’re very kind in this holiday season. I look forward to 6.3.0. If the setting is already in the beta I can give it a try.

Thanks again,
Chris


On Dec 3, 2019, at 7:39 PM, Holger Knublauch <hol...@topquadrant.com> wrote:

Ok, "just for you" and other potential Dark Mode users, I have added a command line flag which needs to be set in the .ini (and .ini.orig) file using

    -Dtopbraid.suppressBackgroundColor=true

This will go into 6.3.0 and will stop the background color from becoming yellow while editing.

HTH
Holger

PS: As a primitive form of code review, I am attaching the diff of this change

<cfoajekmekiaikok.png>

Reply all
Reply to author
Forward
0 new messages