Skip to content

Notification body privacy / "hide sensitive content"

Submitted by Yalda

Assigned to Simon Steinbeiß @ochosi

Link to original bug (#14432)

Description

Created attachment 7770 Example gtkrc theme to demonstrate deisred effect

Greetings,

I hope this report finds you well. Please let me know if it is not in your preferred format - this is my first time around here. I was referred over from #xfce

I screenshare a lot and have messaging clients aplenty. I also happen to enjoy my XFCE notifications, but I do not want the body of messages from these notifications to be revealed in notifications.

The desired effect I was after was something similar to "Hide sensitive content" on newer Android/iOS phones, where the title of the application and its respective active buttons are showed on the notification toaster but NOT the contents of the notification. So for example, "Gmail" but without any indication in the body as to what the email was about.

I have attached here a theme with a gtkrc file (forgive me, version of xfce4-notify I am running does not support gtk3 css theme) that demonstrates this by hiding the body text. So far I have been using this without issue on native and snap applications.

This seems to me like an enhancement that may benefit others. Please let me know what you think.

Cheers

Attachment 7770, "Example gtkrc theme to demonstrate deisred effect":
PrivateXfce4Notify.tar.gz

Edited by Simon Steinbeiß