Tk Source Code

View Ticket
Login
2025-10-31
17:37 Closed ticket [265ff202e9]: Artifacts in a few themed widgets on x11 and aqua plus 7 other changes artifact: 3cebc80fe0 user: nemethi
16:54
Fix for bug [265ff202e9]: Artifacts in a few themed widgets on x11 and aqua. check-in: dd0a5ac139 user: csaba tags: core-8-6-branch
15:34
Fix for bug [265ff202e9]: Artifacts in a few themed widgets on x11 and aqua. check-in: 8958564a69 user: csaba tags: core-9-0-branch
15:04
Fix for bug [265ff202e9]: Artifacts in a few themed widgets on x11 and aqua. check-in: b3326f225a user: csaba tags: trunk, main
2025-10-30
15:45 Ticket [265ff202e9] Artifacts in a few themed widgets on x11 and aqua status still Open with 4 other changes artifact: a131c6a611 user: nemethi
15:42
Fix for bug [265ff202e9]: Artifacts in a few themed widgets on x11 and aqua. Closed-Leaf check-in: 15ad18fdca user: csaba tags: bug-265ff202e9
15:11 Ticket [265ff202e9] Artifacts in a few themed widgets on x11 and aqua status still Open with 5 other changes artifact: d76656fb63 user: nemethi
15:09 Add attachment bordertest.tcl to ticket [265ff202e9] artifact: 0597b9557e user: nemethi
15:08 Add attachment default_x11.png to ticket [265ff202e9] artifact: aa2cc3a6e5 user: nemethi
15:08 Add attachment alt_x11.png to ticket [265ff202e9] artifact: d71d3881b0 user: nemethi
15:06 New ticket [265ff202e9] Artifacts in a few themed widgets on x11 and aqua. artifact: 19655b20b8 user: nemethi

Ticket UUID: 265ff202e9d46b86640fb307c5c6a9dbd8dd8cf1
Title: Artifacts in a few themed widgets on x11 and aqua
Type: Bug Version: all
Submitter: nemethi Created on: 2025-10-30 15:06:27
Subsystem: 88. Themed Tk Assigned To: nemethi
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2025-10-31 17:37:37
Resolution: Fixed Closed By: nemethi
    Closed on: 2025-10-31 17:37:37
Description:

As seen in the upper screenshot (scaled to 400%) within the attached picture alt_x11.png, the ttk::scrollbar widget of the alt theme on the windowing systems x11 and aqua exhibits a couple of artifacts in the top-right and bottom-left corners of the widget. The trough of the ttk::scale and ttk::progressbar widgets looks suboptimal, too (again, this is related to the top-right and bottom-left corners).

The default theme on x11 and aqua exhibits similar issues, as shown by the upper screenshot within the attached picture default_x11.png.

These artifacts are caused by the way the borders of the arrow and thumb elements of a themed scrollbar and of the trough element (used in the themed scrollbars, scales, and progressbars) are drawn. By making the necessary adaptations in the drawing routines, the resulting appearance of the above-mentioned widgets becomes free of these artifacts, as seen in the lower screenshots of the pictures alt_x11.png and default_x11.png.

The Tcl script that generates the GUI shown in the two pictures is contained in the attached file bordertest.tcl.

User Comments: nemethi (claiming to be Csaba Nemethi) added on 2025-10-31 17:37:37:

Fixed by commits [b3326f22], [8958564a], and [dd0a5ac1].

Closing the ticket.


nemethi (claiming to be Csaba Nemethi) added on 2025-10-30 15:45:27:

The proposed fix is implemented in the branch "bug-265ff202e9".


nemethi (claiming to be Csaba Nemethi) added on 2025-10-30 15:11:13:

Assigned to myself.


Attachments: