Welcome to NeoOffice Forums
NeoOffice
 
Official online support site for NeoOffice and NeoOffice Mobile

Trinity
· Home
· News
· Private Messages
· Stories Archive
· Your Account


RSS Feeds
· Headlines
· Forum Posts
· NeoOffice Releases
· Beta Releases
· NeoOffice Mobile


Twitter Feeds
· @NeoOffice


Download NeoOffice
· Get NeoOffice
· Get the Latest Patch
· Language Packs
· User Guide
· User Guide Volume 2


Other Websites
· NeoOffice.org
· NeoWiki


Who's Online
There are currently, 144 guest(s) and 4 member(s) that are online.

You are Anonymous user. You can register for free by clicking here


Languages
Select Interface Language:



  
trinity.neooffice.org :: View topic - Enhanced mouse wheel support
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Private MessagesPrivate Messages   Log inLog in 

Enhanced mouse wheel support
Users who have paid US$25.00 within the last year can post
Goto page 1, 2  Next
 
Post new topic   Reply to topic    trinity.neooffice.org Forum Index -> NeoOffice Testing
View previous topic :: View next topic  
Author Message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 10945
Location: California, USA

PostPosted: Wed Mar 26, 2008 9:10 pm    Post subject: Enhanced mouse wheel support Reply with quote

Up until now, due to limitations in Apple's Java, NeoOffice users suffered from the following mouse wheel problems:

- No mouse wheel scrolling in popup menus and lists
- No horizontal mouse wheel scrolling

Well I finally found a way to bypass Java's limitations and handle native mouse wheel events correctly. So, if you use a mouse wheel and either of the above problems has annoyed you, I have a test patch that you can try.

You can test the enhanced mouse wheel support by installing the following test patch:

PowerPC:
http://jane.neooffice.org/test/NeoOffice-2.2.3-Patch-1-Test-3-PowerPC.dmg

Intel:
http://jane.neooffice.org/test/NeoOffice-2.2.3-Patch-1-Test-3-Intel.dmg

Patrick
Back to top
View user's profile Send private message Visit poster's website
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4574

PostPosted: Wed Mar 26, 2008 10:47 pm    Post subject: Reply with quote

You, good sir, are the Męstro of męstros! Very Happy

Two-fingered scrolling is one of those things that you don't realize how addicted to it you've become until you hit some place where it doesn't work, and horizontally in Neo has been one of those places (my old PowerBook being another Razz ).

I noticed just one small bug (10.5.2/Intel):

If you position the cursor over one of the combo boxes in the Writer toolbar (e.g. the styles or zoom), scrolling over it scrolls the contents "in-place" when the combo box isn't dropped down to display the child window, whereas native combo boxes (e.g. Network Utility's Whois tab's server combo box) don't.

To be honest, this may not be a new bug, as I'd never tried that before; I did it accidentally as a result of playing with the scrolling in their dropped-down child windows Wink

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
View user's profile Send private message Visit poster's website
miggs
Agent


Joined: Sep 22, 2004
Posts: 13
Location: Canada

PostPosted: Wed Mar 26, 2008 10:52 pm    Post subject: Re: Enhanced mouse wheel support Reply with quote

I was hoping that your wizardry would enable this feature some day!

Testing the patch on my MacBook Pro using the trackpad the behavior for horizontal scrolling is reversed from the expected behavior. Moving fingers from left to right scrolls from right to left. This is counter to how it behaves in the finder, moving fingers left to right scrolls left to right.

Should I file a bug?
Back to top
View user's profile Send private message
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Thu Mar 27, 2008 12:44 am    Post subject: Reply with quote

Offhand do you know if the behaviour also reversed with a mouse scrollball? If so we just need to multiply the factor by -1.

ed
Back to top
View user's profile Send private message Visit poster's website AIM Address
jgd
Agent Smith


Joined: Feb 27, 2005
Posts: 1531
Location: France

PostPosted: Thu Mar 27, 2008 3:27 am    Post subject: Reply with quote

OPENSTEP wrote:
Offhand do you know if the behaviour also reversed with a mouse scrollball? If so we just need to multiply the factor by -1.

ed

Yes, it's the same with the Mighty Mouse.

Jacqueline
Back to top
View user's profile Send private message AIM Address
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 10945
Location: California, USA

PostPosted: Thu Mar 27, 2008 7:41 am    Post subject: Reply with quote

sardisson wrote:
If you position the cursor over one of the combo boxes in the Writer toolbar (e.g. the styles or zoom), scrolling over it scrolls the contents "in-place" when the combo box isn't dropped down to display the child window, whereas native combo boxes (e.g. Network Utility's Whois tab's server combo box) don't.


This is normal behavior for OpenOffice.org. While NeoOffice does draw native combo boxes, NeoOffice's underlying OpenOffice.org code still does all of the event handling. In this particular case, the OpenOffice.org Writer code reacts to the mouse scroll event by changing the selected item in the combo box.

