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

[UWP] Can't copy or paste images #2900

Open
mancda opened this issue Oct 20, 2022 · 14 comments
Open

[UWP] Can't copy or paste images #2900

mancda opened this issue Oct 20, 2022 · 14 comments
Assignees
Labels
feature request feature request tracked We are tracking this work internally.

Comments

@mancda
Copy link

mancda commented Oct 20, 2022

I have upgraded my UWP App to use webview2 and when I navigate to a online M365 Word document I am now unable to paste an image from the clipboard.

Thanks for your help

AB#41704952

@nishitha-burman
Copy link
Collaborator

Hi @mancda,

Can you please provide more details about your issue?

Version
SDK:
Runtime:
Framework:
OS:

Repro Steps

@nishitha-burman nishitha-burman added the status-circle back Check back after requesting general information. label Oct 24, 2022
@mancda
Copy link
Author

mancda commented Oct 24, 2022

Version: WinUI 2.8.1
SDK: 10.0.22621.0
Runtime:
Framework: .NetCore 6.2.14
OS: Windows 11

Steps to reproduce

  1. Create new UWP app
  2. Add Webview2 component
  3. Navigate to a Online Microsoft 365 Word Document
  4. Attempt to paste an image into the document from the clipboard.

@nishitha-burman nishitha-burman removed the status-circle back Check back after requesting general information. label Oct 31, 2022
@chrisjshields
Copy link

Same issue here. Cannot paste images onto any site

@maurawinstanley
Copy link
Contributor

Thanks for reporting the issue, this is a known limitation that we have tracked on our backlog, I will update the thread when we begin the work!

@maurawinstanley maurawinstanley added the feature request feature request label Feb 14, 2023
@champnic champnic added the tracked We are tracking this work internally. label Apr 18, 2023
@champnic champnic changed the title Problem pasting image [UWP] Can't copy or paste images Jun 26, 2023
@DotNet-Fan
Copy link

@champnic @maurawinstanley is this related to #3601?

@champnic
Copy link
Member

champnic commented Jul 5, 2023

Yes - I'll close #3601 as a duplicate. Thanks for making the connection here :)

@DotNet-Fan
Copy link

@champnic Any update on this issue?

Thanks

@champnic
Copy link
Member

No updates here yet.

@tamasbito99
Copy link

I have the same issue.
@champnic Do you have any information about when will be this bug fixed?

@jennifer-jacobs
Copy link

Hi @tamasbito99 & @DotNet-Fan @mancda @chrisjshields,
Copying and pasting of images should work in UWP WV2 apps starting with runtime version 131 which should be out around mid-November.

There is still an open bug around copying with the context menu which can still repro rarely (#3775), but ctrl + c and ctrl +v should work reliably. The context menu issue only repros ~10% of the time.

If you continue to have issues let us know!

@matthiashack
Copy link

After two years still no developer could resolve this

@jennifer-jacobs
Copy link

Hi @matthiashack - are you using a runtime version 131 or greater? This issue should be fixed in those versions.

Can you provide steps to reproduce the issue you're still seeing?

@matthiashack
Copy link

i find the reason is that i wrongly set the params bool contextMenuEnabled = false; in my code, thank you @jennifer-jacobs

@matthiashack
Copy link

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request feature request tracked We are tracking this work internally.
Projects
None yet
Development

No branches or pull requests

10 participants