Tk Source Code

Ticket Change Details
Login
Overview

Artifact ID: e976c01e18c225c547e2996bd0d2e7e41ae3af0e39af66a1350c20f77d20f6dc
Ticket: 1875c1f30f2d17230a3d6e8fc7c85d244e80b922
mac os x: scrollbar dragging
User & Date: bll 2018-08-11 16:24:33
Changes

  1. icomment:
    The combobox test with a height of 3 doesn't work well -- it is difficult
    to tell exactly what the issues are when the scrollbar handle is that small.
    
    I changed the -height to 5 in the test script.
    It is much better.
    
    With a -height of 5 in the test script, it still seems that the very 
    top and very bottom of the handle will not allow a grab.
    
    With a -height of 3 in the test, this translates to being
    extremely difficult to grab the handle.
    
    With a -height of 10 in the test, the scrollbar handle is a good size 
    and it works very well.  I cannot duplicate any issues in this case.
    
    So in any situation where the handle is sized very small due to height
    vs. number of rows in the scroll area, it will still be an issue.  
    
    
    Warnings:
    
    /Users/bll/tcl/tk/unix/../macosx/tkMacOSXScrlbr.c:71:10: warning: excess
          elements in scalar initializer
        {15, 54, 26, 14, 14, kControlSizeNormal}, /* kThemeScrollBarMedium */
             ^~
    /Users/bll/tcl/tk/unix/../macosx/tkMacOSXScrlbr.c:229:9: warning: unused
          variable 'variant' [-Wunused-variable]
        int variant, fieldLength;
            ^
    /Users/bll/tcl/tk/unix/../macosx/tkMacOSXScrlbr.c:451:9: warning: unused
          variable 'variant' [-Wunused-variable]
        int variant;
            ^
    3 warnings generated.
    
  2. login: "bll"
  3. mimetype: "text/plain"