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

Notifd KDE inline reply extension support #250

Open
Mabi19 opened this issue Jan 18, 2025 · 0 comments
Open

Notifd KDE inline reply extension support #250

Mabi19 opened this issue Jan 18, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@Mabi19
Copy link

Mabi19 commented Jan 18, 2025

Is your feature request related to a problem? Please describe.
It'd be neat if AstalNotifd supported the non-standard KDE inline reply notification extension.
When the extension is unsupported, apps put "Reply" buttons that spawn a temporary window, which I find awkward.

Describe the solution you'd like
Support for inline reply in the AstalNotifd API.

Describe alternatives you've considered
Doing it manually by reading hints - unfortunately it requires advertising the inline-reply capability and emitting a different signal, so it can't be done without modifying AstalNotifd

Additional context
This isn't documented, I got this information from reading the KDE patch that introduced the feature: https://phabricator.kde.org/D25851

Supporting inline reply involves the server advertising the inline-reply capability and emitting the NotificationReplied D-Bus signal (instead of ActionInvoked) with id (as in the notification ID) and text parameters, and also parsing a few string hints: x-kde-reply-placeholder-text, x-kde-reply-submit-button-text, x-kde-reply-submit-button-icon-name. Then an action with the ID inline-reply should show an inline entry field instead.

@Mabi19 Mabi19 added the enhancement New feature or request label Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant