OpenHantek / OpenHantek6022

OpenHantek6022 is a DSO software for Hantek USB digital signal oscilloscopes 6022BE / BL. Development OS is Debian Linux, but the program also works on FreeBSD, MacOS, RaspberryPi and Windows. No support for non-Linux related issues unless a volunteer steps in!
GNU General Public License v3.0
867 stars 152 forks source link

Background of marker selected rectangle area is transparent on Wayland #257

Closed ericfont closed 2 years ago

ericfont commented 2 years ago

When I drag a rectangle to select an area using measurement tool, I can see through the background of the oscilloscope to what is on my desktop underneath the OpenHantek window:

opne-hantek-on-wayland

I'm on Arch Linux 5.10.90-1-lts with latest packages from repos (wayland v1.20.0-1, xorg-xwayland v21.1.4-1, KDE plasma-desktop 5.23.5-1), using OpenHantek commit 944 (built via https://aur.archlinux.org/packages/openhantek6022-git/).

Maybe should report this to xorg-wayland people instead of you, cause it should be their responsibility. (and maybe this also has to do with opengl too).

ericfont commented 2 years ago

I just noticed this issue on another program that use opengl, I think...so I'm sure this issue has to do with wayland and not your problem:

candle-on-wayland-transparnet

ericfont commented 2 years ago

For anyone reading, I can force usage of Xorg backend for Qt (so can have the opengl working) in a Qt app under a wayland session by having the environment variable QT_QPA_PLATFORM=xcb set when runnning...

Ho-Ro commented 2 years ago

Thx für investigating.