Package: wpagui
Version: 2:2.10-12+deb12u2
Severity: normal
Tags: patch

Dear Maintainer,


   The system tray icon is no longer visible for wpa_gui after upgrading
   from bullseye to bookworm. Seems it might be something to do with
   the migration from qt4 to qt5.

   The attached patch fixes the visibility problem but is a quick hack.

   Thanks, Daren.


-- System Information:
Debian Release: 12.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-27-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages wpagui depends on:
ii  libc6           2.36-9+deb12u9
ii  libgcc-s1       12.2.0-14
ii  libqt5core5a    5.15.8+dfsg-11+deb12u2
ii  libqt5gui5      5.15.8+dfsg-11+deb12u2
ii  libqt5svg5      5.15.8-3
ii  libqt5widgets5  5.15.8+dfsg-11+deb12u2
ii  libstdc++6      12.2.0-14
ii  wpasupplicant   2:2.10-12+deb12u2

wpagui recommends no packages.

wpagui suggests no packages.

-- no debconf information
Index: wpa-2.10/wpa_supplicant/wpa_gui-qt4/wpagui.cpp
===================================================================
--- wpa-2.10.orig/wpa_supplicant/wpa_gui-qt4/wpagui.cpp
+++ wpa-2.10/wpa_supplicant/wpa_gui-qt4/wpagui.cpp
@@ -1374,7 +1374,7 @@ void WpaGui::createTrayIcon(bool trayOnl
 {
        QApplication::setQuitOnLastWindowClosed(false);
 
-       tray_icon = new QSystemTrayIcon(this);
+  tray_icon = new QSystemTrayIcon(QIcon(":/icons/wpa_gui.svg"));
        updateTrayIcon(TrayIconOffline);
 
        connect(tray_icon,

Reply via email to