mkulesh / microMathematics

microMathematics Plus - Extended visual calculator
GNU General Public License v3.0
566 stars 68 forks source link

Poor swiping scrolling controls #76

Closed nyanpasu64 closed 3 years ago

nyanpasu64 commented 6 years ago

Moto G5 Plus, rooted, Magisk and Xposed, Android 7.0. Tested on latest microMathematics+ on F-Droid and microMathematics on Play Store.

The app feels very uncomfortable to use because of poor swiping controls. I would say the app is unpredictable and completely uncontrollable.

mkulesh commented 6 years ago

Hi @jimbo1qaz, thank you for the detailed report. However, I disagree that the app is unpredictable and completely uncontrollable. The scroll is implemented using a standard Android component that works very fine and completely predictable. Furthermore, I test the app on real devices under different Android version and be sure that the app behavior on all supported Android version is equal.

If I swipe once, the canvas scrolls along with my finger. If I let go and swipe again, the canvas keeps moving on its own, instead of following my finger

I agree, this is a bug and I can try to fix it.

Sometimes swiping twice causes the app to zoom in/out instead of scrolling twice

This behavior is hardware-dependent, I observed it on some devices. Unfortunately, I can not control it on the application level.

The document zoom sometimes changes randomly.

I have never observed it.

I can zoom in so far I get text with letters flickering on top of each other, with toast "Not enough memory for plot visualization".

Yes, it is a desired behavior. The document is a graphical object. Starting from some zoom level, it can not more fit to the memory and such a warning is shown.

Pinch-to-zoom does not zoom around the locations of my 2 fingers. Instead the document scrolls about an unpredictable and uncontrollable point.

Yes, it is a desired behavior. The document is zoomed related to the center-middle point of the formula area. I can inspect the implementation of zoom and maybe change this behavior.

And the document changes location 1/2 second after I let go of pinch-to-zoom or double-tap zoom.

It is a known bug. I can inspect the implementation of zoom and maybe fix it.

If you pinch in the middle of a text field, it jumps to the "right" location. If your cursor is in a text field but you scroll down then pinch, it jumps from your current location to the text field.

If the cursor is in a text field, the zooming is disabled. Therefore, I can not reproduce this problem.

When I tap in a text field, the keyboard pushes the document around, causing it to move in unpredictable ways. I think it's trying to keep the cursor visible on-screen, and not covered by the keyboad.

It is a behavior implemented on the system level. A also observed that Android tries to keep the cursor visible on-screen if keyboard is opened. However, I can not control it from the application level.

activedecay commented 5 years ago

If I swipe once, the canvas scrolls along with my finger. If I let go and swipe again, the canvas keeps moving on its own, instead of following my finger

I agree, this is a bug and I can try to fix it.

If I could vote for any of these, I would choose this one. Any status on it? It would make my life much better. Cheers!

mkulesh commented 5 years ago

Hi @activedecay, thanks for vote. I implement now some new mathematical functionality, and as the next step I will try to fix this problem.

mkulesh commented 5 years ago

Hi @activedecay, @jimbo1qaz I improved the behavior of canvas scrolls:

If I swipe once, the canvas scrolls along with my finger. If I let go and swipe again, the canvas keeps moving on its own, instead of following my finger

Now, this problem is fixed. Please could you test it using the latest autobuild: https://github.com/mkulesh/microMathematics/raw/autobuild/autobuild/microMathematics-v2.17.4.apk

activedecay commented 5 years ago

i most definitely appreciate your fixing that! and so quickly. however, if you publish to f-droid when you're confident you've worked out the kinks, i'll be happy to test that out for you and report back. cheers mate

mkulesh commented 5 years ago

Ok @activedecay, thank you. I'll inform you when new release will be available on F-Droid (appox. the end of the next week)

TheOtherDoctor commented 4 years ago

Installed the app today from f-droid, I see essentially all effects as described by the original post. Just scrolling through the "how to use document" ended reproducably in tiny fonts, squeezing the doc width to like 15% of screen width, unreadable. No zooming worked to get it back to readable size. Only when turning off "enable zoom" in app settings, the getting started doc became usable. I cannot tell which version this is as the "(i) about" entry in the main menu seems broken, not showing any info. F-Droid says (and documentation menu entry opens pdf for) 2.19.0; OS is Lineage 14.1.

mkulesh commented 3 years ago

Released in version 2.21.0