ZMYaro / paintz

A simple drawing app that runs in a web browser, designed to be an MS Paint substitute for Chromebooks and other Chrome OS devices. PaintZ is free, but please consider supporting development at https://ko-fi.com/ZMYaro or https://patreon.com/ZMYaro.
https://paintz.app
53 stars 11 forks source link

Cannot copy/cut text from dialogs #175

Closed ZMYaro closed 4 years ago

ZMYaro commented 4 years ago

Steps to reproduce the behavior

  1. Open a dialog with a text field (e.g., save, resize, color picker).
  2. Select the text in a text field and press Copy/Ctrl+C/Cut/Ctrl+X.
  3. The text does not get copied to the clipboard.

Expected behavior The text should be copied to the clipboard.

Additional context This is almost certainly the clipboard manager not relinquishing control of the copy and cut events when a dialog is opened.

ZMYaro commented 4 years ago

Note: Due to the cause of the bug, this only happens when one of the selection tools is active.

ZMYaro commented 4 years ago

Fixed in https://github.com/ZMYaro/paintz/commit/9c45128b7506412fce29a03033d44368c1343078.