Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bug: Hit CMD+V in materialette, cannot copy colors anymore #18

Closed
bildlich opened this issue Oct 22, 2016 · 1 comment
Closed

Bug: Hit CMD+V in materialette, cannot copy colors anymore #18

bildlich opened this issue Oct 22, 2016 · 1 comment

Comments

@bildlich
Copy link

I came across this issue on OS X 10.11.6

How to reproduce:

  1. Click tray icon to reveal Materialette
  2. Click color field to copy color (e.g. #000000)
  3. Open empty text file, hit CMD+V to paste: works perfectly ✔︎
  4. Reveal Materialette again
  5. Hit CMD+V as if to paste something in Materialette
  6. Click another color field to copy another color (e.g. #ffffff)
  7. Go back to text file, hit CMD+V: #000000 is pasted, the new color is not in the clipboard ✗
  8. All subsequent attempts to copy a color from Materialette fail until I restart the program
@mike-schultz
Copy link
Owner

Fixed! I'm using an offscreen <textarea> to perform copy&paste, but once that gets modified by the user (a paste action), it becomes unmodifiable from javascript. Fixed that easily by making it readonly.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants