realthunder / FreeCAD

Link branch FreeCAD
Other
785 stars 45 forks source link

Transparent overlay not working with breeze application style (Linux/KDE) #168

Open frogmaster opened 3 years ago

frogmaster commented 3 years ago

OS: Arch Linux DE: KDE freecad version: linkstage3 branch

Problem description: When using breeze application style (kde default), majority of panel (everything except panel titlebar) is not transparent.

Screenshot_20210822_223423

Workaround: Panel transparency works as expected, when setting style to fusion in qt5ct and running freecad with "QT_QPA_PLATFORMTHEME=qt5ct freecad". Although the undesired side effect of this is out of place look compared to other applications, as the widget style is different.

valpackett commented 3 years ago

Same issue with Adwaita style. UPD: Though it's the Model tab that's opaque. The Tasks tab is actually completely transparent (which is wrong too).

hellst0rm commented 3 years ago

This workaround combined with choosing gradient background (both side of the gradient set the same) and "Use software OpenGL" I was able to have a solid background and use the transparent overlays as per the Vertical UI/UX proposal.

valpackett commented 3 years ago

@hellst0rm you really shouldn't need software OpenGL…

hellst0rm commented 3 years ago

@unrelentingtech: I turned that on for fixing a remaining problem I had, which I belive is related to my combination of kde / wayland and the closed source nvidia drivers.

what happend was that when a face on the model was showing transparency it would be transparent throught the freecad window and would show content from the window behind or the desktop wallpaper

image

I tried with the "use Software openGL" and this solved it temporarily.

valpackett commented 3 years ago

oh, #144. Not nvidia related, I've had it on mesa/amd. It somehow stopped being a problem for me at some point, possibly with a LinkDaily update (?)

rmu75 commented 2 years ago

I have the same issue. Transparent overlay not working with breeze theme -- no difference between native wayland and Xwayland. It seems to work with fusion, ms9x or oxygen theme. Latest AppImage does work. I probably could debug this but I have no idea where to start.

OS: KDE neon User - 5.25 (KDE/plasmawayland)
Word size of FreeCAD: 64-bit
Version: 0.20.31486 (Git)
Build type: Debug
Branch: LinkDaily
Hash: a3d793869825443b46d981707dbdbe8b8d72b168
Python version: 3.8.10
Qt version: 5.15.6
Coin version: 4.0.0
OCC version: 7.5.2
Locale: German/Austria (de_AT)