yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] Jimmy34742:
I've still got the "notification center two times" issue: I need to pull the notification center down twice for it to properly show the newly toggled state, and then it continues in the proper state until the next time I toggle. My workaround now is to toggle into one-handed mode, pull down the notifications twice, go to OHM's settings and change it from "Both" to "Apps." Now my notification center stays permanently one-handed, even across reboots. From your point of view, this may be a bug, but I see it as a feature. I really think that I'm going to like leaving the notification center one-handed 100% of the time.

EDIT: I should add that toggling is now indeed super smooth, as described in the update info, which is great.

Suggestion for enhancement: have the system see the one-handed window's borders as the screen's borders. Let me explain. GMD considers the location where a gesture begins as well as the gesture's path before executing the gesture. Almost all of my gestures start from the thumb-side border. I have a few gestures that start from the non-thumb-side border, but they aren't one-handable because my thumb can't reach to the opposite side. In OHM's one-handed window, I still can only execute these non-thumb-side gestures at the screen's physical border, not at the one-handed window's border. If GMD could recognize the one-handed window's borders as the screen's borders, then that would make many more gestures possible. That's desirable because I could then substitute short non-thumb-side gestures for the long gestures I use now. Presently, I have to include long gestures because I have 70 gestures, and all the simple ones are already used up. And the longer the gesture, the more likely it is for me to execute incorrectly.
[Xposed Framework Modules] hamzahrmalik:
Sorry for not replying earlier. If you update the app to 2.0 you can choose a preset, basically you don't need to set settings it chooses the best settings for you
[Xposed Framework Modules] hamzahrmalik:
Your feedback is longer than my changelog...

Yes, I never fixed the issue with two times because I implemented your workaround instead and as you say it might even be considered a good thing

As for system borders, I'm not sure how possible that is and minor sure why you need it. This is what I understand from your description

You have 70 gestures

Some are small and other go right across the screen

When you are in OHM they still go right across

You want them to not go right across when you're in OHM

What I don't understand is that if you cannot use smaller features because they are all used up then surely by shrinking longer geatures by shrinking screen borders, the gestures would overlap and you would end up doing the wrong thing. Or not?
[Xposed Framework Modules] hamzahrmalik:
For 2.1 what should be prioritised?

Status bar is right up there, high priority

Navigation bar I'm not so sure about because its at the bottom of the screen anyway

Keyboard again, there are third party keyboards which support one hand mode such as touchpal whic is great IMO

Is there any interest in different margins for different orientations?

Any other requests?

Oh and the background ill see what I can do but I've been messing with it for a while now so can't guarantee
[Xposed Framework Modules] Jimmy34742:
Yes, the workaround is working out even better than the normal feature--thanks.

I'll try to explain better. There is no such thing as overlapping gestures. Gestures are distinguished by their starting point and path. If the same shape, such as [down right, up right], starts at different places (such as the top 1/3 of the thumb-side border vs. the middle 1/3 of the thumb-side border), then it's considered a different gesture.

The easiest gesture to do is [down right] starting from the thumb-side border, but only three starting points are possible (top 1/3, middle 1/3, bottom 1/3). Doing [down left] from the non-thumb-side border would be just as easy if my thumb could reach to that opposite end of the screen. My thumb can't reach the opposite border of the screen, but it can reach the opposite border of the one-handed window. In that case, I'd like to be able to do [down left] from the non-thumb-side border of the one-handed window, and have the system behave as if the [down left] began at the screen's physical border.

In fact, if I could begin gestures from the non-thumb-side border, then that would make about 50 more easy gestures available to be used. In that case, I would totally re-program many of my gestures from long thumb-side gestures to shorter, easier non-thumb-side gestures.
[Xposed Framework Modules] hamzahrmalik:
So really you want to be able to start gestures from "not the screen border"? Isn't that something to ask GMD devs?
[Xposed Framework Modules] Jimmy34742:
But I would only want to do this in one-handed mode. GMD consumes touches at the border, so I can't click control items and links underneath it. In that case, I wouldn't want to add "border" areas to only use as GMD starting points. If OHM could emulate a border touch from anywhere in the blank area, it could "fool" GMD into doing the right thing. Then when I escape one-handed mode, touching those parts of the screen would behave normally again.

