-
-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unread Notification Badge not working on KDE #298
Comments
I also don't see the badge while on GNOME. Unsure whether it's settings although I've looked everything possible. I know it works perfectly fine on Windows. |
Gnome does not support this Feature |
I have this exact problem, running Vesktop on ArchLinux through the flatpak version, any ideas on how to fix? |
Double-check if you have libunity installed, since it's not a listed dependency. Beyond that I wouldn't know, but I wanted to point it out just in case. |
(Fedora 39 KDE) |
I have made a PR that makes this work on the Flatpak version |
Edit: installing |
on endeavouros/arch, even after installing libunity i still do not get any notifications |
How did you install it? What Desktop do you use? |
I am also on EndeavourOS, KDE 6 desktop. I also have this problem even though I have libunity installed. Badges don't show up to display the number of discord notifications. I installed libunity via yay. |
How did you install Vesktop? |
via bauh I installed the flatpak. |
Flatpak is completely separated from your System. That you have installed libunity on your Host doesn't matter. Libunity is included in the Flatpak anyway, but there are a few changes needed to make the notifications work. See my PR for more Details. |
I also have this problem. I am on Arch with KDE and I installed both libunity and vekstop with yay and I still dont have the notification badge. |
I've narrowed it down to an issue with what I think is libunity and Plasma 6 (5?) specifically - unable to test 5 at the moment. This affects both the stock Discord and the Flatpak version. Libunity is old and hasn't been touched in ages, so I guess its about time it breaks... |
stock discord works fine for me on plasma 6 |
How are you testing the badge, perhaps I'm doing something wrong? |
How I am testing: Either:
OR:
Observation: its there for Discord, but not Vesktop. I have the same settings for Vesktop and for stock Discord and I get the badge for Discord, but not Vesktop. If you want, I can record a short YT video where I show it happening and stuff. |
Oh you are talking about the tray indicator. That is different than what this issue is about. |
Oh, sorry. There was a comment about it aswell so I thought we were talking about both. Kind of like the problem is caused by the same thing. Sorry! |
Alright, I've tested on Kubuntu 23.10(plasma 5) in a virtual machine- the Snap, Flatpak (snap and flatpak both bundle libunity) and Deb+libunity9 all display the task indicator. This is most definitely an upstream Plasma 6/Electron(relies on libunity) bug. There is an open issue on electron here to replace libunity. |
I think it's a good idea to give a explanation what is needed to make this work:
After that, the API should be working. But there's a problem in the API itself: You can't said that a counter should be displayed on Window foo. You can only give the API the filename of a desktop file and the counter will be displayed on all windows that belongs to this file. That means the following:
|
this setting is not about enabling the badge itself, it's about enabling an undead message indicator ping => number badge vesktop uses this setting Vesktop/src/renderer/appBadge.ts Lines 19 to 27 in 2733727
Lines 26 to 29 in 2733727
|
Currently trying to figure this out on my end myself and it's (rightfully) being a real ballache with the flatpak and appimages which both use their own funny haha .desktop filenames and can't really be changed around all that easily without causing issues. |
If you take a look at my PR, I use the
Yes. This is even a bigger problem on Wayland. On Wayland Apps can't set a Icon. The Icon from the desktop file is used instead. So if the Window is not connected to the correct desktop file, it will not have the correct Icon. If a Window is not connected to the correct desktop filename, it can cause other Issues too.
It works with my Patch in the Flatpak. For AppImages (which are not sandboxed btw) there is no way to make this work out of the box.
It only need to be installed in the Sandbox (which it already is). Just a tip: If you use KDE you can run the command |
Can confirm having looked at your PR earlier and building Vesktop as a Flatpak with your changes added that tray notifications now function as expected under GNOME 46 using Dash To Dock and Dash To Panel. Hopefully that gets folded into the flatpak officially sooner rather than later. |
I should note that while this works for me for getting the panel notifications back over on GNOME, it seems to have the unintended side effect of entirely breaking vesktop's ability to open web links in my browser. I can click them all I want but firefox just doesn't open. No clue why. |
Is the problem with tray icon not showing the unread messages can be discussed here or a separate issue must be created? It doesn't work on Pop!_OS 22.04 GNOME 42.* Vesktop v1.5.2 Debian/Flatpak. I tried installing https://extensions.gnome.org/extension/615/appindicator-support/, but it doesn't seem to change anything. Is the session logout necessary or something else? |
Seems this is broken again even with libunity and |
I can confirm, both native Discord and rpm Vencord don't show the badge on KDE, with libunity on the system. |
Plasma bug report time 💥 |
Tbf I'm not sure that the issue is on the Plasma side of things, because apps not made in Electron, like Telegram, display the badge fine. Maybe Electron needs to update the way they handle this. |
@Vendicated Thats not (im pretty sure) the fix because the workaround broke, meaning libunity + plasma arent playing nice. |
Oh most definitely. Libunity hasn't had an update in years. In fact electron/electron#30085 is open for that exact reason. A dirty fix for vesktop while that's handled upstream would be to emit the dbus signal itself. Try Doing the above would close #298, #189(doesnt do anything anyway why is it still open??) and #261 |
Closes Vencord#298, Vencord#424, Vencord#189 remove (#) title prefix when `Notification Badge` option is toggled explode scuffed option libunity dependency (kabloomed)
|
I can confirm that notification badges are still very much broken, both on KDE Plasma 6 and GNOME 46. But, they work perfectly fine on KDE Plasma 5 and the Ubuntu Dock on Ubuntu. Not the default GNOME dash/dock, just the Ubuntu Dock. |
For reference this issue also exists on Cinnamon, at least when using vencord via flatpak. The title bar does update with an unread count, but the tray icon does not, so when using the options to minimize to tray it's impossible to know when you got pinged. |
Can also confirm that the tray icon does not display unreads on Linux Mint Cinnamon (flatpak) |
The issue should be fixed in Vesktop version 1.5.4 with |
I am not seeing the fix from Linux Mint. |
I installed Discord and Vesktop 1.5.4 through Nix and only the first one shows notification badge on the tray icon. On Pop!_OS 22.04 (for now). UpdateActually, I noticed that there is a badge in the dock, but not in the tray. |
am i the only one has this issue on fedora kde plasma 6 with flatpak version as of february 2025? edit: vesktop installed with rpm works fine with libunity installed |
Cross-platform duplicate of this Win10 feature request.
Feature looks like this:
.
Note: Vanilla discord has a missing dependency in libunity which is responsible for notification badges, as referenced in this thread.
As shown above, the feature works on vanilla discord after installing libunity (or on distros that come with it), but not on Vencord.
The text was updated successfully, but these errors were encountered: