Closed Andre-lbc closed 2 weeks ago
+1 facing the same problem
Any update on this ? It's been about 1 year
@Andre-lbc does this issue still persists?
does this issue still persists?
Sorry, I just saw this, I'll check it out and get back to you tomorrow.
Hi, I can confirm that I can still reproduce these errors with the latest stable version available to me (flutter_quill: 10.7.5)
Console logs:
════════ Exception caught by services library ══════════════════════════════════
Unable to find an action for an Intent with type ExpandSelectionToLineBreakIntent in an Actions widget in the given context.
════════════════════════════════════════════════════════════════════════════════
════════ Exception caught by services library ══════════════════════════════════
Unable to find an action for an Intent with type ExpandSelectionToLineBreakIntent in an Actions widget in the given context.
════════════════════════════════════════════════════════════════════════════════
════════ Exception caught by services library ══════════════════════════════════
Unable to find an action for an Intent with type ExpandSelectionToDocumentBoundaryIntent in an Actions widget in the given context.
════════════════════════════════════════════════════════════════════════════════
════════ Exception caught by services library ══════════════════════════════════
Unable to find an action for an Intent with type ExpandSelectionToDocumentBoundaryIntent in an Actions widget in the given context.
════════════════════════════════════════════════════════════════════════════════
Thank you for the input, I was indicating that there was a similar issue (unimplemented intent action) that's also on macOS that's fixed, will fix this issue in a similar way as soon as we can.
The following intents are both missing and need actions that implement them:
forward
property.forward
property.This is similar to #1937.
It seems that ExtendSelectionToNextParagraphBoundaryOrCaretLocationIntent
is also not implemented:
The following assertion was thrown during method call TextInputClient.performSelectors:
Unable to find an action for an Intent with type ExtendSelectionToNextParagraphBoundaryOrCaretLocationIntent in an Actions widget in the given context.
Unable to find an action for an Intent with type ExtendSelectionToNextParagraphBoundaryOrCaretLocationIntent in an Actions widget in the given context.
Fixed in #2279.
https://github.com/user-attachments/assets/25bd4422-471c-4f3e-a7ff-1ef0ca836c1b
Will need more time to complete the bug fix, also notice some other related bugs, undocumented actions/intents, inconsistency with the naming, missing tests, some other intents to be implemented, code duplication to achieve a task, and common functionalities being duplicated all over the source code.
Which is why more time needed before releasing an incomplete bug fix.
For now, you can test and see if the issue exist on the branch of #2279:
$ git clone --depth 1 --branch fix/1192 https://github.com/singerdmx/flutter-quill.git
$ (cd example/macos && pod update OrderedSet && pod install --repo-update)
$ (cd example && flutter run -d macos)
It looks like the new version of flutter_inappwebview
is causing build issues on macOS as well:
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:00006000-0008192914A1801E, name:My Mac }
{ platform:macOS, arch:x86_64, id:00006000-0008192914A1801E, name:My Mac }
~/.pub-cache/hosted/pub.dev/flutter_inappwebview_macos-1.1.0/macos/Classes/InAppWebView/InAppWebView.swift:870:26: error: method does not override any method from its superclass
public override func evaluateJavaScript(_ javaScriptString: String, completionHandler: (@MainActor @Sendable (Any?, (any Error)?) -> Void)? = nil) {
^
open func evaluateJavaScript(_ javaScriptString: String, completionHandler: ((Any?, (any Error)?) -> Void)? = nil)
^
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Flutter Assemble' from project 'Runner')
** BUILD FAILED **
See related issue #2280.
Hello @EchoEllet, Thanks!
Just upgraded to 10.8.5 and ran it on macOS:
command + shift + arrow up
and command + shift + arrow down
no longer throw exceptions and are showing the expected behavior.
command + shift + arrow left
and command + shift + arrow right
no longer throw exceptions, but are showing slightly different behavior than their native counterpart: they now expand the selection to the end/beginning of the paragraph, whereas on native they expand until the end/beginning of the line.
no longer throw exceptions, but are showing slightly different behavior than their native counterpart: they now expand the selection to the end/beginning of the paragraph, whereas on native they expand until the end/beginning of the line.
I'm unsure about the expected native behavior on macOS though the current behavior does what you described, see ExpandSelectionToLineBreakAction.
Can you share an example video of a macOS app that implements this shortcut as expected?
Of course, here are some examples:
I think this is not dependent on the application level implementation, as all third-party apps I have used so far support this (Firefox, Chrome, Visual Studio Code, Notion, Word, Excel, OneNote, Android Studio, etc)
Hello, I'm getting the following 2 errors when using
command + shift + arrow
shortcuts on MacOS:Error 1:
Unable to find an action for an Intent with type ExpandSelectionToDocumentBoundaryIntent in an Actions widget in the given context.
Triggered bycommand + shift + arrow up
andcommand + shift + arrow down
(Platform shortcut for moving selection from current position to start or end of text)Error 2:
Unable to find an action for an Intent with type ExpandSelectionToLineBreakIntent in an Actions widget in the given context.
Triggered bycommand + shift + arrow right
andcommand + shift + arrow left
(Platform shortcut for moving selection from current position to start of end of line.)