|
2026-10-20
| ||
| 20:40 | • Ticket [54c2ca0e] photo: pixels made semi-transparent with "transparency set ... -alpha" are drawn opaque status still Closed with 5 other changes artifact: 74657a43 user: oehhar | |
| 19:21 | • Closed ticket [54c2ca0e]. artifact: e3653b69 user: oehhar | |
| 19:19 | [54c2ca0e] photo: pixels made semi-transparent with "transparency set ... -alpha" are drawn opaque (test missing) check-in: 33904f03 user: oehhar tags: core-9-0-branch | |
| 19:12 | [54c2ca0e] photo: pixels made semi-transparent with "transparency set ... -alpha" are drawn opaque check-in: 59fba600 user: oehhar tags: trunk, main | |
|
2026-10-19
| ||
| 17:36 | • Ticket [54c2ca0e] photo: pixels made semi-transparent with "transparency set ... -alpha" are drawn opaque status still Open with 3 other changes artifact: 86a0a7af user: serhiy.storchaka | |
| 17:32 | • Ticket [54c2ca0e]: 7 changes artifact: 919a09fa user: oehhar | |
|
2026-09-24
| ||
| 19:17 | • Closed ticket [809157ff]: partially transparent images don't display correctly. plus 4 other changes artifact: a182ddbc user: serhiy.storchaka | |
| 19:16 | • Ticket [54c2ca0e] photo: pixels made semi-transparent with "transparency set ... -alpha" are drawn opaque status still Open with 3 other changes artifact: c73495e4 user: serhiy.storchaka | |
| 19:15 |
Fix [54c2ca0e94]: photo: pixels made semi-transparent with "transparency set ... -alpha" are drawn opaque.
Set the COMPLEX_ALPHA flag when "transparency set -alpha" sets a partial alpha value. Add test imgPhInstance-6.1. check-in: 3faec478 user: serhiy.storchaka tags: photo-transparency-set-alpha | |
| 19:11 | • New ticket [54c2ca0e] photo: pixels made semi-transparent with "transparency set ... -alpha" are drawn opaque. artifact: 835499ee user: serhiy.storchaka | |
| Ticket UUID: | 54c2ca0e94b925d5dfbbcad202c57678c70791b8 | |||
| Title: | photo: pixels made semi-transparent with "transparency set ... -alpha" are drawn opaque | |||
| Type: | Bug | Version: | 9.0.5, 9.1b1 | |
| Submitter: | serhiy.storchaka | Created on: | 2026-09-24 19:11:46 | |
| Subsystem: | 41. Photo Images | Assigned To: | oehhar | |
| Priority: | 5 Medium | Severity: | Minor | |
| Status: | Closed | Last Modified: | 2026-10-20 20:40:13 | |
| Resolution: | Fixed | Closed By: | oehhar | |
| Closed on: | 2026-10-20 20:40:13 | |||
| Description: |
. configure -bg red
image create photo viaput -width 40 -height 40
viaput put #0000ff80 -to 0 0 40 40
image create photo viaset -width 40 -height 40
viaset put #0000ff -to 0 0 40 40
for {set y 0} {$y < 40} {incr y} {
for {set x 0} {$x < 40} {incr x} {viaset transparency set $x $y 128 -alpha}
}
pack [label .a -image viaput -bg red -bd 0] [label .b -image viaset -bg red -bd 0] -side left
Both images report alpha 128 (
| |||
| User Comments: |
oehhar added on 2026-10-20 20:40:13:
Also verified that tk9.1.0 release does not show the issue on MS-Win. Nevertheless, the image should be flagged as having transparent pixels. Thanks for all, Harald oehhar added on 2026-10-20 19:21:45: Tried the example with 9.0 on MS-Win. Fix is effective. So, committed to:
Bug closed. Thank you, Harald serhiy.storchaka added on 2026-10-19 17:36:47: Thank you, Harald. 9.1 is affected on X11 too (the ticket says: on X11 in 9.0.5 and 9.1b1, and on Windows in 9.0.5); only Windows 9.1 is not affected, because it draws the RGBA data directly. The branch photo-transparency-set-alpha is against main (rebased on 2026-10-15), and the fix also applies to 9.0. oehhar added on 2026-10-19 17:32:21: The ticket says, that 9.1 is not effected. But the patch is for 9.0. Nevertheless, this looks reasonable for both. May look-in again tomorrow. Thanks, Harald serhiy.storchaka added on 2026-09-24 19:16:25:
Proposed fix in branch photo-transparency-set-alpha ([3faec47822]): | |||
