-
Notifications
You must be signed in to change notification settings - Fork 507
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
Can't select all text on UITextView using mac catalyst APIs #15156
Comments
This looks like just how Mac Catalyst handles events. First you get called for
then Mac Catalyst handles the actual click, and puts the cursor (and deselects all basically) where you clicked:
Another point is that if you tab into the text view, or right click it, then the entire text is selected. This doesn't look like a bug in xamarin-macios, so I'm closing this. If you feel this is wrong, please feel free to reopen and we'll have a look again. |
Hello there, first of all, don't know if it's a bug or if I'm missing something. But I can't select the text inside the MauiEditor control (UITextView in the Apple world).
if you want/need a more complex sample you can check the CommunityToolkit.MAUI sample in this PR
Steps to Reproduce
Expected Behavior
The second Editor control select all text
Actual Behavior
The second Editor doesn't select all text
Example Project (If Possible)
uitextview_bug_repro.zip
Environment
Version information
``` Visual Studio Enterprise 2022 for Mac Preview Version 17.3 Preview (17.3 build 198) Installation UUID: c444bfb6-7971-4bd2-8b2a-981dccbe4c17Runtime
.NET 6.0.3 (64-bit)
Architecture: Arm64
Roslyn (Language Service)
4.2.0-3.22181.8+a59a22c6f3c2cc1883e20cece412209f18f4a29f
NuGet
Version: 6.0.0.262
.NET SDK (Arm64)
SDK: /usr/local/share/dotnet/sdk/6.0.300/Sdks
SDK Versions:
6.0.300
6.0.203
6.0.202
6.0.201
MSBuild SDKs: /usr/local/share/dotnet/sdk/6.0.300/Sdks
.NET SDK (x64)
SDK Versions:
3.1.419
3.1.418
3.1.417
.NET Runtime (Arm64)
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
6.0.5
6.0.4
6.0.3
.NET Runtime (x64)
Runtime: /usr/local/share/dotnet/x64/dotnet
Runtime Versions:
3.1.25
3.1.24
3.1.23
Xamarin.Profiler
Version: 1.8.0.19
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
Updater
Version: 11
Apple Developer Tools
Xcode 13.4 (20503)
Build 13F17a
Xamarin.Mac
Xamarin.Mac not installed. Can't find /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/Version.
Xamarin.iOS
Version: 15.10.0.1 (Visual Studio Enterprise)
Hash: 568bdb2
Branch: d17-2
Build date: 2022-04-08 18:52:57-0400
Xamarin Designer
Version: 17.3.0.70
Hash: 4cf1a2208
Branch: remotes/origin/d17-3
Build date: 2022-05-25 15:22:03 UTC
Xamarin.Android
Version: 12.3.99.58 (Visual Studio Enterprise)
Commit: xamarin-android/main/64b22fc
Android SDK: /Users/pedrojesus/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
12.0 (API level 31)
8.1 (API level 27)
11.0 (API level 30)
10.0 (API level 29)
9.0 (API level 28)
SDK Command-line Tools Version: 5.0
SDK Platform Tools Version: 31.0.3
SDK Build Tools Version: 30.0.3
Build Information:
Mono: adf1bc4
Java.Interop: xamarin/java.interop/release/6.0.3xx@2a882d2d
ProGuard: Guardsquare/proguard@912d149
SQLite: xamarin/sqlite@7b1e016
Xamarin.Android Tools: xamarin/xamarin-android-tools/main@fc3c2ac
Microsoft Build of OpenJDK
Java SDK: /Library/Java/JavaVirtualMachines/microsoft-11.jdk
11.0.12
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
Eclipse Temurin JDK
Java SDK: /Library/Java/JavaVirtualMachines/temurin-8.jdk
1.8.0.302
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
Android SDK Manager
Version: 17.2.0.47
Hash: d6dd135
Branch: remotes/origin/dev/tondat/main-1512059~2
Build date: 2022-05-25 15:21:57 UTC
Android Device Manager
Version: 0.0.0.1127
Hash: 4bb4d48
Branch: remotes/origin/dev/tondat/main-1536295~1
Build date: 2022-05-25 15:21:57 UTC
Build Information
Release ID: 1703000198
Git revision: b61a5879556b3b4d5270ffffd9431e5ec7db233d
Build date: 2022-05-25 15:20:15+00
Build branch: release-17.3
Build lane: release-17.3
Operating System
Mac OS X 12.4.0
Darwin 21.5.0 Darwin Kernel Version 21.5.0
Tue Apr 26 21:08:37 PDT 2022
root:xnu-8020.121.3~4/RELEASE_ARM64_T6000 arm64
The text was updated successfully, but these errors were encountered: