Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Scroll wheel support in M3 build on OS X

Hi,

I just downloaded the M3 build of Eclipse (OS X) - and even in spite of the forthcoming rebuild of the SWT, it's still looking a lot better than the previous milestones. I also was surprised to see that mouse scroll-wheel support is enabled in this milestone (don't remember it working before),

Yes, I added a first cut of scroll-wheel support many weeks ago to HEAD, however since builds had been stopped, you couldn't get it with the official builds, but only by building SWT yourself from HEAD.

and to think that I had heard that scroll-wheel support wouldn't work on any java application until 1.4.1 was released.

Remember, SWT's implementation is not based on any of Apple's UI work but is our own implementation based on Carbon and JNI. So it is completely independent from 1.3.1 vs. 1.4.1 issues. (However, the same is not true for the non-UI parts).

Anyway, its working. :) Very nice. Now for the "but" part. I noticed that if I scroll rapidly thru something, like the text editor, or if the Package Explorer perspective is very long, then the view will get corrupted, with blocks of stuff appearing where it shouldn't be appearing. Its hard for me to explain, but basically it's not refreshing correctly. If I do the same with by moving the scrollbar with the mouse, no corruption occurs at all, so it would seem to indicate a problem with the mousewheel support itself.

This also had been fixed in HEAD some time ago by switching the implementation to HIViews, however as announced in recent postings with the title "Mac OS X: Good News/Bad News", it has been decided to drop these additions.

--andre


Back to the top