/srv/irclogs.ubuntu.com/2024/03/10/#kubuntu-devel.txt

BluesKajHi all13:08
arraybolt3Just fyi, I'm getting the "Element tray icon not appearing in system tray" issue here too. Using Wayland on 24.04.16:18
arraybolt3(Kubuntu, obviously)16:18
Eickmeyerarraybolt3: FYI, I get it whether Wayland or X11.16:45
EickmeyerAnd not limited to Element.16:46
EickmeyerNextcloud Desktop, Telegram... really any Electron application that has a systray icon.16:46
IrcsomeBot<sgmoore> I think it has to do with appindicator. Was researching when life happened. I was also working on our lack of emojis.16:49
Eickmeyer@sgmoore I was noticing that too. Life comes first, take your time. :)16:51
arraybolt3Eickmeyer: https://termbin.com/towr Still sure you aren't ready to blame AppArmor?17:17
arraybolt3Perhaps snapd is at fault but that looks like the issue to me.17:17
arraybolt3Eickmeyer: I assume all of those apps are installed as Snaps? Or are some of them installed other ways?17:18
Eickmeyerarraybolt3: I never said I wasn't ready to blame Apparmor. I just said I wasn't quite sure.17:18
arraybolt3I know :P was just pointing out something I found17:18
EickmeyerIn the past, snaps haven't been a problem but all the sudden they are, and yes, in my case they're snaps.17:19
* arraybolt3 goes and installs some Electron app that has a systray via apt17:19
* Eickmeyer might be afk a lot in the next few hours so expect sporadic responses17:20
arraybolt3so yeah the non-Snap makes an icon just fine.17:24
arraybolt3(installed Element from the apt package)17:24
* arraybolt3 shuffles off to file a snapd bug17:24
EickmeyerIt's not a problem on Edubuntu or Ubuntu Desktop, so it's gotta be a Plasma thing.17:24
Eickmeyerarraybolt3: Nope, likely not a snapd issue. ^17:25
EickmeyerSymptom showed after a plasma update on every install I have.17:25
arraybolt3well why then does the non-Snap just work and the snap get AppArmor denials?17:25
EickmeyerNo idea.17:26
EickmeyerBut it didn't show after a snapd update, it showed after a plasma update.17:26
arraybolt3hmm, I suppose the way that Plasma allows services to send notifications or make app tray icons could have changed and that new way is blocked by snapd or something...17:29
arraybolt3but I don't get it, this should have been only bugfix releases from now on with 5.27 I thought.17:29
EickmeyerSometimes bugfixes introduce regressions. That's development 101.17:30
arraybolt3right but I mean, an architectural change like what I'm thinking doesn't seem very likely to me at least.17:30
EickmeyerWell, I've gotta go afk, I'm at work right now.17:31
arraybolt3kk17:31
arraybolt3this looks relevant: https://forum.snapcraft.io/t/dbus-related-apparmor-denials/37422/1417:43
mparilloLack of emojis in Neochat? In a different version of Neochat, installing noto-emoji solved the lack of emojis.17:44
IrcsomeBot<sgmoore> Click launcher, type emoji and it brings up an emoji picker. It is a mess. noto-sans-color-emoji is installed and seeded. There is a conflict somewhere.17:50
arraybolt3So disabling apparmor entirely seems to fix the issue...18:38
arraybolt3obviously not a good fix but it isolates things a bit better18:38
EickmeyerComment on the apparmor bug, I guess.18:42
EickmeyerMaybe add snapd to it? idk...18:42
arraybolt3found a tool called snappy-debug for debugging exactly this kind of mess, going to try it18:44
IrcsomeBot<sgmoore> Excellent tool18:48
arraybolt3https://bugs.launchpad.net/snapd/+bug/205669619:03
-ubottu:#kubuntu-devel- Launchpad bug 2056696 in snapd "All Snaps are denied the ability to use DBus for notifications and apptray indicators" [Undecided, New]19:03
Eickmeyerarraybolt3: Imma add apparmor to that. Could be one, could be both.19:04
arraybolt3thanks19:04
arraybolt3The reason I suspect Snap is because according to https://forum.snapcraft.io/t/apparmor-profile-customisation/35780/3, "apparmor profiles for snaps are generated on the fly at snap install time and re-generated during snap updates from the interface definitions of snapd." Also Snap is something that could have theoretically updated out from under you without you noticing on multiple systems,19:05
arraybolt3thus making it look like Plasma's fault.19:05
EickmeyerRIght, that's why I've been suspecting Plasma this whole time, but which component?19:06
arraybolt3either something DBus related or the desktop itself, I checked plasma-desktop's Git history though and didn't see anything even a bit suspicious.19:06
EickmeyerNot even something related to dbus?19:07
arraybolt3nope19:07
EickmeyerThen I wonder if there was a change in dbus?19:08
EickmeyerI mean, we've gotta explore everything.19:08
EickmeyerThen of course, there's frameworks.19:09
arraybolt3hey... can you *downgrade* snapd?19:25
arraybolt3that might be interesting to try19:25
IrcsomeBot<sgmoore> Yes, unfortunately I don't have the commands at hand19:28
arraybolt3So apparently LXQt uses org.kde.statusnotifieritem just like KDE (big shock there). XFCE uses com.canonical.dbusmenu (and I assume so does most if not all non-Qt things), so that'll be a point of comparison.20:19
arraybolt3ok so the issue does *not* occur in Lubuntu. Which makes me think perhaps it's dodging the interface that isn't working for some reason.20:46
arraybolt3I've done about as much debugging work on this as I can today - I'm not finding anything that looks suspicious looking through Git history for notification-related code in KDE, so for now I'm going to leave this to the Snap and AppArmor guys to look into and try again later.20:59
valoriearraybolt3: you're working on Sunday???21:00
valoriethanks for your work 21:00
arraybolt3valorie: :P glad to be able to help21:00
valorie:-)21:01
valorieit IS helping21:01
valoriefeels good to have a team effort going21:01
arraybolt3feels good to be part of a good team21:01
valorieEickmeyer: you too21:01
valoriealso -- I sent you an email!21:02
valoriearraybolt3: amen to that21:02
Eickmeyervalorie: I work for a church in Everett, keeps my audio skills sharp. And it's fun.23:31

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!