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

[Issue] Partial part transparency makes the window transparent #8341

Open
2 tasks done
nils-van-zuijlen opened this issue Feb 4, 2023 · 15 comments
Open
2 tasks done
Labels
Bug This issue or PR is related to a bug Has workaround UI/UX

Comments

@nils-van-zuijlen
Copy link

nils-van-zuijlen commented Feb 4, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Forums discussion

No response

Version

0.20 (Release)

Full version info

OS: Manjaro Linux (KDE/plasmawayland)
Word size of FreeCAD: 64-bit
Version: 0.20.2.29603 (Git)
Build type: Release
Branch: makepkg
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.10.9, Qt 5.15.8, Coin 4.0.1, Vtk 9.1.0, OCC 7.6.3
Locale: French/France (fr_FR)
Installed mods: 
  * fasteners 0.4.52
  * freecad.gears 1.0.0

Subproject(s) affected?

PartDesign

Issue description

When making a part partially transparent (between 1 and 99% transparency), the part becomes transparent beyond the FreeCAD window and lets the windows under them be seen.

image

Anything else?

This may be related to #6177

After restarting FreeCAD, without having made any updates, I cannot reproduce :sad

Code of Conduct

  • I agree to follow this project's Code of Conduct
@chennes
Copy link
Member

chennes commented Feb 4, 2023

Can you clarify your final comment there? Is this something that you observed once, but can't get to happen again? It seems like a graphics driver or window system bug to me: if even you can't get it to happen again I am not sure how anyone could track it down.

@luzpaz
Copy link
Contributor

luzpaz commented Feb 4, 2023

This looks like the old 'Known Issue' for old graphics cards.

@luzpaz luzpaz added Bug This issue or PR is related to a bug Missing: steps to reproduce labels Feb 4, 2023
@nils-van-zuijlen
Copy link
Author

Can you clarify your final comment there? Is this something that you observed once, but can't get to happen again? It seems like a graphics driver or window system bug to me: if even you can't get it to happen again I am not sure how anyone could track it down.

Yes, it mean I observed it once only. I am creating an issue so that if anyone bumps into the same issue, they can continue searching that bug.

@concretedog
Copy link

I have the same issue here on Manjaro Xfce with 0.20.2, photo's below with about info.
aro_bleed_freecad

If I make a datum plane or set an object to have some transparency then my manjaro desktop bleeds through in the preview pane!
about
aboutfreecad
mhwd

@luzpaz
Copy link
Contributor

luzpaz commented Apr 15, 2023

Found related (dupe?): #6177

@luzpaz
Copy link
Contributor

luzpaz commented Jun 1, 2023

@PLChris is this the known graphic card issue ?

@Chacha75
Copy link

I have the same issue with both FreeCAD v 0.20 and 0.21 in Manjaro. However the issue disappears when I turn off Compositing in XFCE.

CPU: 6-core AMD Ryzen 5 4500U with Radeon Graphics (-MCP-)
speed/min/max: 1560/1400/2375 MHz Kernel: 6.1.44-1-MANJARO x86_64 Up: 8h 1m
Mem: 2.71/7.13 GiB (38.0%) Storage: 476.94 GiB (65.1% used) Procs: 283
Shell: Bash inxi: 3.3.29

OS: Manjaro Linux (XFCE/xfce)
Word size of FreeCAD: 64-bit
Version: 0.21.0.33675 (Git)
Build type: Release
Branch: makepkg
Hash: 41b058e
Python 3.11.3, Qt 5.15.10, Coin 4.0.1, Vtk 9.2.6, OCC 7.6.3
Locale: Hungarian/Hungary (hu_HU)
Installed mods:

  • Assembly4 0.50.2
  • fasteners 0.4.59
  • sheetmetal 0.2.63

@luzpaz
Copy link
Contributor

luzpaz commented Aug 21, 2023

However the issue disappears when I turn off Compositing in XFCE.

@nils-van-zuijlen can you reproduce workaround ?

@Chacha75
Copy link

@nils-van-zuijlen You can find it in Window Manager Tweaks >> Compositor tab >> Enable display compositing

@concretedog
Copy link

Just to confirm I've just replicated this workaround on the same setup as I listed having the problem with on April 15th, sorry for the delay haven't used this Manjaro machine for a while.

@zoopp
Copy link

zoopp commented Sep 11, 2023

Is this similar to what I reported here: swaywm/sway#7739? (see attached videos) The conclusion was that it's likely an application specific issue caused by using "an alpha format when they don't intend to use the alpha channel".

@luzpaz luzpaz added the UI/UX label Dec 17, 2023
@zoopp
Copy link

zoopp commented Jan 24, 2024

OS: Arch Linux (sway)
Word size of FreeCAD: 64-bit
Version: 0.21.2.33771 (Git)
Build type: Release
Branch: makepkg
Hash: b9bfa5c5507506e4515816414cd27f4851d00489
Python 3.11.6, Qt 5.15.11, Coin 4.0.1, Vtk 9.3.0, OCC 7.7.2
Locale: English/United States (en_US)
Installed mods: 
  * Manipulator 1.5.0
  * fasteners 0.4.66
  * Curves 0.6.13

Seems to have gotten worse. Right click menu and toolbar menus have become completely transparent for me.

2024-01-24.15-19-39.mp4

@Chacha75
Copy link

Seems to have gotten worse. Right click menu and toolbar menus have become completely transparent for me.

I'm not sure, if it's the same issue. Only the menus are transparent, and you can see the Freecad window beneath it. The FreeCad window itself is not transparent.
Maybe it's a theme issue. Try to switch back to Classic theme. It solves this problem for me.

@zoopp
Copy link

zoopp commented Jan 29, 2024

Ah, you're right. I played a bit with the theming over the weekend and after re-applying the theme the menus become solid again for a while after which a Qt error (or warning, can't fully recall) is logged followed by them becoming transparent again.

Seems to be indeed a different issue. I'll take a better look at it some other time.

@Chacha75
Copy link

I've found a much better workaround:

In Kvantum Manager under 'Configure Active Theme' on the 'Compositing & General Look' tab add freecad to the list of Opaque apps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This issue or PR is related to a bug Has workaround UI/UX
Projects
None yet
Development

No branches or pull requests

6 participants