Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 19dae63c70e7ff834586466e1c4054c27c485626
Ticket: 1298158fffffffffffffffffffffffffffffffff
Reading translation causes event failure?
User & Date: billposer on 2005-09-22 12:17:45
Changes

  1. closedate changed to: "2005-09-22T05:17:45"
  2. closer changed to: "billposer"
  3. icomment:
    Logged In: YES 
    user_id=939324
    
    There is indeed a bug. The only circumstance in which the
    upper and lower colors should be the same is when the random
    color happens to be one of the named colors. The fact that
    the two are always the same (after pressing "Plus Proche)
    indicates the existence of a bug. My diagnosis of this as
    failure of
    ShowEntry to trigger the ButtonPress-1 event (or of that
    event to trigger the desired action, namely the calling of
    SetColor) is correct in that it explains why the lower color
    is not changed to that of the named color selected by
    FindClosestNamedColor. I now realize that my message above
    was misleading in one respect: where I said " the color
    chooser always shows the random color as agreeing perfectly
    with some named color" I mis-spoke; I should have said "the
    color chooser always shows the random color as agreeing
    perfectly with what is supposed to be the closest named color".
    The rest of the description is correct.
    
    You can see the difference in behavior by changing your
    locale to something other than French or by commenting out
    the line:
    pack .srch.search -side left -expand 1 -fill x -anchor e -padx 4
    
    I recognize that it is hard to deal with such a large
    example of a bug but I haven't yet figured out how to remove
    anything further and still trigger it.
    Commenting out that one line is sufficient to eliminate the bug.
    
    
  4. login: "billposer"
  5. mimetype: "text/plain"
  6. status changed to: "Pending"
  7. username: "billposer"