GMD would have to get information from OHM to do this, so I don't think it's a GMD job. But maybe you can think of a way to make touching those big border areas in one-handed mode emulate touching the actual screen border?
[Xposed Framework Modules] hamzahrmalik:
Surely there is no harm in setting the gestures to always be in a smaller area?
[Xposed Framework Modules] Jimmy34742:
I'm not clear what you mean here. I'm just saying that it would be useful to be able start one-handed gestures from the non-thumb side. That would only be possible on a much smaller screen, or if OHM could emulate the borders on its small screen. This would also be useful for other apps that have user-configured hotspots. For example, Swipe Pad (another context-free, one-handed launcher) allows placing hotspots to actuate it only on the borders. If there was a way to activate hotspots from the little OHM window's borders as a replacement for the screen's physical borders, that would be very useful.
[Xposed Framework Modules] hamzahrmalik:
Oh so GMD doesn't allow you to have a gesture starting in the middle of the screen and you want to be able to?
[Xposed Framework Modules] Jimmy34742:
GMD does allow gestures in the middle of the screen, but simple gestures there are generally not good because it's too easy to accidentally execute them or press a control item in the middle of the screen. For example, an easy gesture like [up, down] in the middle of the screen is bad because it's accidentally executed when scrolling through a document, web page, or list. But [up, down] on the border works easily. So it's safer to only have gestures that start at a border. The situation with the small OHM window is a bit different. The non-thumb side border (of the little window) is physically in the middle of the screen, but is still all the way to one side. I'd like to be able to use both of the small OHM window's borders for [up, down] while still being able to scroll lists up and down in the middle of the window.
[Xposed Framework Modules] dimm0k:
using the Xposed module Gesture Navigation-Multitouch Gestures v1.0.6 to launch this mod so that I can trigger One-handed Mode... I've assigned it a simple gesture, but when I activate it all it does is open up this module's settings... any suggestions?
[Xposed Framework Modules] Jimmy34742:
After you set your settings, try launching the toggle not the app and see what happens. Also, isn't there a toggle for the app in the notifications? I don't use that myself.
[Xposed Framework Modules] hamzahrmalik:
After setting your settings kill the settings page from recents apps
[Xposed Framework Modules] RusherDude:
The toggle appeared in recents on first versions, then u fixed it and it didn't stay on recents after toggling, but now in v2.0 its back :S, why do we want this on recents if its a toggle, not an app launch? it has no sense..

