-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
Copying hex code from exported Color variable does not copy anything to clipboard #35603
Comments
I can't reproduce this on commit 9daaa12 with the linked reproduction project. Make sure the hexadecimal code is displayed instead of the color string: Hexadecimal codeColor string |
According to color string, I meant I got in clipboard literally "color" text, 5 chars, not color value as Godot's Color object. Well, I have discovered something else. I downloaded Godot 3.2 RC 3 on my another PC with Windows 10 Home installed. I tried to reproduce this bug with attached project and it seems copying hex code from that dialog doesn't work at all. Both Control+C and Right Mouse Context Menu are not working. I made sure my clipboard board works my copying and pasting random text in Node description and it's fine. Also I made sure I'm trying to copy hex code, not the Color object as you showed on images above. |
Cannot reproduce this on RC 3 Mono, I am using Linux Mint 19.3. It is likely that this is a Windows-only issue, but "needs testing" indeed |
I have discovered something else which might be related - Linux Mint 19.3; Could it be that you already had "color" in your clipboard? When I attempt to copy the hex value using the rmb context menu, the selection is cleared as soon as the mouse enters it, resulting in nothing actually being copied. |
@MennoMax Sorry for my late response. Well, I tried reproducing this issue on both Windows 7 and 10 with Godot 3.2 stable and it's just like you say. Actually, nothing is copied to clipboard while trying to copy Hex Code of color variable. You are right. I have changed title of this bug. |
I have this issue in 3.2 and noted that only happens if you copy with mouse (using right-click menu), not with keyboard (ctrl-c). It just happens always. The problem is that the text gets deselected when you right-click it; probably it is caused by the color validation and correction done when it loses focus. |
Fixes godotengine#35603 (cherry picked from commit 77b70aa)
Godot version:
3.2 RC 33.2 Stable
OS/device including version:
Windows 7 Home Premium Service Pack 1
Windows 10 Home
Issue description:
When user tries to copy hex code of color he picked using exported Color variable, he gets
"color" string when pasted insteadnothing copied to clipboard.Steps to reproduce:
Minimal reproduction project:
ExportColorIssueProject.zip
The text was updated successfully, but these errors were encountered: