[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Opacity not working in Form_Open (gtk)
[Thread Prev] | [Thread Next]
- Subject: Re: Opacity not working in Form_Open (gtk)
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Tue, 15 Apr 2025 20:05:25 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 15/04/2025 à 20:01, Benoît Minisini a écrit :
Le 15/04/2025 à 14:12, Bruce Steers a écrit :Mmm... I'm not sure that setting the opacity after the window has beenshown will work with all window managers. -- Benoît Minisini. I am finding quite the opposite.I am able to change it once the program has loaded. (for example with a slider)Trying to set it before the window is shown is where the troubles are. (it used to work okay, something must have changed) Respects BruceSIf you set the opacity during the Open event, everything works perfectly in all components when using KDE window manager and X11.If you set the opacity only in the property sheet, i.e. during the window instanciation, it works for all components except GTK+3.I will look at the last problem, but I guess you have to move to a window manager that supports the Opacity property (it's purely a compositor thing).I will test if it works with Wayland, but there is always a doubt with that beast. :-(Regards,
Lol. With wayland it works only with GTK+2 and GTK+3, and what didn't work with GTK+3 now works.
So it's not just the window manager. It's more horrible than that, as even Qt with KDE window manager / Wayland, it does not work.
Go figure that madness.If you need a workaround, you can set the background color of your window to a transparent color. But then the title bar will stay opaque.
Regards, -- Benoît Minisini.
Re: Opacity not working in Form_Open (gtk) | Bruce Steers <bsteers4@xxxxxxxxx> |
Opacity not working in Form_Open (gtk) | Bruce Steers <bsteers4@xxxxxxxxx> |
Re: Opacity not working in Form_Open (gtk) | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: Opacity not working in Form_Open (gtk) | Bruce Steers <bsteers4@xxxxxxxxx> |
Re: Opacity not working in Form_Open (gtk) | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |