This object is in archive! 

Sudden zoom behaviour using BlackBerry Passport keyboard

Aleksandr Shapayev shared this problem 7 years ago
Solved

Kind day!


I have a problem with Locus Map Pro 3.23.0: when I make even a slightest sliding movement with one finger over my BlackBerry Passport keyboard the zoom level suddenly jumps up to 0 m (either down to 90000 km). Since the keyboard has an optical trackpad underneath I can see the reason which underlies my problem. But it's very difficult not to touch the keyboard in any way during navigation. Moreover, unfortunately I can neither turn off the pinch-to-zoom in the Locus Map settings nor switch off the trackpad completely. If it helps in Oruxmaps the trackpad doesn't respond in any way but the pinch-to-zoom over the screen works correctly.


Thank you anyways for your program. Kind regards and looking forward to hearing from you. Aleksandr.

Replies (9)

photo
1

Good day Aleksandr,

I'm sorry to read about such troubles. Unfortunately no of our team own BlackBerry device, but I hope we will solve this.


Not sure, what your device "say" to Locus when you move with finger over keyboard, but first what we may try is to disable support for hardware keys in Locus itself. Please check menu > settings > maps > map control > and disable "Use hardware buttons" option. Let me know if this helped.

photo
1

Thank you very much for your quick response, Menion.


This setting was disabled by default. I've tried to set it on also - nothing changed. Besides, I've played with the Map Control Style and Simple Multi-Touch switches as well with no success. Blackberry 10 OS version is 10.3.3.2205 - the latest at the current moment.

photo
1

Update:

To be precise, it seems like this is the up-down movement over the keyboard, not left-right. Usually in other BlackBerry apps (like browser) it's responsible for the scroll function - maybe this can help you...

photo
1

Really interesting, thanks for unformation.


I think I have an idea where problem may be, not sure how to solve it yet.


If you find some time, please try this special version , start it and after map appear, let it be for a few seconds so I see a pause in log. Then do you movement that cause and issue and then close this app. In Locus/logs directory should be a text log file, so send me this please, thank you.

photo
1

Thank you a lot for your attention in my problem.


I tried to be as clean as possible. I guess that the turning point may be somewhere near 21:00:32.761

photo
1

Thank you for a log.

Complicated task ... I think I have correct reason, why this happen. Indeed you device simulate "scroll" mouse event that Locus handle and that do this scrolling. Now I need to know if I can separate scroll by mouse and scroll on your keyboard.


May you please try one more version exactly same as previously? Thank you


Version: https://nas.asamm.com/share.cgi?ssid=0ejMvnB

photo
1

Thank you for your time.

I think that I understand the complexity of your task. Maybe any workaround is possible - like switching off mouse scroll in settings? Otherwise, if I'm allowed to dream a bit - to add an option that changes mouse scroll behaviour from zoom to pan, BlackBerry Passport's trackpad supports horizontal movements as well... ;)


Returning to my log: now the turning point is at 00:18:29.242

Unfortunately it looks like a mouse scroll if my assumptions are correct...

photo
1

Good day Aleksandr,

you are correct, it behave like basic mouse.


Oki. I've created new parameter into config file 'hardware_buttons_scroll_to_zoom' . This scroll behavior will be enabled by default, because I believe it is used by users in emulators.


Short description of config file is here: http://docs.locusmap.eu/doku.php?id=manual:advanced:customization:config , so just edit it after new release of Locus Map will be published from "1" to "0" value. Hope it won't be too complicated for you. Let me know if it will work. New version will be published at begin of May, thanks for understanding.

photo
1

Kind day, Menion.


Thank you very much! I hope everything will be OK with the new version.

No problems with need to wait a bit.

Thank you a lot for your passion, and all the best wishes to you.

Kind regards, Aleksandr.

Replies have been locked on this page!