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
[Problem] UI: Grid is transparent and displaying the background behind it #6177
Comments
@PLChris This is most likely Graphic Driver related right? |
@wwmayer is this that old graphic driver issue? |
I'm having the same issue on Swaywm/Wayland, but only when I'm installing the package from the archlinux packages. Downloading the latest appimage from the FreeCAD website and then launching the executable doesn't have that bug. |
This all seems to happen on wayland... It would be interesting to know what graphics driver you guys are using? |
@yorikvanhavre an aside, maybe it's worth having About info post graphics driver info ? |
Yes, certainly... but I don't know if it's very easy to get that info on all platforms |
because that runs on xwayland this rather seems like rather a bug in wlroots since it seems to be specific to Sway/Hyprland |
bumping for discussion |
@DMNinja can you still reproduce on latest stable 0.21.2 ? (https://github.com/FreeCAD/FreeCAD/releases/tag/untagged-0d1019172178853f7266) |
I can confirm - the problem still exists on 0.21.2 Also, it doesn't work without
|
Related issue in another app with a proposed solution from a wayland developer: swaywm/sway#6549 |
Issue imported from https://tracker.freecad.org/view.php?id=4594
Original report text
Grid lines, instead of being filled with color, are filled with whatever is "below" the FreeCAD window, eg. desktop wallper, other windows, etc.
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=56509
Screencast: https://streamable.com/4xedi5
https://i.imgur.com/dVKiDaB.png
Additional information
This is using fully up to date Arch Linux, using git version of FreeCAD, running under wayland / sway
FreeCAD Info
Other bug information
Discussion from Mantis ticket
Comment by dudo 2021-03-11 01:16
It seems to be related to blending, like every mesh that's rendered with some kind of transparency shows the bug in action
https://streamable.com/0qavx3
(Additionally, note the z-fighting issues, unrelated I guess)
Comment by dudo 2021-03-11 17:34
On the same system under Xorg it works all right, no transparency issues, so this could be wayland specific
Comment by Kunda1 2021-03-11 19:47
What graphics card/display driver are you using? Have you read the known issues as chrisb mentions in the forum thread?
Comment by dudo 2021-03-12 01:18
I've read the known issues but couldn't find any that would describe this behavior. The driver is Intel/MESA.
Comment by dannixon 2021-03-29 17:02
I am also seeing this issue using FreeCAD 0.19.
It happens with both Weston and wlroots based compositors and not at all under Xorg/Xwayland.
I'll also add that setting a solid background color also causes the entire render area to be affected, not just transparent areas.
I do notice the following error which is only seen when running under Wayland:
Coin warning in glxglue_isdirect(): Couldn't get current GLX context.
Comment by skewty 2021-05-23 14:43
This also affects Fedora 34 Gnome so Platform field should perhaps be adjusted accordingly.
What I see in Fedora 34 is the part background color, when set to solid is completely transparent. Oddly this does not occur on the gradient setting.
A work-around for this is thus to set both gradient colors to be the same (looks like a solid color but isn't transparent).
I am also getting odd Qt menu placement issues in Wayland. For example:
Additionally the splash screen is not centered when it opens for me.
Could these all be related to a screen size / boundary call (upstream in Qt most likely) not working correctly in Wayland?
Comment by skewty 2021-05-23 14:55
The text was updated successfully, but these errors were encountered: