Patch: disable left swipe for Android apps

Rating: 
5
Your rating: None Average: 5 (2 votes)

This patch disables swiping from left when Android app is running. This way the apps own menu can be accessed easily. Without the this patch it could be accessed with two fingers, one just holding somewhere and the other swiping from the left (if someone didn't know this yet).

There is a slight chance that this patch conflicts with the partnerspace stuff (most likely not), so if you encounter any, comment below.

How this patch works? I just check that the application window's className doesn't end with '.desktop'. Every Android app's className I tested didn't, but there is a chance some might. This is not bullet proof way to check it, I know. I just didn't find any other easy way to do it (yet, hopefully).

Comment below if you encounter any issues and let's see if there's something to be done.

Keywords:

Application versions: 
AttachmentSizeDate
File sailfishos-android-leftswipe-patch-0.0.1-1.noarch.rpm3.08 KB04/03/2015 - 17:52
File sailfishos-android-leftswipe-patch-0.0.2-1.noarch.rpm3.37 KB05/03/2015 - 10:24
Changelog: 

0.0.1 - Initial version
0.0.2 - Added support for orientation changes

Comments

malibu's picture

Hey there ! Is it working on last update ? ( 1.1.4.29 )

sevanteri's picture

I have succesfully disabled the swipe in android apps, but something is still grabbing the focus or something so the menu won't open. :(

sevanteri's picture

Hey! I just updated my own Jolla and it doesn't seem to work. Gonna start fixing it now!

sevanteri's picture

Oh wow... the compositor.qml file has changed quite a lot. This might take a while.

ianjo's picture

Love this app, hope you're able to get it working again! :)

salkos73's picture

Very useful for app like Gmail, Youtube, etc. ..they have a hidden menu that appears by a swipe from left to right. Excellent idea!

Thank you!

malibu's picture

Cool idea, usefull for some apps, but can you implement the screen rotation ?

In landscape mode, it's become impossible to open even view !

sevanteri's picture

Yea sure, I'll take a look.

malibu's picture

Thanks a lot for this update, patch is now perfect :P