The desktop image that it sits on is gray.
And now it looks like this:
Same background image.
I suspect that this has something to do with the qt5 update, but I do not know that for sure.
To narrow down the problem, I created a very simple main window app in Qt Creator using their desktop app template, and I made the window transparent using the same technique that I used in my other programs, to wit:
- Code: Select all
#include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
// Make the MainWindow transparent
this->setAttribute(Qt::WA_TranslucentBackground);
}
MainWindow::~MainWindow()
{
delete ui;
}
The only thing I changed in the template created by Qt Creator is adding the this->setAttribute(Qt::WA_TranslucentBackground); call.
On my Mageia 7 computer, the window comes up transparent, but on the Mageia 8 computer it is opaque black.
I have searched the web and tried many suggestions that I found out there, but none of them fix the problem.
Last week, all of this was working fine, so I doubt that it is a programming error in my programs unless the Qt API has changed.
Is anyone else seeing a similar effect?
My inxi info:
- Code: Select all
$ inxi -b
System: Host: localhost Kernel: 5.9.12-desktop-1.mga8 x86_64 bits: 64 Desktop: KDE Plasma 5.20.4 Distro: Mageia 8 mga8
Machine: Type: Desktop Mobo: ASUSTeK model: P5G41T-M LX PLUS v: Rev X.0x serial: <superuser/root required>
BIOS: American Megatrends v: 0502 date: 10/21/2011
CPU: Info: Dual Core Intel Core2 Duo E7300 [MCP] speed: 2362 MHz
Graphics: Device-1: NVIDIA G94 [GeForce 9600 GT] driver: nvidia v: 340.108
Display: x11 server: Mageia X.org 1.20.10 driver: nvidia,v4l resolution: 1920x1080~60Hz
OpenGL: renderer: GeForce 9600 GT/PCIe/SSE2 v: 3.3.0 NVIDIA 340.108
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
Device-2: Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter driver: 8139too
Device-3: Qualcomm Atheros AR9271 802.11n type: USB driver: ath9k_htc
Drives: Local Storage: total: 465.76 GiB used: 28.61 GiB (6.1%)
Info: Processes: 206 Uptime: 3h 57m Memory: 3.84 GiB used: 2.24 GiB (58.4%) Shell: Bash inxi: 3.1.09
I don't think that this is a Mageia problem, but I don't know who to report it to. Any tips or pointers are welcome.
Thanks
Banjo
(_)=='=~