|
From: Torsten B. <be...@ty...> - 2017-04-27 08:50:28
|
Dear Kevin, this is great! Thanks a lot! This is a huge improvement compared to the situation before. Also the highlighting is a further step towards the expected behaviour. Torsten > Am 20.04.2017 um 04:08 schrieb Kevin Walzer <kw...@co...>: > > Hi Torsten, > > On 4/11/17 4:12 PM, Torsten Berg wrote: >> Done: >> >> https://core.tcl.tk/tk/tktview/061bf93176a5684a4a855f8177b290c59dd39bf2 > I've committed an update for the scroller that addresses this bug and also fixes another long-standing issue. > > 1. I've re-worked the metrics of the scroller to align with the Unix scrollbar metrics (in fact they are taken directly from the Unix code). This yields a solid improvement in the scrolling performance: the scrollbar is now smoother when scrolling up with the top of the scroll button. Because the entire scrolling mechanism is driven by the Unix implementation at the script level, this change was necessary. The previous version used Cocoa metrics and in retrospect did not mesh well at all with the Unix scroll implementation. > > It is important to understand that because the code is now based on the Unix scroller, it will NOT behave 100% identically to the previous Cocoa (and Carbon) implementations: in particular, the scrollbar will "page up/down" (jump) if the user holds down the mouse button in the scroll trough. This update, though, substantially reduces the chance of this happening while the user is dragging the upper part of the scrollbar. > > 2. This update correctly implements highlighting of the scrollbar when the scrollbar is being dragged or when the mouse pointer enters/leaves the scrollbar area. This is a substantial improvement in the native look and feel of the Tk scrollbar on macOS. > > Thanks for the report. > > --Kevin > > -- > Kevin Walzer > Code by Kevin/Mobile Code by Kevin > http://www.codebykevin.com > http://www.wtmobilesoftware.com > |