Skip to content

Add an option to display notification content even if screen is locked #27666

@GranPC

Description

@GranPC

Is your feature request related to a problem?

Telegram Desktop currently checks whether the screen is locked before displaying notifications. If it is, notification content is redacted and looks like this:

image

While this makes sense from a privacy perspective, some operating systems actually have system-wide controls for that:

image

The system-wide setting ends up providing a better UX: unlocking the device after receiving a notification can actually cause that notification's content to be unveiled.

Describe the solution you'd like

Ideally we would have a toggle inside Notification settings to bypass this behavior. It could be called "Show message content on lock screen" or similar.

Describe alternatives you've considered

The only alternative I have come up with so far - which worked - was to patch the Telegram binary to disable the check and always show notification content. This immediately improved the UX significantly.

Additional context

I am running Telegram Desktop on a Linux phone running phosh. I am also working on improvements to the shell itself, and notifications are a focus of mine right now.

Delegating the decision of when and where to display notification content would enable some interesting use cases that are currently not possible, such as smartwatch notification support and priority contacts.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions