[haiku-bugs] Re: [Haiku] #15941: JPEG & JPEG 2000 Translators about tabs are using document text colour

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sat, 09 May 2020 13:00:40 -0000

#15941: JPEG & JPEG 2000 Translators about tabs are using document text colour
----------------------------------+----------------------------
  Reporter:  Starcrasher          |      Owner:  nobody
      Type:  bug                  |     Status:  new
  Priority:  normal               |  Milestone:  Unscheduled
 Component:  Add-Ons/Translators  |    Version:  R1/Development
Resolution:                       |   Keywords:
Blocked By:                       |   Blocking:
  Platform:  All                  |
----------------------------------+----------------------------
Comment (by pulkomandy):

 I'm not sure AdoptSystemColors will work here, my guess is these are using
 BTextView which is normally B_DOCUMENT_TEXT_COLOR on
 B_DOCUMENT_BACKGROUND_COLOR, and change only the foreground.
 AdoptSystemColors would just go back to document colors instead of panel
 ones.

 So we need to explicitly set B_PANEL_TEXT_COLOR for these, and no one
 noticed because in the default theme both colors are the same (black
 text).
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15941#comment:2>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: