Tk Source Code

View Ticket
Login
Ticket UUID: 3505358
Title: invalid color name "#f75df642f527"
Type: Bug Version: obsolete: 8.5.10
Submitter: tombert Created on: 2012-03-15 16:39:31
Subsystem: 29. Colormaps and Visuals Assigned To: jan.nijtmans
Priority: 6 Severity:
Status: Closed Last Modified: 2014-03-13 09:08:19
Resolution: Fixed Closed By: nijtmans
    Closed on: 2012-03-15 20:16:05
Description:
Environment openSuse Linux 11.2, TclTk 8.5.11 latest trunk;
In windows the bug is not existent.

I see the bug when creating a tabnotebook which throws the error:
invalid color name "#f75df642f527"
(processing "-fill" option)
invoked from within
"$itk_component(canvas) create line [expr {floor(0 + ($itk_option(-borderwidth)/2.0))}] [expr {floor(0 + ($itk_option(-borderwidth)/2.0))}] $wid [e..."
(object "::.cCMainWindow0.shellchildsite.eFrame.workFrame" method "::iwidgets::Tabnotebook::_redrawBorder" body line 14)
invoked from within
"_redrawBorder $wid $hgt"

The color name comes from:
- procedure [topShadow {bgColor}]
- which calls [set hsb [rgbToHsb [winfo rgb . $bgColor]]]
- ... and a lot more ...

There is no bug in fossil checkout c309fddc73

thx
User Comments: nijtmans added on 2012-03-16 03:16:05:

allow_comments - 1

nijtmans added on 2012-03-16 03:16:04:
Caused by the fix for
  [ tktoolkit-Bugs-3486474 ] Inconsistent color scaling
just a missing 'else' statement.

Fixed in all branches.

Thanks!

nijtmans added on 2012-03-16 02:23:52:
Will have a look