onli / simdock

small dock with pseudo-transparency and good window handling
GNU General Public License v2.0
33 stars 3 forks source link

Box with desktop background color around Simdock #9

Open probonopd opened 4 years ago

probonopd commented 4 years ago

Running Simdock-41df87a-x86_64.AppImage on Xubuntu bionic Live ISO, a box with desktop background color appears around Simdock:

onli commented 4 years ago

That's the pseudo-transparency. I tried to activate wxwidgets compositing support in the last round of fixes, as described in https://docs.wxwidgets.org/trunk/classwx_window.html#af14f8fd2ed2d30a9bbb5d4f9fd6594ec, but it didn't work. I don't think this can be improved right now, or do you have an idea what simdock could do better here?

My workaround is to use IceWMs "do not cover" flag via winoptions. _NET_WM_STRUT_PARTIAL could be a more general alternative, reserving the space for simdock only.

probonopd commented 4 years ago

Unfortunately I don't know how to solve this - maybe by using Qt instead of WxWidgets?

onli commented 4 years ago

Maybe. I'll mark this as enhancement.

onli commented 10 months ago

https://github.com/onli/simdock/issues/15 solves this now :)

probonopd commented 9 months ago

Could this have been due to it running from an AppDir/AppImage?

onli commented 9 months ago

No, this was just how pseudo transparency works. Simdock had no real transparency before, so it could not paint anything but the background in this situation. Not the fault of the AppImage :)

And the real transparency also did not work with the simple native version, the old wxWidget was just broken there I think.