Why do you say that about presets? If I selected X preset, and the preset put 200 up 200 right margins for example, next time I enter that section I should see the 200 up 200 right margins (like it happens now), and the preset selected :S, Why not? If the user selects an option, it MUST stay unless he breaks it by pressing another button or something (on this case the preset should stay until the user changes the margins, since in that case the margins doesn't represent the preset anymore).

Navigation bar is critical for usability, and Background is critical in politeness (and that sells..). Status bar is important but not more than the 2 options before, and keyboard is important too but the less one in that list by far (some keyboard apps does the job, but in the end it must be done since it must fit exactly into the margin zone hehe).

About different margins for different orientations, as I told you in the past, the app is broken on apps/games on landscape (it maps the clicks on the wrong coordinates, for example if the window is reduced, and you press on a buttonin the screen, the hit won't hit the button because it will translate in other coordinates matching the small window compared to the real one. Example of an app that gave me problems: Paper Camera.. OHM is very broken on landscape but imho thats not critical since we use both hands for landscape, thats why I never bothered to put it on the priority list :P.

One request for premium: As I said before, please let us refresh the margins zone dinamically by holding and moving there two margins collide (modifying the margin's window dinamically on all sides). Howver this is prem stuff and has waay less importante that everything noticed before :P.

Also, the problem with apps such as Phone/Hangouts persist :(.

Edit: I just noticed I can't assign the OHM toggle option on the xposed module "navigation gestures". When choosing an app, I choose OHM toggle but when doing the gesture OHM mode is launch. This is the first toggle giving me problems with this module so I doubt its a module problem. Maybe its not compatible?
[Xposed Framework Modules] hamzahrmalik:
not arguing, just asking, why is navigation bar critical? The bar is at the bottom, so surely it's easy to use one-handed? I will add it but I don't see why its critical.

The background, as I've said, is proving a pain. But i will try because i totally agree on this one

i agree with landscape

And with keyboard

dragging margins.....fiddly really

Maybe have some different profiles which can be toggled by a public Intent? Each profile would have different margins and other settings. This would probably be premium
[Xposed Framework Modules] RusherDude:
Uhm my bad, I replaced statusbar with navigation bar, to clarify:

Status bar: critical.

Nav bar: not much critical but it is a pain to reach the top sides icons (if we have more than the 3 usuals) with one hand :( (ofc not in a 5 inch phone, in bigger ones)
[Xposed Framework Modules] hamzahrmalik:
But status bar is ONLY critical to access notification, right?

Can't we use a third party shortcut?
[Xposed Framework Modules] hamzahrmalik:
Use a top margin of half your screen, and no left right or bottom margins. Then use a third party app to set double tapping home to toggling OneHand Mode
[Xposed Framework Modules] RusherDude:
Uhm in my case, the status bar controls my volume, my brightness (both with swipe gestures), lets me scroll to the top with a click (extremely useful when one-handing ;) ) and opens notifications. Also there are other mods to let it to stuff like turn screen off, activate full immersive mode, return to home window or to other apps, etc. So status bar does a lot of stuff!

Btw re-edited this, dunno if you saw it :P:

- About the rest, I agree. Yeah dinamically resizing the window is hard, but totally a premium feature :).

- Different profiles.. is this necessary? if we have already per-app margins.. don't see the use.

- Also, the problem with apps such as Phone/Hangouts persist .

- Edit: I just noticed I can't assign the OHM toggle option on the xposed module "navigation gestures". When choosing an app, I choose OHM toggle but when doing the gesture OHM mode is launch. This is the first toggle giving me problems with this module so I doubt its a module problem. Maybe its not compatible? Strange too.

And thanks a lot mate!
[Xposed Framework Modules] hamzahrmalik:
After that...yes ok status bar IS critical!! My phone is low-end so I don't mod it much, I never imagines having that many mods...

Different profiles for quickly changing margins within the same app. If people don't want it, I won't add it...I will add a poll

Make sure you kill the OHM app before toggling, I need to do something about that
[Xposed Framework Modules] RusherDude:
Haha, glad I conviced you :D

About the toggle, I open the toggle app when the normal OHM app is closed and after toggling it still leds the toggle app be alive on recents..

About profile... I don't find any use, but maybe others will :D.
[Xposed Framework Modules] hamzahrmalik:
Did the toggle app kill itself in 1.9?
[Xposed Framework Modules] RusherDude:
Not sure if 1.9, 1.8, 1.7 or by there. But in one of your versions it did kill itself.
[Xposed Framework Modules] hamzahrmalik:
I vaguely remember now, will do that again in 2.1
[Xposed Framework Modules] dimm0k:
unfortunately killing the app after applying the settings still does not activate the toggle. all it does is open up the settings for this module...
[Xposed Framework Modules] RusherDude:
Thanks :good:

It never worked for me. I meant, since the Toggle mode appeared on the app, I never, NEVER managed to get the OHM mode activated from the settings app. I always had to use the toggle lol.
[Xposed Framework Modules] dimm0k:
ahh, that... sucks =( I wanted to clean up the Notifications list by removing the toggle there and switching out of the app I'm currently in to press the toggle is kind of cumbersome.
[Xposed Framework Modules] hamzahrmalik:
[MENTION=4811172]RusherDude[/MENTION] [MENTION=5687667]dimm0k[/MENTION]

I hope you both realize that you have to press apply after toggling
[Xposed Framework Modules] dimm0k:
yes, I've pressed Apply to see the toast saying the settings were applied before trying to activate via the gestures module... for some reason it keeps opening up O-HM's settings.
[Xposed Framework Modules] Jimmy34742:
Landscape mode isn't really one-handable. I only use landscape mode on very rare occasions to quickly get a different view of something. I don't see ever using a device one-handed in landscape mode.

Dynamic re-sizing of the OHM window would be useful, but only if it could be done on a per app basis. My OHM window is one-size-fits-all: I've made it as large as possible, but where my thumb can still reach the far upper corner. It might be nice to make that bigger for some apps that don't have control items up there, but the current way we need to do per app settings makes it a bit inconvenient to find the optimal settings for an individual app. Re-sizing on the fly and then having the new window size recorded in that app's per app settings would be useful, but not high priority.
[Xposed Framework Modules] x1596357:
looks fun yet weird
[Xposed Framework Modules] hamzahrmalik:
Open OHM settings page

Set margins

Set master switch OFF

Press Apply

Press BACK not HOME to kill OHM

Use gesture to set master switch ON

EDIT

Make sure your gesture is opening "OneHand Toggle" not "OneHand Mode"
[Xposed Framework Modules] hamzahrmalik:
I agree with landscape being pointless

I'll see about dynamic margins but I can't see it being very easy but definitely useful
[Xposed Framework Modules] hamzahrmalik:
Deleted
[Xposed Framework Modules] dimm0k:
I've followed your instructions exactly and made sure it's set to Toggle, but still it brings up the config page. just curious, do you have it working on your end?
[Xposed Framework Modules] hamzahrmalik:
Yes of course i do....

Haha I'm consfused it works for me and for [MENTION=4155835]Jimmy34742[/MENTION] maybe he can help you

Sounds dumb... have you got any margins set?
[Xposed Framework Modules] Jimmy34742:
right, it works for me. I've been following this problem, but I can't think of anything except for the possibility that he's making some minor mistake that we can't see. I seem to recall in a previous early version thinking I got "stuck" in settings, but I now forget what I was doing wrong. [MENTION=5687667]dimm0k[/MENTION], what's your hardware and ROM?
[Xposed Framework Modules] hamzahrmalik:
2.1 is out

I've added a very simple widget with buttons for toggling apps NC and both. This might not be very useful for most people but some might like it. Especially if you have some sort of way of putting widgets in place other than home screen using some other tweak, I don't know.

I've also made presets stay after restarting the app

[MENTION=4811172]RusherDude[/MENTION]

I've tried to make the toggle not appear in recents but I'm not sure if it worked, test for me please
[Xposed Framework Modules] RusherDude:
Testing!

:(, the toggle app still appears in recents :(

Also, presets still don't show their name when you return to the settings, dunno if this is what you fixed or what.

Apart from the widget, I see this identical as v2.0 o.O
[Xposed Framework Modules] dimm0k:
[MENTION=4155835]Jimmy34742[/MENTION] I have a Samsung S4 stock ROM...

[MENTION=5290145]hamzahrmalik[/MENTION] with the new 2.1 version this is still happening to =(

I think I know what's going on... since this works for both of you, when you go to GestureNavigation by [MENTION=5219664]FemBlack[/MENTION] what do you see after you've set the particular gesture to OneHand Toggle? For me the activation list includes both OneHand Mode and OneHand Toggle, but no matter what I do after setting it to OneHand Toggle the "Right Edge Gestures" menu shows the application for that set gesture type as OneHand Mode. if I press on that gesture type to open up the activation list, it's set to OneHand Toggle!!
[Xposed Framework Modules] hamzahrmalik:
Presets should show their name now. On the preset selection it should be the one you selected last time.
[Xposed Framework Modules] Jimmy34742:
So that means you're not rooted, right? I wonder if that's relevant. All of us who've been using OHM for awhile are rooted because it was only available as an Xposed module. You're apparently using the Google Play version on a non-rooted phone.

I don't use FemBlack's GestureNavigation because it's strictly multitouch, and therefore always requires two hands. It doesn't make sense to use GestureNavigation if you want to operate your phone one-handed. I use GMD Gesture Control because it allows one-handed, uni-touch gestures. GMD also shows both the app and toggle as choices. I choose the toggle, and everything works as expected. By the way, I don't see one single advantage that GestureNavigation offers over GMD--FemBlack's app seems like a redundant subset of an already-existing, mature app.

[MENTION=4811172]RusherDude[/MENTION]: yeah, I now see that the toggle always appears in the recent apps. But I don't care because I never use the system's recent apps. I use GMD's recent apps because it can be programmed to a gesture, which is easier than longpressing the home button one-handed. GMD's recent apps function allows blacklisting, so the toggle never clutters my recents. Maybe there are also other recent apps replacements that will allow blacklisting (SwipePad?).
[Xposed Framework Modules] hamzahrmalik:
Err I think he is rooted. He means stock ROM rooted. Technically still stock. You can't install Xposed without root
[Xposed Framework Modules] Jimmy34742:
Oh. See, it's a bit easy to forget wtf. I've installed the OHM Extension from Xposed and bought and installed the premium app from Google Play. And then there's the free app in Xposed. So I guess you're saying the Google Play app won't work without the Xposed extension. You've probably explained this somewhere, but I forgot. New users might also get confused.
[Xposed Framework Modules] hamzahrmalik:
Of course you need the Xposed extension. It's an Xposed mod. It's separate from the main app because the main app is paid and paid apps don't work with Xposed. This is a workaround

In the free version there's no extension the Xposed extension is built into the main app
[Xposed Framework Modules] Jimmy34742:
Android Tuner's paid version automagically installs its Xposed module. Maybe that's worth doing if it's easy.
[Xposed Framework Modules] RusherDude:
They doesnt work :(.

On GestureNavigation, it doesn't do that for me. When I select toggle, it auto selects the normal app :( (one-hand mode). And opens normal app instead of the toggle :S. The point for me is to START using this app from normal using the phone, so it has a point to use a gesture for that.

Yeah there are fixes but why do we need to fix something when the app could kill itself like a lot others? It is pointless..
[Xposed Framework Modules] hamzahrmalik:
The presets need to be set again. Clear everything, save, open again, choose preset, save, exit, open and your preset will stay

Its only the first time so doesnt apply to people who have never used anything below 2.1

If the toggle won't work it's gesture navigations fault really. Ill research into it

Agreed, ill try to make it kill itself
[Xposed Framework Modules] RusherDude:
Nothing works on the presets, or im doing something wrong:

- From uninstall (and deleting data), I install 2.1, all margins are 0, I choose a preset, apply, exit and return: values are there, preset name is not. I delete all margins to 0 again. Set apply. Leave and enter again, select another preset, apply. When coming back the preset name isn't there :S

Its strange because I never had a prob using toggles with gesturenavigations, its like the toggle app pointed to the other app, very rare. It may be a GNs bug tho..

Thanks!

BTW: Thanks for margin name labels :D. Why is NC's tab so clustered?? the apps one is ok with spaces but the NC one is all clustered in the top part of the tab lol.

"Bottom right" preset is still broken, the app goes out of screen :(. EDIT: It doesnt go out, the buttom which changes between notification panel and quick settings gets broken and semi dissapears :(

Also, as a premium option, you could let us manage presets: DELETE ones not needed and SET new ones with our desired margins :D

REQUEST (sorry): Please, make it so when opening app/NC's tab the keyboard doesnt open automatically (with the left margin being assigned). Let the user click the margin or just open the tab and click preset. Unnecessary keyboards look kinda broken :(
[Xposed Framework Modules] hamzahrmalik:
I think this is the problem

i don't know how much you know about the internals of Android, but there are these things called Activity's

An Activity can be thought of as a screen

So, for example. in OHM, there is the Menu Activity, the Apps activity, the NC activity, the Help activity etc

Some activities can be set as "launcher" activities this means they can be...launched....lol

So in the case of OHM Menu and Toggle are launcher activities, they show on your launcher. Help and About etc do not

I think GestureNavigation uses the first launcher activity, so it launches Menu rather than Toggle

Also, presets don't do anything except pre-define the margins. It doesn't change anything that happens after you press Apply

So if you enter the margins manually, or choose Bottom-Right-Big makes no difference. I don't think this is an issue with the preset but something else

And choosing presets, hahaha, that's what i meant by profiles. You would make Profiles and then change between them on the fly using a notification

Don't make the keyboard come up automatically..wish i could....cannot currently figure out why it does!