Ticket UUID: | 071fc80f144134b8ce93b3185a432cc4a5574b00 | |||
Title: | SpinBox fails if tile is active | |||
Type: | Bug | Version: | 1.9.13 | |
Submitter: | anonymous | Created on: | 2019-11-06 10:49:50 | |
Subsystem: | bwidget 1.x | Assigned To: | nobody | |
Priority: | 5 Medium | Severity: | Important | |
Status: | Closed | Last Modified: | 2019-11-12 08:08:41 | |
Resolution: | Fixed | Closed By: | oehhar | |
Closed on: | 2019-11-12 08:08:41 | |||
Description: |
SpinBox fails when Tile is active. % package require BWidget 1.9.13 % Widget::theme 1 1 % SpinBox .sb can't read "classopt(-disabledforeground)": no such element in array Workaround patch which avoids the runtime error: diff -b spinbox.tcl spinbox.tcl_orig 42d41 < if {! $::Widget::_theme} { 51c50 < } --- > 69,71d67 < if {$::Widget::_theme} { < set entry [eval [list Entry::create $path.e] $maps(.e)] < } else { 73d68 < } | |||
User Comments: |
oehhar added on 2019-11-12 08:08:22:
(text/x-fossil-wiki)
Thank you, Gerhard and Christian, for the ticket. Please verify commit [c8c94e175f] if it is ok for you. Thank you, Harald anonymous added on 2019-11-10 22:44:54: The AndroWish solution is similar to my provided workaround patch which also considers the tile mode setting. if {[Widget::theme]} { ... } anonymous added on 2019-11-10 22:05:23: Please review https://www.androwish.org/home/info/267c9e500d31d707 which fixed that issue for me. |