Bug 408642 - plasma 5.16 notifications are not displayed
Summary: plasma 5.16 notifications are not displayed
Status: RESOLVED WORKSFORME
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: 0.8.8
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-13 11:03 UTC by avlas
Modified: 2019-06-14 13:44 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description avlas 2019-06-13 11:03:13 UTC
Plasma 5.16 notifications are not displayed in latte (i.e., the notifications applet is in a system tray in a latte panel)
Comment 1 Michail Vourlakos 2019-06-13 11:04:48 UTC
New notification system probably does not function with Latte
Comment 2 avlas 2019-06-13 11:09:18 UTC
(In reply to Michail Vourlakos from comment #1)
> New notification system probably does not function with Latte

I hope you can port that functionality back to Latte
Comment 3 Michail Vourlakos 2019-06-13 11:11:52 UTC
(In reply to avlas from comment #0)
> Plasma 5.16 notifications are not displayed in latte (i.e., the
> notifications applet is in a system tray in a latte panel)

just checked, they work...

1. Remove all plasma panels
2. Open Latte
3. Add a notification applet in Latte
4. Run through terminal "notify-send hello"
5. notification is shown in the notification list

On the other hand trying to open notifications applet settings I get:

''
/home/master/kde/usr/bin/kcmshell5: /usr/lib64/libQt5Core.so.5: version `Qt_5_PRIVATE_API' not found (required by /home/master/kde/usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5)
''
Comment 4 Michail Vourlakos 2019-06-13 11:12:45 UTC
(In reply to avlas from comment #2)
> (In reply to Michail Vourlakos from comment #1)
> > New notification system probably does not function with Latte
> 
> I hope you can port that functionality back to Latte

sorry this is not possible.... Plasma notification will work with Latte or not, Latte can not do something about that from Latte side
Comment 5 avlas 2019-06-13 11:16:50 UTC
(In reply to Michail Vourlakos from comment #3)
> (In reply to avlas from comment #0)
> > Plasma 5.16 notifications are not displayed in latte (i.e., the
> > notifications applet is in a system tray in a latte panel)
> 
> just checked, they work...
> 
> 1. Remove all plasma panels
> 2. Open Latte
> 3. Add a notification applet in Latte
> 4. Run through terminal "notify-send hello"
> 5. notification is shown in the notification list
> 
> On the other hand trying to open notifications applet settings I get:
> 
> ''
> /home/master/kde/usr/bin/kcmshell5: /usr/lib64/libQt5Core.so.5: version
> `Qt_5_PRIVATE_API' not found (required by
> /home/master/kde/usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5)
> ''

To reproduce that they don't work you need to start your session from scratch because otherwise notifications appear because they were part of plasmashell.

Try it out yourself, removing all instances of notifications in plasmashell,  and restart your session to see it...

[ I also got confused by that before ]
Comment 6 Michail Vourlakos 2019-06-13 11:24:09 UTC
(In reply to avlas from comment #5)
> (In reply to Michail Vourlakos from comment #3)
> > (In reply to avlas from comment #0)
> 
> To reproduce that they don't work you need to start your session from
> scratch because otherwise notifications appear because they were part of
> plasmashell.
> 
> Try it out yourself, removing all instances of notifications in plasmashell,
> and restart your session to see it...
> 
> [ I also got confused by that before ]

nope, this is not my case...

Rule) Notifications can be ONLY in Latte or in Plasma (You can not have both worlds, that also applies to the plasma systray of course)

So, in my system:
1. There are NO Plasma panels
2. There are NO Plasma applets in the desktop
3. Notifications applet is found only a Latte Dock
4. Restarting and relogin, notifications work just fine in plasma 5.16
Comment 7 Michail Vourlakos 2019-06-13 11:33:55 UTC
more information are needed from users in order to understand who are hit by it
Comment 8 avlas 2019-06-13 11:43:45 UTC
(In reply to Michail Vourlakos from comment #6)
> (In reply to avlas from comment #5)
> > (In reply to Michail Vourlakos from comment #3)
> > > (In reply to avlas from comment #0)
> > 
> > To reproduce that they don't work you need to start your session from
> > scratch because otherwise notifications appear because they were part of
> > plasmashell.
> > 
> > Try it out yourself, removing all instances of notifications in plasmashell,
> > and restart your session to see it...
> > 
> > [ I also got confused by that before ]
> 
> nope, this is not my case...
> 
> Rule) Notifications can be ONLY in Latte or in Plasma (You can not have both
> worlds, that also applies to the plasma systray of course)
> 
> So, in my system:
> 1. There are NO Plasma panels
> 2. There are NO Plasma applets in the desktop
> 3. Notifications applet is found only a Latte Dock
> 4. Restarting and relogin, notifications work just fine in plasma 5.16

Are you using version 0.8.8?
Comment 9 avlas 2019-06-13 12:47:39 UTC
(In reply to Michail Vourlakos from comment #6)
> 
> Rule) Notifications can be ONLY in Latte or in Plasma (You can not have both
> worlds, that also applies to the plasma systray of course)

Sure

> So, in my system:
> 1. There are NO Plasma panels
> 2. There are NO Plasma applets in the desktop
> 3. Notifications applet is found only a Latte Dock
> 4. Restarting and relogin, notifications work just fine in plasma 5.16

In my system w/ Latte 0.8.8:

1. Same
2. I do have some, but anything related to system tray / notifications
3. Same
4. It doesn't work
Comment 10 Kai Uwe Broulik 2019-06-14 12:51:37 UTC
Can you run latte dock with

QT_LOGGING_RULES=org.kde.plasma.notifications=true latte-dock

Then watch for any org.kde.plasma.notifications debug output.
Comment 11 Michail Vourlakos 2019-06-14 12:55:54 UTC
(In reply to avlas from comment #9)
> (In reply to Michail Vourlakos from comment #6)
> > 

Please try Kai's proposal with the following command:

"QT_LOGGING_RULES=org.kde.plasma.notifications=true latte-dock -d"

and report back anything related to org.kde.plasma.notifications debug output
Comment 12 avlas 2019-06-14 13:44:47 UTC
(In reply to Michail Vourlakos from comment #11)
> (In reply to avlas from comment #9)
> > (In reply to Michail Vourlakos from comment #6)
> > > 
> 
> Please try Kai's proposal with the following command:
> 
> "QT_LOGGING_RULES=org.kde.plasma.notifications=true latte-dock -d"
> 
> and report back anything related to org.kde.plasma.notifications debug output

It's weird, after setting notifications in plasmashell and removing them and setting them back to latte, not sure how many times, 2-3-4, it seems everything went back to normal and I can enjoy new plasma 5.16 notifications in latte just fine. 

No idea what went wrong before and how it got fixed, but anyways.

Closing this as fixed. I may reopen if this fails again, but hopefully it's not going to happen.