Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - scrolling by gesture
scrolling by gesture
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
ovvldc
Captain Naiobi


Joined: Sep 13, 2004
Posts: 2352
Location: Zürich, CH

PostPosted: Thu Jan 16, 2014 1:28 pm    Post subject: scrolling by gesture

Dear Patrick,

I recall you changed something recently about the scroll gestures. Is there any way of influencing how much a finger move scrolls text?

I am noticing that swiping my fingers barely moves the text, only a line or two or three, even if I move it quickly. I am used to them going a bit faster, for example in Safari. Perhaps this is just on my system, but I am still curious.

Edit: I am mistaken, text moves around 10 lines. But in Safari, I can move two screens of text with a fast swipe...

Best wishes,
Oscar

_________________
"What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Thu Jan 16, 2014 9:19 pm    Post subject:

Swiping definitely is moving a shorter distance as a result of the smoother trackpad magnify/zoom gestures change that I made in NeoOffice 3.4.1.

Unfortunately, I am not sure that you can increase the amount of scrolling that occurs by much. I can get almost a full page of scrolling if I swipe most of the trackpad height, but ultimately what you are seeing is caused by the NeoOffice code putting a limit on the amount of swipe or pinch gesture that it will process per second.

When I have some time, I will see if I can increase the vertical swipe limit without causing the excessive zooming problem that I had fixed to reoccur.

Patrick
Back to top
ovvldc
Captain Naiobi


Joined: Sep 13, 2004
Posts: 2352
Location: Zürich, CH

PostPosted: Fri Jan 17, 2014 12:42 am    Post subject:

Thanks, Patrick!
_________________
"What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Jan 29, 2014 12:27 pm    Post subject:

I have tweaked the swipe event code so that vertical swiping is more responsive. Vertical swiping now moves roughly 2 pages when Writer is at 100% zoom. I also slowed down magnification that is triggered by swiping while holding the Command key.

You can test these changes by installing either of the following test patches:

NeoOffice 3.4.1:
http://nick.neooffice.org/test/NeoOffice-3.4.1-Patch-0-Test-1-Intel.dmg

NeoOffice 2013.2:
http://nick.neooffice.org/test/NeoOffice-2013.2-Test-1-Intel.dmg

Patrick
Back to top
ovvldc
Captain Naiobi


Joined: Sep 13, 2004
Posts: 2352
Location: Zürich, CH

PostPosted: Wed Jan 29, 2014 1:08 pm    Post subject:

I just tried it, and it feel much better already Smile
_________________
"What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Back to top
amayze
The Merovingian


Joined: Oct 24, 2005
Posts: 561
Location: Edinburgh, Scotland

PostPosted: Thu Jan 30, 2014 9:42 am    Post subject:

I've installed the latest patch, and it is indeed more responsive when using an Apple track pad on my mac with Mac OS X 10.6.8 and scrolling with two fingers, however with an Apple wireless mouse (the one with the touch sensitive top) on a mac with OS X 10.9.1 an odd thing happens.

It appears to ignore all scroll events from the mouse when your finger is in contact with it. However when you lift your finger at the end of a scrolling move (flick) the NeoOffice window responds to the scroll events that are generated to give you that nice slowing down effect after a flick.

I hope that explanation is clear enough.

Andy
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Thu Jan 30, 2014 11:03 am    Post subject:

amayze wrote:
It appears to ignore all scroll events from the mouse when your finger is in contact with it. However when you lift your finger at the end of a scrolling move (flick) the NeoOffice window responds to the scroll events that are generated to give you that nice slowing down effect after a flick.


I think I know what was causing what you see. In the last test patch, I had added code that filtered out scrollwheel "phase" events. I had added that code because at one point I had thought that they were causing the occasional rapid magnification when swiping while holding the Command key.

I later found the cause of the rapid magnification and it was not due to scrollwheel phase events so in the following test patches I have reenabled handling of such events.

Does the behavior that you saw still occur after you install either of the following patches?:

NeoOffice 3.4.1:
http://nick.neooffice.org/test/NeoOffice-3.4.1-Patch-0-Test-2-Intel.dmg

NeoOffice 2013.2:
http://nick.neooffice.org/test/NeoOffice-2013.2-Test-2-Intel.dmg

Patrick
Back to top
amayze
The Merovingian


Joined: Oct 24, 2005
Posts: 561
Location: Edinburgh, Scotland

PostPosted: Sat Feb 01, 2014 2:37 am    Post subject:

I've installed NeoOffice 3.4.1 Patch 0 Test 2.

It resolves the scrolling issue I reported, but I now see the same effect when Cmd-scrolling, i.e. the magnification only changes after I take my finger off the mouse after flicking up or down.

Andy
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sat Feb 01, 2014 9:01 am    Post subject:

amayze wrote:
I've installed NeoOffice 3.4.1 Patch 0 Test 2.

It resolves the scrolling issue I reported, but I now see the same effect when Cmd-scrolling, i.e. the magnification only changes after I take my finger off the mouse after flicking up or down.


In the following test patches I significantly lessened the amount of reduction factor that I was applying to Command-scroll events (the reduction factor is what I use to make Command-scroll events zoom only a little bit at a time instead of zooming wildly).

Are Command-scroll events still unresponsive after you install either of the following test patches?:

NeoOffice 3.4.1:
http://nick.neooffice.org/test/NeoOffice-3.4.1-Patch-0-Test-3-Intel.dmg

NeoOffice 2013.2:
http://nick.neooffice.org/test/NeoOffice-2013.2-Test-3-Intel.dmg

Patrick
Back to top
amayze
The Merovingian


Joined: Oct 24, 2005
Posts: 561
Location: Edinburgh, Scotland

PostPosted: Sat Feb 01, 2014 9:58 am    Post subject:

I've installed NeoOffice 3.4.1 Patch 0 Test 3.

That seems to have fixed it. Normal scrolling through the document is fine and Cmd-scrolling seems to change the scaling factor in a controlled and predictable fashion.

Thanks Patrick.

Andy
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sun Mar 30, 2014 11:43 am    Post subject:

FYI. I have included the fix for this bug in NeoOffice 3.4.1 Patch 1 which can be downloaded from the NeoOffice patch download page.

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Apr 15, 2014 10:03 pm    Post subject:

FYI. I have included the fix for this bug in NeoOffice 2013.3 which is available in Apple's Mac App Store.

Patrick
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Page 1 of 1

 
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.