Patrick
Back to top
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 10945
Location: California, USA

PostPosted: Thu Mar 27, 2008 7:44 am    Post subject: Re: Enhanced mouse wheel support Reply with quote

miggs wrote:
Testing the patch on my MacBook Pro using the trackpad the behavior for horizontal scrolling is reversed from the expected behavior. Moving fingers from left to right scrolls from right to left. This is counter to how it behaves in the finder, moving fingers left to right scrolls left to right.


Ed was correct, the horizontal scroll events need to be multiplied by -1 when our code converts native events to OpenOffice.org event format.

I have made this change in the following test patch. Does horizontal scrolling now work correctly?:

PowerPC:
http://jane.neooffice.org/test/NeoOffice-2.2.3-Patch-1-Test-4-PowerPC.dmg

Intel:
http://jane.neooffice.org/test/NeoOffice-2.2.3-Patch-1-Test-4-Intel.dmg

Patrick
Back to top
View user's profile Send private message Visit poster's website
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4574

PostPosted: Thu Mar 27, 2008 7:50 am    Post subject: Re: Enhanced mouse wheel support Reply with quote

miggs wrote:
horizontal scrolling is reversed from the expected behavior.

Apparently I was so blown away by the feature I failed to notice that bug Razz

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
View user's profile Send private message Visit poster's website
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4574

PostPosted: Thu Mar 27, 2008 8:17 am    Post subject: Re: Enhanced mouse wheel support Reply with quote

pluby wrote:
I have made this change in the following test patch. Does horizontal scrolling now work correctly?

Yes Smile (10.5.2/Intel/Trackpad)

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
View user's profile Send private message Visit poster's website
yoxi
Cipher


Joined: Sep 07, 2004
Posts: 1799
Location: Dawlish, Devon

PostPosted: Thu Mar 27, 2008 8:24 am    Post subject: Reply with quote

Curious behaviour, horizontal scrolling in calc with the trackpad on my MBP: say the cursor is in cell A20, then I scroll right a few times until I'm in double-letter territory - and the doc window is still showing rows 1-38.

Then I scroll left again to get back to column A; everything's fine until the last left scroll, at which point the screen jumps down around 10-20 rows so the top rows no longer show in the doc window and I have to scroll up.

Is this because I'm left-handed? Confused

- padmavyuha
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 10945
Location: California, USA

PostPosted: Thu Mar 27, 2008 8:46 am    Post subject: Reply with quote

yoxi wrote:
Is this because I'm left-handed? Confused


Absolutely. Smile

Just kidding. I can reproduce this behavior and since I cannot do horizontal scrolling in the OOo X11 or Aqua builds, I put some debug statements in my code and I am seeing a vertical Java mouse wheel every so often even though all of the native events are horizontal. So it is obviously a bug in my code somewhere.

I'll post another test patch when I have a fix for this bug.

Patrick
Back to top
View user's profile Send private message Visit poster's website
yoxi
Cipher


Joined: Sep 07, 2004
Posts: 1799
Location: Dawlish, Devon

PostPosted: Thu Mar 27, 2008 8:50 am    Post subject: Reply with quote

The natives are restless...
Back to top
View user's profile Send private message
jgd
Agent Smith


Joined: Feb 27, 2005
Posts: 1531
Location: France

PostPosted: Thu Mar 27, 2008 8:55 am    Post subject: Re: Enhanced mouse wheel support Reply with quote

sardisson wrote:
pluby wrote:
I have made this change in the following test patch. Does horizontal scrolling now work correctly?

Yes Smile (10.5.2/Intel/Trackpad)

Smokey

+1 Intel 10.5.2 Mighty Mouse

Very nice new feature, Thanks a lot!

Jacqueline
Back to top
View user's profile Send private message AIM Address
jgd
Agent Smith


Joined: Feb 27, 2005
Posts: 1531
Location: France

PostPosted: Thu Mar 27, 2008 10:17 am    Post subject: Reply with quote

On my quite old PowerBook I've installed (ages ago Wink) SideTrack, a little program which allows scrolling and rigth-clicking with the trackpad. It works fine with Test 4. Very Happy

Jacqueline
Back to top
View user's profile Send private message AIM Address
glawrie
Keymaker


Joined: Mar 17, 2008
Posts: 78
Location: Maidenhead, UK

PostPosted: Thu Mar 27, 2008 2:37 pm    Post subject: Reply with quote

+1 Works (scrolling in menus) on Logitech Cordless Optical Trackman running on 10.5.2 on PPC (Apple OS X not Logitech drivers).
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    trinity.neooffice.org Forum Index -> NeoOffice Testing All times are GMT - 7 Hours
Goto page 1, 2  Next
Page 1 of 2

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.04 Seconds