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

[Android] Context menu disappears during text selection #2124

Open
1 task done
stepushchik opened this issue Aug 19, 2024 · 8 comments · Fixed by #2128
Open
1 task done

[Android] Context menu disappears during text selection #2124

stepushchik opened this issue Aug 19, 2024 · 8 comments · Fixed by #2128
Labels
bug Something isn't working

Comments

@stepushchik
Copy link

stepushchik commented Aug 19, 2024

Is there an existing issue for this?

Flutter Quill version

10.3.1

Steps to reproduce

  1. Add some text (several words)
  2. Long click by word
  3. Change selection

Expected results

There is an option to copy new selected text

Actual results

Context menu is hidden. Please find the attached screenshots.

Code sample

Code sample
[Paste your code here]

Additional Context

Screenshots / Video demonstration

Screenshot 2024-08-19 at 16 13 43

Screenshot 2024-08-19 at 16 13 59

Logs
[Paste your logs here]
@stepushchik stepushchik added the bug Something isn't working label Aug 19, 2024
@stepushchik
Copy link
Author

Maybe relates to #2111

@demoYang
Copy link
Contributor

demoYang commented Aug 20, 2024

check this commit #2128

@stepushchik
Copy link
Author

stepushchik commented Aug 20, 2024

@demoYang @singerdmx v10.4.0: Android: I still can't copy updated selected text:

Screenshot 2024-08-20 at 10 09 45

Screenshot 2024-08-20 at 10 10 02

@stepushchik
Copy link
Author

@demoYang @singerdmx Also during selection:

Null check operator used on a null value
W/System.err(24091): 	at flutter_quill.src.editor.widgets.delegate.dart.EditorTextSelectionGestureDetectorBuilder.onDragSelectionUpdate(delegate.dart:766)
W/System.err(24091): 	at flutter_quill.src.editor.widgets.text.text_selection.dart._EditorTextSelectionGestureDetectorState._handleDragUpdate(text_selection.dart:998)
W/System.err(24091): 	at flutter.src.gestures.tap_and_drag.dart.BaseTapAndDragGestureRecognizer._checkDragUpdate.<fn>(tap_and_drag.dart:1244)

@demoYang
Copy link
Contributor

@demoYang @singerdmx Also during selection:

Null check operator used on a null value
W/System.err(24091): 	at flutter_quill.src.editor.widgets.delegate.dart.EditorTextSelectionGestureDetectorBuilder.onDragSelectionUpdate(delegate.dart:766)
W/System.err(24091): 	at flutter_quill.src.editor.widgets.text.text_selection.dart._EditorTextSelectionGestureDetectorState._handleDragUpdate(text_selection.dart:998)
W/System.err(24091): 	at flutter.src.gestures.tap_and_drag.dart.BaseTapAndDragGestureRecognizer._checkDragUpdate.<fn>(tap_and_drag.dart:1244)

is exception ? do you have video ?

@yangzai100

This comment was marked as resolved.

@EchoEllet
Copy link
Collaborator

Maybe relates to #2111

If it's not an issue with 9.5.23 then it's a regression related to the magnifier.

@EchoEllet EchoEllet reopened this Dec 11, 2024
@EchoEllet
Copy link
Collaborator

Reopened; check if the issue is reproducible.

@EchoEllet EchoEllet mentioned this issue Dec 11, 2024
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants