View previous topic :: View next topic |
Author |
Message |
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Sat Aug 17, 2013 12:27 pm Post subject: Cocoa-based scrollbars |
|
As part of our plans to use Cocoa instead of the Apple's deprecated HITheme functions, I have reimplemented NeoOffice's native scrollbars.
The following test patches include new Cocoa-based scrollbars. If there are no bugs, you should see no changes when running Mac OS X 10.6 Snow Leopard.
If you are running Mac OS X 10.7 Lion or higher, you should see one change: the scrollbar's knob will be darker whenever the mouse is moved over the scrollbar as shown in the attached screen snapshot. Note that this new mouse behavior also occurs when moving the mouse over scrollbars in inactive NeoOffice windows just like in the Finder and in Apple's Safari and TextEdit applications.
Can anyone install either of the following test patches and tell us if any scrollbars appear to be drawn incorrectly?:
NeoOffice 3.3:
http://juliette.neooffice.org/test/NeoOffice-3.3-Patch-9-Test-1-Intel.dmg
NeoOffice 2013:
http://juliette.neooffice.org/test/NeoOffice-2013-Test-1-Intel.dmg
Patrick |
|
Back to top |
|
|
ovvldc Captain Naiobi
Joined: Sep 13, 2004 Posts: 2352 Location: Zürich, CH
|
Posted: Sun Aug 18, 2013 1:39 am Post subject: |
|
Works fine for me at first glance on 10.6 _________________ "What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Sun Aug 18, 2013 8:21 am Post subject: |
|
ovvldc wrote: | Works fine for me at first glance on 10.6 |
I forgot to mention that I fixed a bug that occurred only when running on Mac OS X 10.6 Snow Leopard: when the "Place scroll arrows" preference was changed in the System Preference application's Appearance tab, all scrollbar arrows in open NeoOffice windows would be redrawn correctly but any mouse clicks within a scrollbar would behave as if the arrows were still in their old positions.
Scrollbar arrows were tricky to implement in our old code so if anyone running Mac OS X 10.6 Snow Leopard sees any unexpected behavior when clicking a scrollbar arrow, please let me know.
Edit: to enable double arrows at both ends of the scrollbar, paste the following command in the Terminal application, press the Return key, and relaunch NeoOffice:
Code: | defaults write -g AppleScrollBarVariant "DoubleBoth" |
Patrick |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Mon Sep 23, 2013 2:01 pm Post subject: |
|
FYI. I have included the new code in NeoOffice 3.3 Patch 10. The patch can be downloaded from the NeoOffice patch download page.
Patrick |
|
Back to top |
|
|
|