Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Vertical scrollbars broken on Mac OS (10.11)(Vertical scrollbars rendering issue)
Vertical scrollbars broken on Mac OS (10.11) [message #1740636] Tue, 16 August 2016 14:16 Go to next message
Thomas Zahn is currently offline Thomas ZahnFriend
Messages: 5
Registered: August 2016
Junior Member
On Mac OS, when you have your system scrollbars set to show up "Automatically based on mouse or trackpad" - which is the default setting - and you add code to have alternating row colors, as e.g. the Classic Example "TreeGridWithCheckBoxFieldsExample does, then when you start scrolling, you'll observe the following issues:

- The vertical scrollbars appear "scrambled", are barely discernible
- The vertical scrolling becomes painfully slow, feeling oddly "jammed", not smooth.

Tested on:
OS X 10.11.5
NatTable 1.3.0

I have attached a short video file to show exactly what I mean.

Any help will be greatly appreciated Smile
Re: Vertical scrollbars broken on Mac OS (10.11) [message #1740655 is a reply to message #1740636] Tue, 16 August 2016 17:03 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2624
Registered: July 2012
Senior Member
Please test with 1.4
Re: Vertical scrollbars broken on Mac OS (10.11) [message #1740680 is a reply to message #1740655] Wed, 17 August 2016 08:50 Go to previous messageGo to next message
Thomas Zahn is currently offline Thomas ZahnFriend
Messages: 5
Registered: August 2016
Junior Member
Yes, the very same artefact shows up with the 1.4.0 examples (the example is of course "FreezableGridExample", not as I had initially stated "TreeGridWithCheckBoxFieldsExample").
I have also tried with the latest SWT 4.6 jar to launch:
org.eclipse.swt.cocoa.macosx.x86_64_3.105.0.v20160603-0902.jar

Any idea what's causing this?
Re: Vertical scrollbars broken on Mac OS (10.11) [message #1740682 is a reply to message #1740680] Wed, 17 August 2016 08:57 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2624
Registered: July 2012
Senior Member
I don't have any idea. Maybe some Mac OS specific stuff. The scrollbars are updated and there is frequent redrawing on scrolling. Maybe something related to that or related to the SWT implementation on Mac.

As I don't have a Mac and I never will, I can't really help with that.
Re: Vertical scrollbars broken on Mac OS (10.11) [message #1740683 is a reply to message #1740682] Wed, 17 August 2016 08:58 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2624
Registered: July 2012
Senior Member
You can create a ticket and refer to this thread. Maybe someone else can take this.
Re: Vertical scrollbars broken on Mac OS (10.11) [message #1740684 is a reply to message #1740683] Wed, 17 August 2016 09:05 Go to previous messageGo to next message
Thomas Zahn is currently offline Thomas ZahnFriend
Messages: 5
Registered: August 2016
Junior Member
Ok, thanks, will do.
Re: Vertical scrollbars broken on Mac OS (10.11) [message #1740688 is a reply to message #1740684] Wed, 17 August 2016 09:34 Go to previous messageGo to next message
Thomas Zahn is currently offline Thomas ZahnFriend
Messages: 5
Registered: August 2016
Junior Member
Btw, these artefacts do not appear if you have your scrollbar settings set to "always show".
Do you happen to know off the top of your head if you can programmatically force the scrollbars to be visible?

[Updated on: Wed, 17 August 2016 09:34]

Report message to a moderator

Re: Vertical scrollbars broken on Mac OS (10.11) [message #1740689 is a reply to message #1740688] Wed, 17 August 2016 09:52 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2624
Registered: July 2012
Senior Member
SWT does provide API to control the scrollbar visibility. But Mac seems to do something on the OS layer, and I'm not sure if SWT is aware of that or if that exactly is the issue here.
Re: Vertical scrollbars broken on Mac OS (10.11) [message #1740713 is a reply to message #1740689] Wed, 17 August 2016 14:46 Go to previous message
Thomas Zahn is currently offline Thomas ZahnFriend
Messages: 5
Registered: August 2016
Junior Member
Yeah, the SWT API doesn't help here, it does seem to be an OS layer tweak that would be necessary here.
Previous Topic:Cell Edit Event Configuration
Next Topic:Using a SelectionLayer and buttons together in a table
Goto Forum:
  


Current Time: Thu Nov 15 00:11:20 GMT 2018

Powered by FUDForum. Page generated in 0.02314 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top