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

pausing notifications #73

Open
thigg opened this issue Oct 1, 2023 · 0 comments
Open

pausing notifications #73

thigg opened this issue Oct 1, 2023 · 0 comments

Comments

@thigg
Copy link

thigg commented Oct 1, 2023

Notifications are hiding ui elements sometimes. To fix this, a user should be able to pause notifications until the user is done with interacting.

Proposal:
When a notification is swiped away, notifications are paused for some time. If a notification is swiped away immediatley after the pause, the pause time is increased.

To implement this:

  • the notification ui element needs to inform lipstick (via dbus) if a notification was swiped away.
    the dbus signal should include the notification that was swiped away.
  • lipstick needs to listen to this dbus signal and set the time when the pause will end
    • all notifications currently in the queue to be displayed should be set to paused
    • all new notifications that are triggered during the pause time should be set to paused
    • when the pause is over, all paused notifications should be brought back to the display queue

Things for consideration:

  • pause times: (10s,30s, 1min)
  • different functionality per swipe direction ( pause, do not pause, display notification somewhere else, clear notification queue from this app?), maybe even allow left and down and right and down swipes for more options? (doubt that is used in practice...)
  • visual hints that notifications are paused/unpaused?
  • only pause notifications from the same app that was swiped away
  • maybe allows for finetuning in the settings.
  • disable interaction on notifications (taps, swipes) for the first 500ms after a notification is displayed, to prevent unintentional interaction

Todo: collect more scenarios.

Scenario 1: Fdroid:

  • refresh packages in fdroid, each package triggers a notification
  • try to install a package.
  • the notification hides the install button
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

No branches or pull requests

1 participant