Tk Source Code

View Ticket
Login
2024-11-29
09:26 Closed ticket [a69fd7cd]: File clamTheme.tcl misses code related to the -indicatorforeground option plus 6 other changes artifact: c394d198 user: nemethi
2024-11-28
21:05 Ticket [a69fd7cd]: 3 changes artifact: eef84c88 user: fvogel
20:58 Ticket [a69fd7cd]: 4 changes artifact: 28d3cdd1 user: nemethi
20:47 Ticket [a69fd7cd]: 3 changes artifact: cf100c02 user: fvogel
10:59 Ticket [a69fd7cd]: 5 changes artifact: 45333655 user: nemethi
10:39
Fix [a69fd7cdc7]: File clamTheme.tcl misses code related to the -indicatorforeground option. check-in: 0c69de86 user: csaba tags: trunk, main
10:31
Fix [a69fd7cdc7]: File clamTheme.tcl misses code related to the -indicatorforeground option. check-in: bd88e189 user: csaba tags: core-8-branch
10:21
Fix [a69fd7cdc7]: File clamTheme.tcl misses code related to the -indicatorforeground option. check-in: 64439dea user: csaba tags: core-8-6-branch
2024-11-27
20:27 Ticket [a69fd7cd] File clamTheme.tcl misses code related to the -indicatorforeground option status still Open with 4 other changes artifact: 8df48425 user: fvogel
16:22 Ticket [a69fd7cd]: 4 changes artifact: 2032a725 user: nemethi
15:56 Ticket [a69fd7cd]: 3 changes artifact: 0350e99d user: oehhar
15:54 Ticket [a69fd7cd]: 3 changes artifact: 0a45b4b1 user: oehhar
15:33 Add attachment screenshots_clam.png to ticket [a69fd7cd] artifact: 7106db68 user: nemethi
15:32 Add attachment clamTheme.diff to ticket [a69fd7cd] artifact: 7ad1e625 user: nemethi
15:30 New ticket [a69fd7cd] File clamTheme.tcl misses code related to the -indicatorforeground option. artifact: dee96a85 user: nemethi

Ticket UUID: a69fd7cdc7c08f7610bf84e4bcb64bb4829d323
Title: File clamTheme.tcl misses code related to the -indicatorforeground option
Type: Bug Version: all
Submitter: nemethi Created on: 2024-11-27 15:30:04
Subsystem: 88. Themed Tk Assigned To: nemethi
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2024-11-29 09:26:20
Resolution: Fixed Closed By: nemethi
    Closed on: 2024-11-29 09:26:20
Description:

In the clam theme, the Checkbutton.indicator and Radiobutton.indicator elements have a -indicatorforeground option.  However, the library file clamTheme.tcl doesn't contain any code related to this option, especially to its value in the disabled state.  Obviously, this was simply forgotten.  As a result, as easily seen in the left half of the attachment screenshots_clam.png, the inner parts of disabled ttk::checkbutton and ttk::radiobutton widgets are displayed in black color, unlike their text, which is rendered in the color $colors(-disabledfg).  I strongly doubt that this discrepancy was intentional.

I have prepared the necessary patch (see the attachment clamTheme.diff), which I would like to commit myself, provided that there are no objections.  The right half of the attachment screenshots_clam.png shows the improved appearance of the disabled widgets after applying this change.

User Comments: fvogel added on 2024-11-28 21:05:15:
Agreed!

nemethi (claiming to be Csaba Nemethi) added on 2024-11-28 20:58:26:

I thought I should do it tomorrow, after seeing the CI status (I am not expecting any problems, but who knows).


fvogel added on 2024-11-28 20:47:39:
Great. Any reason for not closing this ticket?

nemethi (claiming to be Csaba Nemethi) added on 2024-11-28 10:59:57:

Fixed with commits [64439dea], [bd88e189], and [0c69de86].


fvogel added on 2024-11-27 20:27:16:
Csaba, this looks OK to me please proceed. I'm assigning the ticket to you.

nemethi (claiming to be Csaba Nemethi) added on 2024-11-27 16:22:04:

Thanks Harald, I can do the commit into a branch myself. I just want to see whether there are any objections against my proposal before doing the commit.


oehhar added on 2024-11-27 15:56:09:
Csaba,
fossil is difficult.
Nevertheless, please try to first commit into a branch.
In this case for example:

fossil commit --branch a69fd7cd-clam-indicator

Shall I do the action for you ?

Thanks for all,
Harald

oehhar added on 2024-11-27 15:54:12:
Looks great as always !

Thanks for all your work,
Harald

Attachments: