amir1376 / amir1376/ab-download-manager
[Bug] Linux Tray Protocol Is Outdated — Should Use StatusNotifierItem Instead of AppIndicator
- Vorherrschende Sprache
- Kotlin
- Sterne
- 17.9k
- Forks
- 913
- Ø Merge
- 7 Std. 1 Min.
- Gemergte PRs (30 T.)
- 7
Beschreibung
### 📝 Description
The application works correctly in KDE Plasma, where the system tray functions as expected.
However, under GNOME, when using the _AppIndicator and KStatusNotifierItem Support_ (AAKS) and _Top Bar Organizer_ (TBO) extensions, the following issues occur:
- When AAKS’s legacy tray compatibility mode is enabled, the ABDM icon appears in the tray, but its transparent regions render as white. Additionally, TBO fails to function properly, throwing the error: _TypeError: appIndicator is undefined_.
- When AAKS’s legacy compatibility mode is disabled, the ABDM icon does not appear at all, but TBO operates normally.
This suggests that the application is still relying on the deprecated AppIndicator protocol, which is incompatible with modern GNOME extensions like TBO that expect standardized StatusNotifierItem (SNI) compliance.
To ensure full compatibility with modern Linux desktop environments — especially GNOME — please migrate the Linux version of this application from AppIndicator to the modern, freedesktop.org-standard KStatusNotifierItem (StatusNotifierItem) protocol.
Thank you for your consideration!
### 🏷️ App Version
1.6.12
### 💻 Platform
Fedora Workstation 42
### 📦 Installation Type (optional)
_No response_
### ⚙️ System/Device Details (optional)
_No response_
### 🔁 Steps to Reproduce
1. Prepare a non-Ubuntu GNOME-based distribution, such as Fedora Workstation.
2. Install the _AppIndicator and KStatusNotifierItem Support_ (AAKS) extension, and ensure its legacy compatibility option is enabled by default.
3. Observe that the ABDM icon appears in the system tray.
4. Install the _Top Bar Organizer_ (TBO) extension, enable it, and wait a few moments—or log out and back in immediately.
5. Observe that TBO reports the error: _TypeError: appIndicator is undefined_.
6. Disable the legacy compatibility option in AAKS, re-enable TBO, and log out and back in immediately.
7. TBO now functions correctly, but the ABDM icon no longer appears in the system tray.
### ✅ Expected Behavior
Change the tray protocol from AppIndicator to KStatusNotifierItem.
### 📷 Screenshots or Recordings (optional)
_No response_
### 🗒️ Additional Information (optional)
_No response_
### 💡 Possible Solution (optional)
_No response_
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.