-
Notifications
You must be signed in to change notification settings - Fork 224
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
Pasted values are duplicated in section Properties -> Style #221
Comments
Actually this seems to be a JavaFX bug. It can be reproduced on Mac, when there is a system Given that the TextField also has an internal key event handler based on the same key combination, both events are processed. To reproduce:
now copy something to the clipboard and paste it using Cmd+V, it will be duplicated. |
This is a JavaFX bug and has been reported in OpenJFX repository - javafxports/openjdk-jfx#370 |
… and 556. (#427) * Added workaround for JDK-8205915. Will fix issues #221, #263 and #306. * The conditional paste is now directly performed inside DocumentWindowController. The separate class has been removed. * Removed JUnit dependency. * Changed TODO from JDK-8205915 to JDK-8280057. * The workaround can now be toggled within the Preferences dialog. It is by default active for MacOS. A tooltip is installed for quick help. The checkbox is disabled when not running on MacOS. * Reverted change in PrefsController. * Preference is now only displayed on MacOS. * ToolTip text updated accordingly. * The alternate paste behavior is now activated by default on macOS. Co-authored-by: Oliver Löffler <Oliver-Loeffler@users.noreply.github.com>
I'm using:
whenever I copy a value and paste it to the Properties -> Style I see the value is duplicated in one field:
#2b4496#2b4496
For example, I want to use color
#2b4496
for style-fx-background-color
-> I copy the value#2b4496
somewhere and paste it as value in the scene builder and get the value#2b4496#2b4496
. It always happens when I use hot keys for copy/paste in my Mac OS Command+C/Command+V, but it works just fine when I use mouse right click -> copy -> paste.The text was updated successfully, but these errors were encountered: