Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS - Inaccurate Cursor Placement #3865

Closed
scuba-tech opened this issue Oct 3, 2020 · 35 comments
Closed

iOS - Inaccurate Cursor Placement #3865

scuba-tech opened this issue Oct 3, 2020 · 35 comments
Labels
bug It's a bug stale An issue that hasn't been active for a while...

Comments

@scuba-tech
Copy link

scuba-tech commented Oct 3, 2020

Environment

Joplin version: 10.1.0
Platform: iPhone XR
OS specifics: iOS 14.0.1

Steps to reproduce

  1. Open large document (anything that requires scrolling in iOS)

  2. Switch to edit mode

  3. Attempt to place cursor anywhere beyond the first screenful of text

Description

When in edit-mode and attempting to place the cursor anywhere beyond the first “page” (anything where the text has been scrolled), upon tapping to place the cursor the document and cursor snaps back to near the top of the document.

When attempting to use a dragging motion to place the cursor (instead of tapping), the cursor instead snaps to the start or finish of the document.
At this point, editing appears to be disabled.

This bug has made editing documents greater than one page (as-viewed on iOS) effectively impossible.

Describe what you expected to happen

Being able to place the cursor anywhere within the document while in edit mode.

Original Forum Post

https://discourse.joplinapp.org/t/inaccurate-ios-cursor-placement/11269

Since ~10.0.53, in all larger notes when editing in the standard editor (not experimental), scrolling several pages past the current cursor position, and tapping, will jump the cursor position only a few lines from its previous position (jumping the scroll bar back), not where it should be. Happens intermittently with no current discernible pattern. Happens with any long file.

Another possibly related issue: if dragging the cursor itself (tapping and holding cursor, then dragging, that was introduced since iOS13), the cursor will jump to the start or end of the document, and cannot be moved anywhere else.

Logfile

(TBD, will edit and/or post separately)

@scuba-tech scuba-tech added the bug It's a bug label Oct 3, 2020
@scuba-tech
Copy link
Author

Logs

F5586494-F0AA-41CE-8C59-E06B8BC9BA11

866D701B-CB3D-48A6-969D-07A647F09C0A

@bela53
Copy link

bela53 commented Oct 8, 2020

This also happens on Joplin Desktop, Linux/Ubuntu.

As described, Joplin snaps to the top of the page when editing any part in a large document like typing one letter (markdown mode). I cannot reproduce the issue consistently, it appears at some point in time. A current workaround is to restart Joplin to make editing possible (until the bug starts to happen again).

Note: bug seems to be introduced with the current version v1.1.4. Before it worked.

Update:
After more investigation, this snapping seems to occurs in combination with a previous search query.
If I type something in the search field (F6), select one of the found (large) notes and edit it, with each key press it snaps to the top.
If the same note is selected without having searched before, editing works as usual.

@scuba-tech
Copy link
Author

I’ve just updated to Joplin iOS version 10.2.0, and just wanted to confirm that this bug behavior is still present.

Can’t scroll beyond the first viewport/window on note editing mode, unless I jump a paragraph or two at a time.

@scuba-tech
Copy link
Author

scuba-tech commented Oct 12, 2020

Just updated to Joplin v. 10.2.1 (database v34), and can confirm that this issue still happens around half the time when trying to place the cursor.

When I tap to try and edit a different page/viewport, the editor snaps back up to near the top.
If I tap on the same page/viewport, it usually seems to work.

Video: https://imgur.com/a/6SJqnb4


UPDATE: I have discovered a workaround for now, if I scroll to where I want to cursor to be, and then press-and-hold on the screen for ~1 second, the cursor changes to a "drag-and-drop" mode with the blue cursor and a grey "shadow" cursor. When I release my finger, the cursor drops where I place it every time, and no longer snaps to nearby the previous location. I am placing this update here in the hopes that other iOS users see this when searching. Editing longer documents is still possible, it just currently requires to press-and-hold to move the cursor off the current page.

Video of workaround: https://imgur.com/a/BxCS4gQ

Hopefully this helps someone else out there. :)

@stale
Copy link

stale bot commented Nov 12, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

@stale stale bot added the stale An issue that hasn't been active for a while... label Nov 12, 2020
@scuba-tech
Copy link
Author

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

Yes, I checked my phone again to confirm: this issue is still present on iOS v. 14.2; Joplin v. 10.3.1

@stale stale bot removed the stale An issue that hasn't been active for a while... label Nov 12, 2020
@stale
Copy link

stale bot commented Dec 12, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

@stale stale bot added the stale An issue that hasn't been active for a while... label Dec 12, 2020
@scuba-tech
Copy link
Author

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

Yes, I checked my phone again to confirm: this issue is still present on iOS

@stale stale bot removed the stale An issue that hasn't been active for a while... label Dec 12, 2020
@StanyStany
Copy link

