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

Multiple notifications and closure is not properly working #29

Open
Herrie82 opened this issue Feb 8, 2024 · 2 comments
Open

Multiple notifications and closure is not properly working #29

Herrie82 opened this issue Feb 8, 2024 · 2 comments

Comments

@Herrie82
Copy link
Collaborator

Herrie82 commented Feb 8, 2024

Add multiple toasts (4 or so), delete the 3rd one and remaining ones aren't in the right order.

I.e. created 1, 2, 3, 4. Deleted 3, remains 1, 2, 3 instead of 1, 2, 4. Might be solved by creating persistent ones, need to test.

@Herrie82
Copy link
Collaborator Author

Herrie82 commented Feb 9, 2024

Example:

luna-send -n 1 -f -a com.webos.app.test luna://com.webos.notification/createToast '{"message":"hello world 1","displayId": 0, "persistent":true}'
luna-send -n 1 -f -a com.webos.app.test luna://com.webos.notification/createToast '{"message":"hello world 2","displayId": 0, "persistent":true}'
luna-send -n 1 -f -a com.webos.app.test luna://com.webos.notification/createToast '{"message":"hello world 3","displayId": 0, "persistent":true}'
luna-send -n 1 -f -a com.webos.app.test luna://com.webos.notification/createToast '{"message":"hello world 4","displayId": 0, "persistent":true}'

Afterwards remove "hello world 3" and a random notification gets removed from the list it seems

@Tofee
Copy link
Member

Tofee commented Feb 9, 2024

Thanks, with this scenario it should be easy to find the mistake

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

2 participants