Bwidget Source Code
View Ticket
Not logged in
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.
Ticket UUID: ed4c1dab46a4ebddb051c08566d2301826bda4f7
Title: BWidget Tree renders in black high-contrast-mode with black on black
Type: Bug Version: 1.9.8
Submitter: anonymous Created on: 2016-01-07 12:54:01
Subsystem: bwidget Assigned To: oehhar
Priority: 5 Medium Severity: Important
Status: Closed Last Modified: 2016-01-15 07:58:38
Resolution: Fixed Closed By: oehhar
    Closed on: 2016-01-15 07:58:38
Description:
If a black high-contrast-theme is enabled on Windows or the high-contrast-mode got enabled from within the ease-of-access-center in Windows, than the tree widget renders the lines and expand/collapse areas of the nodes in black onto the correct black window background.
Thus the tree widget does not only visualize no "structure", but no interactive regions for expanding or collapsing tree nodes!

The default colors for linefill and crossfill options should not be black, but one of the system colors like:

1. SystemWindowText (yellow with high-contrast-#1 theme)
2. SystemWindowFrame (white with high-contrast-#1 theme)
3. SystemButtonText (white with high-contrast-#1 theme).

On Mac OS same problems may occur, but since I'm not able to test this, someone else may validate the rendering in a high-contrast-mode of Mac OS.
User Comments: oehhar added on 2016-01-15 07:58:38:

Fix in commit [04ba914fce] verified by Koen, Kevin and Martin. Thank you all. Bug closed.


anonymous added on 2016-01-08 12:48:56:
Hi Harald,

thanks for your quick action!

Yes, your fix works quiet well on my Windows system!

Best regards,

Martin

oehhar added on 2016-01-07 18:05:02:

Bug verified on Windows 10.

Commit [1b5b347448] fixes the issue for me.

Could you verify if there are any side effects on the fix ? I have no real idea what I am doing here...

Thank you all, Harald