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

Notification inconsistencies on Phosh #3

Open
BraidenPsiuk opened this issue Nov 19, 2022 · 3 comments
Open

Notification inconsistencies on Phosh #3

BraidenPsiuk opened this issue Nov 19, 2022 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@BraidenPsiuk
Copy link
Owner

BraidenPsiuk commented Nov 19, 2022

All of the following commands fail to show pop-up notifications when the phone is unlocked. They'll only appear when you slide down from the top-edge of the screen to view the "notification center" area.

pinephone.notify(" ")
pinephone.notify(" ", " ")
pinephone.notify("test")
pinephone.notify("test", " ");
pinephone.notify("Hello!", "What is go") // <=10 characters in the body seems to fail...

This, however, works:

pinephone.notify("Hello!", "What is goi") // This works... needs >10 characters?
@BraidenPsiuk BraidenPsiuk added the help wanted Extra attention is needed label Nov 19, 2022
@BraidenPsiuk
Copy link
Owner Author

BraidenPsiuk commented Nov 20, 2022

Dollar sign characters ($) also seem to either get completely ignored, or have strange effects on other characters.

@BraidenPsiuk
Copy link
Owner Author

More strange behavier... running this:

pinephone.notify("TEST", "!@#$$test$123")

Outputs the following:
Title: "TEST"
Body: "!@#464969test23"

@BraidenPsiuk
Copy link
Owner Author

The dollar sign character issues are related to running as a shell command, and can be seemingly fixed by using single quote strings as arguments to notify-send instead of double quote strings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant