Skip to content
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

Hovered/selected part rendering transparency issue (on Wayland) #144

Closed
valpackett opened this issue May 9, 2021 · 3 comments
Closed

Hovered/selected part rendering transparency issue (on Wayland) #144

valpackett opened this issue May 9, 2021 · 3 comments

Comments

@valpackett
Copy link

The renderer is changing framebuffer alpha (for the parts under the mouse cursor), expecting it to be ignored (even though nothing in the code explicitly only allows framebuffers with no alpha), similar to Ultimaker/Cura#8466 https://stackoverflow.com/q/35245809

Screen_2021-05-09-16:19:58

(the right side actually looks fully yellow on screen, the glitches are only on screenshots… and the fact that the behavior is different on the left and right sides of the screen suggests some kind of HiDPI issue somewhere?)

@valpackett valpackett changed the title Hovered part rendering transparency issue (on Wayland) Hovered/selected part rendering transparency issue (on Wayland) May 9, 2021
@realthunder
Copy link
Owner

This looks a difficult problem to solve as it is highly platform specific. Meanwhile, just in case you don't know, you can disable Preselection highlight, Preselection on top, and Selection on top to prevent the object goes transparent.

Screenshot from 2021-05-16 11-10-05

Screenshot from 2021-05-16 11-10-40

@valpackett
Copy link
Author

I still haven't figured out how to do it in Qt, but generally it's trivial to request a framebuffer without alpha. e.g. aap/librw#35 in GLFW it's just glfwWindowHint(GLFW_ALPHA_BITS, 0) and that's it

@valpackett
Copy link
Author

Seems fixed right now in LinkDaily (or it wasn't FreeCAD's fault in the first place).

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

No branches or pull requests

2 participants