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

[MacOS] Paste Shortcut is not working #1203

Closed
ssrahul96 opened this issue Jun 12, 2024 · 9 comments · Fixed by #1205 or #1329
Closed

[MacOS] Paste Shortcut is not working #1203

ssrahul96 opened this issue Jun 12, 2024 · 9 comments · Fixed by #1205 or #1329
Assignees
Labels
bug Something isn't working

Comments

@ssrahul96
Copy link

ssrahul96 commented Jun 12, 2024

Current behavior

CMD + V is not working

Error from logs

2024-06-12T08:05:51.0668720+05:30	Warning	[DevToys.MacOS.Core.Clipboard]	[LogGetClipboardFailed]	Failed to retrieve the clipboard data.
AppKit Consistency error: you are calling a method that can only be invoked from the UI thread.
AppKit.AppKitThreadAccessException: AppKit Consistency error: you are calling a method that can only be invoked from the UI thread.
   at AppKit.NSApplication.EnsureUIThread() in /Users/builder/azdo/_work/1/s/xamarin-macios/src/AppKit/NSApplication.cs:line 127
   at AppKit.NSPasteboard.get_GeneralPasteboard() in /Users/builder/azdo/_work/1/s/xamarin-macios/src/build/dotnet/macos/generated-sources/AppKit/NSPasteboard.g.cs:line 446
   at DevToys.MacOS.Core.Clipboard.GetClipboardDataAsync() in /Users/etiennebaudoux/RiderProjects/Publish/submodules/DevToys/src/app/dev/platforms/desktop/DevToys.MacOS/Core/Clipboard.cs:line 26

How to reproduce it (as minimally and precisely as possible)

  • Open JSON Formatter
  • Copy any JSON
  • Press CMD + V

Expected behavior

Pressing CMD + V should paste the copied content

Screenshots

No response

Workaround

No response

Affected platforms

macOS

Affected DevToys kind

DevToys (app with GUI)

DevToys Version

Version 2.0-preview.1

Relevant Assets/Logs

log-20240612T080549.txt

@ssrahul96 ssrahul96 added bug Something isn't working untriaged labels Jun 12, 2024
@veler veler removed the untriaged label Jun 12, 2024
@veler veler self-assigned this Jun 12, 2024
@veler veler linked a pull request Jun 12, 2024 that will close this issue
18 tasks
@ssrahul96
Copy link
Author

@veler , There are no error printed in logs, But still the shortcut cmd + v is not working,

@veler
Copy link
Collaborator

veler commented Jun 25, 2024

Hi @ssrahul96 ,

I did a change that was supposed to help with the problem. Can you please update DevToys to the latest version (2.0.3.0) and share the logs again? The message may be different than the original one.

Thanks

@ssrahul96
Copy link
Author

ssrahul96 commented Jun 25, 2024

version is 2.0.3.0 ly i suppose,i ve updated it today
image

logs : log-20240625T105016.txt

@veler
Copy link
Collaborator

veler commented Jun 25, 2024

Thanks! I do see an error in the logs, but it's unrelated to the paste command. Does the Paste button work?
image

@ssrahul96
Copy link
Author

ssrahul96 commented Jun 25, 2024

yes, the error is irrelevant,

The Paste button is working fine.

@veler veler reopened this Jun 25, 2024
@joshradics
Copy link

Updated to the newest version and still getting the same issue too. On OSX ARM64 installed with homebrew. The behaviour is inconsistent too - sometimes I can use the text fields, sometimes I cannot. CMD + V doesn't seem to work in any case. Log file attached in case it's useful, but it doesn't seem to trigger any errors when doing this.

log-20240628T103751.txt

@bxb100
Copy link

bxb100 commented Jul 20, 2024

hi there, DevToys version 2.0-preview.5 support situation:

  • cmd+a select all
  • cmd+x cut
  • cmd+c copy
  • cmd+v paste

@bxb100
Copy link

bxb100 commented Aug 6, 2024

Hi @veler, could you ship a minor version if you're not busy? We are looking forward to using it.

@veler
Copy link
Collaborator

veler commented Aug 7, 2024

Hi @veler, could you ship a minor version if you're not busy? We are looking forward to using it.

Hi,
This is in progress :D Homebrew/homebrew-cask#181755

@veler veler unpinned this issue Aug 7, 2024
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
4 participants