Tk Source Code

Ticket Change Details
Login
Overview

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

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    scrollbar-10.[12] fail on macOS as follows:
    
    <verbatim>
    ==== 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
    </verbatim>
    
  5. foundin changed to: "core-8-6-branch"
  6. is_private changed to: "0"
  7. login: "fvogel"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "a013af67114eccc19ad12b04f14923acea9e96b7"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "fvogel"
  14. subsystem changed to: "86. Test Tools"
  15. title changed to: "scrollbar-10.[12] fail on macOS"
  16. type changed to: "Bug"