-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
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
Eyedropper color picker not working with XWayland #88550
Comments
I'm not sure if XWayland can read the screen at all, as it's some weird semi-headless server thing, I think. |
I wonder a little bit of why it doesn't happen with Maybe X11 display on |
ColorPicker in 3.x reads from the editor window by querying the viewport data, without relying on any OS-specific API. The upside is that this works regardless of sandboxing, but it won't work outside the editor window. I guess we need to bring back the 3.x ColorPicker eyedropper as a fallback when using OS APIs isn't feasible due to sandboxing (e.g. web platform, Wayland, Android, iOS). |
We seem to be on a similar distro, but I get a slightly different problematic behavior that I already commented about here. |
Trying to use this does effectively crash my pc like @eobet has said. Hopefully it can be disabled on incompatible platforms or the old picker has a fallback. |
i use 4.3 on nixos hyprland 0.42 has same problem, but my hypr has no response. it seems like hibernate |
Tested versions
System information
Godot v4.2.1.stable - Fedora Linux 39 (Workstation Edition) - Wayland - Vulkan (Forward+) - integrated Intel(R) UHD Graphics 620 (WHL GT2) () - Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz (8 Threads)
Issue description
When trying to chose a color with the eyedropper, it immediately goes black and starts pumping out error messages
platform/linuxbsd/x11/display_server_x11.cpp:1108 - Unhandled XServer error: BadMatch (invalid parameter attributes)
Major opcode of failed request: 73
Serial number of failed request: 0
Current serial number in output stream: 41303
I am not knowledgeable enough to know if this is a Xwayland or a Godot problem
Steps to reproduce
Try to chose a color with the eyedropper on wayland linux
Screencast.from.2024-02-19.14-20-16.webm
Minimal reproduction project (MRP)
This is a global issue and doesn't need a MRP
The text was updated successfully, but these errors were encountered: