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

fix(makoct): Ensure same notif id is used across external call in makoctl menu #530

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

Conversation

ErynGalen
Copy link

Consider the following:
The first notification has action act1. The user starts makoctl menu with no id specified to get actions from this notifications. While dmenu is open, a new notification appears. When the user confirms act1 in dmenu, this action previously got applied to this new notification, which potentially has completely different actions/semantics.

Now the behaviour is that the action gets sent to the notification from which it was obtained (this is consistent with behaviour when -n is passed)

Notes

The new behaviour could already be replicated on the user's side, but there doesn't seem to be a point in keeping the previous behaviour. The previous behaviour can be achieved by passing -n 0

Consider the following:
The first notification has action `act1`. The user starts `makoctl menu`
with no id specified to get actions from this notifications. While dmenu
is open, a new notification appears. When the user confirms `act1` in
dmenu, this action previously got applied to this new notification,
which potentially has completely different actions/semantics.

Now the behaviour is that the action gets sent to the notification from
which it was obtained (this is consistent with behaviour when `-n` is
passed)
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.

1 participant