Maui.Markup icon indicating copy to clipboard operation
Maui.Markup copied to clipboard

[Bug] Pasting into text entry does not work on iOS

Open ss-proc opened this issue 3 years ago • 4 comments
trafficstars

Description

Hi, I'm a Maui / markup newbie and stumbled into this problem. In the settings, copy and pasting into Text entry field doesn't work.

Stack Trace

None. UI bug

Link to Reproduction Sample

https://github.com/CommunityToolkit/Maui.Markup/tree/main/samples

Steps to Reproduce

  1. Run the sample app
  2. Go to settings
  3. Copy paste a number into the text entry

Expected Behavior

Pasted value should show-up

Actual Behavior

Paste does not work. But works in other app like Messages. So it looks like copy > saves to device clipboard but paste doesn't work in the Maui app. But paste works in other iOS apps.

Basic Information

❯ dotnet --info
.NET SDK (reflecting any global.json):
 Version:   6.0.400
 Commit:    7771abd614

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  12.5
 OS Platform: Darwin
 RID:         osx.12-arm64
 Base Path:   /usr/local/share/dotnet/sdk/6.0.400/

global.json file:
  Not found

Host:
  Version:      6.0.8
  Architecture: arm64
  Commit:       55fb7ef977

.NET SDKs installed:
  6.0.400 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.8 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.8 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Workaround

None that I know of

Reproduction imagery

https://user-images.githubusercontent.com/104405893/189470801-93f2421d-2206-454c-a050-5de5d4ac8767.mp4

ss-proc avatar Sep 10 '22 05:09 ss-proc

@ss-proc have you tried this functionality in a new .NET MAUI project? I would be surprised if there was anything this toolkit is doing to cause the issue.

bijington avatar Sep 12 '22 13:09 bijington

@bijington I have not tried with default template because I am new to MAUI and I don't understand xaml at all. That is why I am trying to learn with pure C# markup.

ss-proc avatar Sep 12 '22 15:09 ss-proc

Hi @bijington @brminnick To re-create this issue in the maui repo https://github.com/dotnet/maui/issues?q=is%3Aissue+is%3Aopen do I need to create this with xaml or can I use maui.markup?

ss-proc avatar Sep 20 '22 18:09 ss-proc

Hi @bijington @brminnick To re-create this issue in the maui repo https://github.com/dotnet/maui/issues?q=is%3Aissue+is%3Aopen do I need to create this with xaml or can I use maui.markup?

You don't need to use XAML however I would advise against using Markup. You can build the sample using just C#

bijington avatar Sep 20 '22 19:09 bijington

Hi @ss-proc. We have added the "needs reproduction" label to this issue, which indicates that we cannot take further action. This issue will be closed automatically in 5 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

ghost avatar Feb 28 '23 23:02 ghost

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 3 days. It will be closed if no further activity occurs within 2 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

ghost avatar Mar 06 '23 00:03 ghost

We haven't received a reproduction sample from you. The issue is closed.

ghost avatar Mar 08 '23 00:03 ghost