Skip to content
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

Remove Session.vala #265

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Remove Session.vala #265

wants to merge 1 commit into from

Conversation

Marukesu
Copy link
Contributor

session storage while using the org.freedesktop.Notifications interface is flawed and broken. notifications can't be closed by apps and actions cannot be activated after the application exits or there's a system reset. so remove the between session capabilities from the indicator.

we can restore between session persistence in the server, after it has direct support to the Gtk/Portal interfaces. but for now, i think it's better to be honest here and remove it.

session storage while using the org.freedesktop.Notifications interface is
flawed and broken. notifications can't be closed by apps and actions cannot
be activated after the application exits or there's a system reset. so
remove the between session capabilities from the indicator.

Signed-off-by: Gustavo Marques <[email protected]>
@danirabbit
Copy link
Member

I'm -1 on removing this functionality. There can still be valuable information in an old notification even if the notification itself can't be actioned on

@Marukesu
Copy link
Contributor Author

The idea here was more of "remove it temporary, and restore after support for the portal/GTK interfaces was added in the server". Given that the notification format is different between those interfaces and the fdo interface, a rewrite of the session file will be needed anyway.

the biggest problem with the between sessions persistence and the fdo interface are that applications cannot remove they notifications after a reboot or being closed, so the user need to be constantly cleaning-up the indicator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants