Tk Source Code

Ticket Change Details
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2018 Conference, Houston/TX, US, Oct 15-19
Send your abstracts to tclconference@googlegroups.com
or submit via the online form by Aug 20.
Overview

Artifact ID: 6f0721aa3da69bc64d7be599be4012b2282594bd92e1e122830bbd944ae1541a
Ticket: 874dca48734c103047b40d108d481389b64ac82f
scrollbar-10.[12] fail on macOS
User & Date: fvogel 2018-09-16 16:07:24
Changes

  1. Change assignee to "nobody"
  2. Change closer to "nobody"
  3. Change cmimetype to "text/x-fossil-wiki"
  4. Change comment to:

    scrollbar-10.[12] fail on macOS as follows:

    ==== scrollbar-10.1 <MouseWheel> event on scrollbar FAILED
    ==== Contents of test case:
    
        pack [text .t -yscrollcommand {.s set}] -side left
        for {set i 1} {$i < 100} {incr i} {.t insert end "Line $i\n"}
        pack [scrollbar .s -command {.t yview}] -fill y -expand 1 -side left
        update
        focus -force .s
        event generate .s <MouseWheel> -delta -120
        after 200 {set eventprocessed 1} ; vwait eventprocessed
        .t index @0,0
    
    ---- Result was:
    77.0
    ---- Result should have been (exact matching):
    5.0
    ==== scrollbar-10.1 FAILED
    
    
    
    ==== scrollbar-10.2 <MouseWheel> event on scrollbar FAILED
    ==== Contents of test case:
    
        pack [text .t -xscrollcommand {.s set} -wrap none] -side top
        for {set i 1} {$i < 100} {incr i} {.t insert end "Char $i "}
        pack [scrollbar .s -command {.t xview} -orient horizontal] -fill x -expand 1 -side top
        update
        focus -force .s
        event generate .s <Shift-MouseWheel> -delta -120
        after 200 {set eventprocessed 1} ; vwait eventprocessed
        .t index @0,0
    
    ---- Result was:
    1.120
    ---- Result should have been (exact matching):
    1.4
    ==== scrollbar-10.2 FAILED
    
  5. Change foundin to "core-8-6-branch"
  6. Change is_private to "0"
  7. Change login to "fvogel"
  8. Change priority to "5 Medium"
  9. Change private_contact to "a013af67114eccc19ad12b04f14923acea9e96b7"
  10. Change resolution to "None"
  11. Change severity to "Minor"
  12. Change status to "Open"
  13. Change submitter to "fvogel"
  14. Change subsystem to "86. Test Tools"
  15. Change title to "scrollbar-10.[12] fail on macOS"
  16. Change type to "Bug"