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

Problems after upgrading to Sierra or High Sierra? Try these steps
Problems after upgrading to NeoOffice 2017? Try these steps
Download or installation problems? Try these steps


Support
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


RSS Feeds
· Announcements Only
· All Posts


  
NeoOffice :: View topic - scrolling by gesture
scrolling by gesture
 
Post new topic   Reply to topic    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 Reply with quote

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
View user's profile Send private message
pluby
The Architect
The Architect


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

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

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
View user's profile Send private message Visit poster's website
ovvldc
Captain Naiobi


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

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

Thanks, Patrick!
_________________
"What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


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

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

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
View user's profile Send private message Visit poster's website
ovvldc
Captain Naiobi


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

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

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
View user's profile Send private message
amayze
The Merovingian


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

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

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
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


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

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

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
View user's profile Send private message Visit poster's website
amayze
The Merovingian


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

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

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
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


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

PostPosted: Sat Feb 01, 2014 9:01 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
amayze
The Merovingian


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

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

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
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


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

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

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
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


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

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

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    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.
Page Generation: 0.03 Seconds