Hi everyone, I confirm too : this issue is still present (and annoying) on iOS.

@stale
Copy link

stale bot commented Jan 26, 2021

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

@stale stale bot added the stale An issue that hasn't been active for a while... label Jan 26, 2021
@scuba-tech
Copy link
Author

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

No idea, I gave up and have moved on to markdown via Textastic. Hopefully someone else here can confirm if this is still an issue.

@stale stale bot removed the stale An issue that hasn't been active for a while... label Jan 27, 2021
@StanyStany
Copy link

Hopefully someone else here can confirm if this is still an issue.

It is.

@wishinghand
Copy link

It's an issue on my iPhone 12 Pro Max. Joplin version 10.7.2. It's not just scrolling down from the initial screen, but trying to place the cursor anywhere more than a page or so away from the cursor's current position.

@guiix-code
Copy link

Best illustrated with video (attached). Note I am tapping around line 40 each time.

Joplin.cursor.jump.iOS.14.4.iPhone.8.mp4

Environment

Joplin version: 10.7.2 (and previous versions for some time)
Platform: iOS 14.4 on iPhone 8
OS specifics: 14.4

Steps to reproduce

  1. Create a new note with > 50 lines of text.
  2. Edit and tap at start of list (or end of list).
  3. Scroll down anywhere off screen, and tap again.

The cursor does not focus at the correct spot, but jumps a few lines from the original cursor position only.

@stale
Copy link

stale bot commented Apr 18, 2021

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

@stale stale bot added the stale An issue that hasn't been active for a while... label Apr 18, 2021
@wishinghand
Copy link

Still an issue for me.

@stale stale bot removed the stale An issue that hasn't been active for a while... label Apr 19, 2021
@guiix-code
Copy link

Still an issue here too.

@StanyStany
Copy link

Still an issue indeed. It was such an annoyance that I had to move to Bear, sadly.

@scuba-tech
Copy link
Author

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

Still an issue for me. It’s bad enough that I gave up on Joplin for my org and moved to Textastic for my notes. (Still rooting for Joplin!)

@stale
Copy link

stale bot commented Jun 2, 2021

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

@stale stale bot added the stale An issue that hasn't been active for a while... label Jun 2, 2021
@StanyStany
Copy link

Fixed here ! Thank you very much, it's a real improvement, that may make me switch back to Joplin (iOS 14.5.1, Joplin 10.8.1).

@stale stale bot removed the stale An issue that hasn't been active for a while... label Jun 2, 2021
@guiix-code
Copy link

Still an issue for me, unfortunately.

@StanyStany
Copy link

Still an issue for me, unfortunately.

Strange. What are your IOS and Joplin versions ?

@guiix-code
Copy link

iOS 14.6 on iPhone 8, Joplin 10.8.1

@stale
Copy link

stale bot commented Jul 15, 2021

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

@stale stale bot added the stale An issue that hasn't been active for a while... label Jul 15, 2021
@guiix-code
Copy link

Unfortunately, still an issue.

@stale stale bot removed the stale An issue that hasn't been active for a while... label Jul 15, 2021
@StanyStany
Copy link

I can’t understand why it’s fixed for me and not for you, guys. We are probably using the same iOS and Joplin versions (iOS 14.6 and Joplin 12.1.2 here). Can it be related to our phones (iPhone 6s here, iPhone 8 for you, @doomsy) ? Can it be related to the fact that I now have a very few notes since I switched to another note taking app (2 notes now vs 1800 when I was using Joplin) ? That’s very strange.

@stale
Copy link

stale bot commented Aug 18, 2021

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

@stale stale bot added the stale An issue that hasn't been active for a while... label Aug 18, 2021
@guiix-code
Copy link

Still an issue.

Hopefully when the CodeMirror 6 update comes to iOS, the issue fixes itself.

@stale stale bot removed the stale An issue that hasn't been active for a while... label Aug 18, 2021
@stale
Copy link

stale bot commented Sep 19, 2021

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

@stale stale bot added the stale An issue that hasn't been active for a while... label Sep 19, 2021
@guiix-code
Copy link

Still an issue.

@stale stale bot removed the stale An issue that hasn't been active for a while... label Sep 19, 2021
@stale
Copy link

stale bot commented Nov 16, 2021

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

@stale stale bot added the stale An issue that hasn't been active for a while... label Nov 16, 2021
@guiix-code
Copy link

Using the beta editor does not have the problem. But the problem still exists in the old editor for what it's worth.

@stale stale bot removed the stale An issue that hasn't been active for a while... label Nov 16, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2022

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

@github-actions github-actions bot added the stale An issue that hasn't been active for a while... label Jan 9, 2022
@github-actions
Copy link
Contributor

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, feel free to create a new issue with up-to-date information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug stale An issue that hasn't been active for a while...
Projects
None yet
Development

No branches or pull requests

5 participants