[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Mouse scroll leads to different event raised on windows and MAC platform

We've created a custom table control widget and now it has been adopted by some consumers to develop applications. We find that on MAC platform, if the table has more data than it could display, vertical scrollbar is visible. When I use mouse wheel to scroll down, the content of the table scrolls very quickly. Through debugging, I find that detail value of SelectionEvent is SWT.PAGE_DOWN, while on Windows platform, event detail value is SWT.ARROW_DOWN. As a result, the behaviour of scrolling is fluent and acceptable on Windows.

I wanna ask whether this is the design on MAC platform(SelectionEvent detail is SWT.PAGE_DOWN, not ARROW_DOWN). If it's not, I think this is a bug of SWT on MAC platform.