mb1986 / rm-hacks

Small improvements and tweaks for rM devices, covering both rM1 and rM2.
Other
510 stars 11 forks source link

Gesture to close document in split doc #298

Open knox-dawson opened 6 months ago

knox-dawson commented 6 months ago

In split doc, if I have the main doc at the bottom (e.g., so the dividing line is in the middle), I can swipe down near the DIVIDING LINE and close the entire document (both docs).

I think the swipe down gesture for closing the document should work only from the top portion of the tablet display.

PepikVaio commented 6 months ago

When I swipe in the middle, only one document closes, and it's the one that's embedded.

knox-dawson commented 6 months ago

If the lower document is the embedded one, swiping in the middle will close that one. If the lower document is the main doc, swiping in the middle will close both of them.

This, again, is one of those things that I'm not 100% sure is wrong. If it is changed such that you can only swipe at the top of the tablet, and doing so closes both docs, then you lose the feature you're describing--closing just the embedded doc. Smarter heads than mine will find a way ...

atngames commented 6 months ago

This was a feature, I did not find a better way to implement both possibilities. If you do, let me know 🤔

knox-dawson commented 6 months ago

So, question 1: When in split docs, can you close just the main doc and have the embedded doc become the (only) main doc? If this is not possible, then the suggestion below may not work.

Currently, you can swipe down from the top of either doc in either position (top or bottom).

If the doc is the embedded doc, then that doc is closed and the main doc remains.

If the doc is the main doc, then both docs are closed and you go back to My files.

I suggest (if it's possible), that swiping from the top of either doc will close THAT doc and leave the other one open.

So if you swipe from the top of the embedded doc, then it closes and the main doc remains (as it works now).

If you swipe from the top of the main doc, then the main doc closes and the embedded doc becomes the main doc and remains open.

To me, this seems the most intuitive. If this is not possible, I have another suggestion.

atngames commented 6 months ago

This seems reasonable. Let's try 😅