Bug 1219525 - Notification on successful transactional-update is not persistent
Summary: Notification on successful transactional-update is not persistent
Status: CONFIRMED
Alias: None
Product: openSUSE Kalpa
Classification: openSUSE
Component: Transactional Update (show other bugs)
Version: Current
Hardware: Other Other
: P2 - High : Normal
Target Milestone: ---
Assignee: Shawn Dunn
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-03 18:23 UTC by Shawn Dunn
Modified: 2024-02-16 20:19 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Dunn 2024-02-03 18:23:07 UTC
On Kalpa, transactional-update-notifier does operate correctly on Kalpa, but it pops up when run, and only survives as long as the delay set in `System Settings->Notifications->Hide After` is set to.

This isn't the intended behavior, the notification should be persistent, so the user is aware that an update has been applied, and can choose whether to reboot or not
Comment 1 Shawn Dunn 2024-02-10 17:07:28 UTC
https://github.com/openSUSE/transactional-update-notifier/commit/2f910412f29f5d410989b1761175a3054531b1bb

That is the commit that breaks the behavior on Kalpa, and I suspect other desktops possibly (Yes, we only currently support GNOME and Plasma, but others may exist in the future)

Discussion with Luca, probably need to patch the code to set some sort of Environment variable perhaps, to adjust the Urgency back to "2" for non-Gnome desktops.
Comment 2 Luca Di Maio 2024-02-10 17:09:45 UTC
I think we can do a "TRANSACTIONAL_UPDATE_NOTIFY_URGENT=1" env variable that would force the old "sticky" behaviour

Wdyt?
Comment 3 Shawn Dunn 2024-02-10 23:02:25 UTC
I think that would probably work, or we could just leverage an existing Environmental Variable like 

```
[sfalken@mustang ~]$ echo $DESKTOP_SESSION
plasmawayland
```
Comment 4 Luca Di Maio 2024-02-16 20:19:41 UTC
https://github.com/openSUSE/transactional-update-notifier/pull/1 this should fix the issue