-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Centralized Tray Notifications #889
Comments
Milestone justification: |
Likely a follow up issue: |
On Thu, Oct 08, 2015 at 08:22:34AM -0700, Patrick Schleizer wrote:
I think this one is orthogonal to the ticket main topic. See below.
So... use something that doesn't have this behaviour. Note that some notification daemons have some limits on simultaneous One additional thing - maybe useful here - freedesktop notification Best Regards, |
|
On Thu, Oct 08, 2015 at 10:44:05AM -0700, Patrick Schleizer wrote:
Not "until" - something needs to sent those notifications either to some Best Regards, |
BTW check if Best Regards, |
notify-send works on Debian jessie KDE, but it looks weird.
Not sure I understand. So once "Centralized Tray Notifications" is implemented, you'll be providing a tool that Whonix should start using? In that case, easy from Whonix side. |
…ubes than kdialog (thanks to @marmarek for the suggestion) - QubesOS/qubes-issues#889 (comment) - fixed usage of notify-send, it uses milliseconds rather than seconds (thanks to @marmarek for the suggestion) - refactoring
Yes. Very useful. I would very much like to implement this. But I can't. |
On Thu, Oct 08, 2015 at 10:51:47AM -0700, Patrick Schleizer wrote:
Hmm, just checked and here (Qubes dom0 with KDE) it looks exactly like
We plan to implement it transparently to the VM applications. It will Best Regards, |
Just doing a routine check: Is it still correct that @rootkovska is assigned to this issue? |
No. |
Also, there is a PoC written by @v6ak, linked and described in that qubes-devel thread |
Thanks. Updated. |
My desktop GMail notifications, I believe include a "Reply" button. Likewise, I've seen buttons included in updater messages. The option to "Bug me later" vs to outright "Dismiss" an update notification, also feels very important for an OS like Qubes. Buttons imply richer interactivity options that most of Qubes OS currently has. Qubes is special because of the many things it simply makes possible short of running a dozen physically-airgapped devices, at once. For "notifications" that do include buttons, I see the Qubes "Question" window as basically fulfilling that goal—but with the workaround of being a small dialog box. I'd much prefer those eventually become notification bubbles spawned by dedicated widgets for Split-GPG and Inter-Qube activities. I'll put that on my list for "Things Nina Wants When Millions Of Dollars Fall From The Sky." |
On Fri, Jul 09, 2021 at 02:55:22PM -0700, Nina Eleanor Alter wrote:
> > For `ActionInvoked` the app might not be informed that the user clicked somewhere on the notification. Buttons are uncommon in notifications and I've never seen any, so I dismiss that impact.
>
> Interesting! I know that on mobile, buttons on notifications (such as ???reply to message???) are _extremely_ common, so I was surprised that they are rare on desktop.
My desktop GMail notifications, I believe include a "Reply" button. Likewise, I've seen buttons included in updater messages. The option to "Bug me later" vs to outright "Dismiss" an update notification, also feels very important for an OS like Qubes.
Buttons imply richer interactivity options that most of Qubes OS currently has. Qubes is special because of the many things it simply _makes possible_ short of running a dozen physically-airgapped devices, at once. For "notifications" that do include buttons, I see the Qubes "Question" window as basically fulfilling that goal???but with the workaround of being a small dialog box.
I'd much prefer those eventually become notification bubbles spawned by dedicated widgets for Split-GPG and Inter-Qube activities. I'll put that on my list for "Things Nina Wants When Millions Of Dollars Fall From The Sky."
NM notifications have a "Don't tell me about this again" option.
I would like to see similar on the "qube starting" and "qube shutting
down" notifications, or a mechanism to mute them.
The dialog box not only asks the question, but also provides interaction
(in selecting a target qube) - I don't see how a bubble could provide
that, and users are likely used to such dialog boxes in any case.
|
Most of the aforementioned examples ("Bug Me later", "Dismiss", "Don't show this again", ...) are matters of the notification server implementation in the target VM (aka the fancy stuff with potentially 1k bugs I mentioned earlier). A good overview can be found at the arch wiki. Only this "Reply to e-mail" button would require a working Alternatively, one could just handle such notifications via the locally running notification server, i.e. fall back to the decentralized architecture for those. |
After looking into This would have the advantage that one could keep the local desktop notification server running (i.e. remain backwards compatible) and show notifications locally when there are e.g. buttons inside of them. It would however require the running daemon to locally close notifications that were forwarded unless one wants them to be displayed both locally and in the other VM. Here's a rough code sample that works on older |
I tested this approach with Firefox. Unfortunately the race condition when closing the local notification results in the notification being displayed locally for ~1s. So this is not usable. As an alternative It would be great to be able to handle some notifications locally (e.g. the ones with buttons), but So to make notification forwarding work with arbitrary applications Qubes has the following choices:
|
As for where the real notification server should run, GUI qube (which may be dom0) sounds like a logical choice, as some desktop environments have pretty tightly integrated notifications (AFAIR KDE has a built in widget that allows to review notification history too). Coincidentally, having a back channel (actions) from a GUI qube is less of an issue, as it already has a way to send data to any VM connected to it. Another qube could also be an option, especially if considering more complex features, but I don't like to put too much stuff (especially GUI related) to sys-firewall, as I'd like to make it as lightweight as possible (including possibility to use MirageOS-based one without GUI at all). (*) Actually, sound could be handled locally, without sending it over to the notification VM. |
We also need to get rid of that. This is also the purpose of having QubesOS/qubes-issues#889. See https://forum.qubes-os.org/t/cant-get-the-qubesos-contrib-qubes-tunnel-to-work-in-4-1/8550/8?u=fepitre
Reported by joanna on 18 Aug 2014 14:59 UTC
A simple qubes.TrayNotification service in Dom0/GUI domain that would be trigerable by agents in each VM (which would register as default tray notifcator). The protocol should be trivial -- just a fixed-size string, sanitized by the server in the usual way (same as we do for Windows titles, etc).
Migrated-From: https://wiki.qubes-os.org/ticket/889
Historical information about contributors
Community Dev: @v6ak, @nastaziya, @fepitre
Partial PoC: https://groups.google.com/d/msg/qubes-devel/1Lzv9SQCzFc/4gKx06iKRD4J
Discussion: https://groups.google.com/d/topic/qubes-devel/1Lzv9SQCzFc/discussion
The text was updated successfully, but these errors were encountered: