onyx-intl / OnyxAndroidDemo

146 stars 39 forks source link

Refresh on floating apps #119

Open cvetelinandreev opened 2 months ago

cvetelinandreev commented 2 months ago

Hi team.

I have a problem with the Nav button (and any other floating app) when I'm in raw drawing enabled mode. The button doesn't recieve events and I need to toggle the raw drawing so I can use the Nav button. Same thing happens with the sample app. I can see that in the Notes app this problem is fixed. The raw drawing toggles is turned off when I click the nav button and turned on when I start scribing again. But how do I detect if the Nav button is clicked when I'm still in raw drawing mode is a mystery so far.

Seems that you don't support this project anymore. Where else I can find help?

cvetelinandreev commented 2 months ago

I have another discovery.

If I use another floating app e.g Utility floating calculator, it doens't work on the native Notes app as well. I need to push with the eraser ( which triggers disable/toggle raw drawing state) and then I can use the floating calculator. This seems to me that the NavBall is patching the issue (e.g disable raw draing mode on click), but not the others floating app.

Workaround is to use the eraser or the fingers.