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

Showing Telegram's notifications on the lock screen #333

Open
zolagonano opened this issue Nov 27, 2022 · 9 comments
Open

Showing Telegram's notifications on the lock screen #333

zolagonano opened this issue Nov 27, 2022 · 9 comments

Comments

@zolagonano
Copy link

I'm submitting a…

[x] Bug
[ ] Feature Request
[ ] Other (Please describe in detail)

Current Behavior

i3lock shows telegram's notifications(and probably other apps as well) while its locked, which might contain sensitive information.

Expected Behavior

Not showing anything from outside lock screen.

Reproduction Instructions

  1. open telegram desktop
  2. lock your device
  3. send a message to your telegram account, and you'll get the message on the lock screen

Environment

Output of i3lock --version:

i3lock version:  2.14.1 
@stapelberg
Copy link
Member

Are you using a compositor like xcompmgr, compton, picom or others? If so, try turning it off.

@zolagonano
Copy link
Author

Are you using a compositor like xcompmgr, compton, picom or others? If so, try turning it off.

Yeah i do.
I tried turning them off and it fixed the problem.
but i still need my compositor, is there any fix for that? without having to remove the compositor?

@stapelberg
Copy link
Member

I don’t recall if there are better workarounds, but you can wrap i3lock in a script that kills the compositor, invokes i3lock, then restarts the compositor.

@kolayne
Copy link

kolayne commented Apr 14, 2023

Killing picom didn't work for me. Running Telegram version 4.7.1, i3lock: version 2.14.1

@ssidashov
Copy link

I have the same problem, and I have no picom or any other compositor installed. Telegram messages are showed on lock screen. Btw, betterlockscreen has the same problem.
i3lock: version 2.13.c.4

@stapelberg
Copy link
Member

I cannot reproduce this problem without a compositor.

I tried it with Telegram’s native notifications and custom notifications. Neither show up on i3lock when not running a compositor.

As soon as I start a compositor, both mechanisms show up.

To double-check whether you’re running a compositor: run notify-send foo via SSH. If the message is visible on i3lock, you’re running a compositor.

i3lock: version 2.13.c.4

This is not a known version number. We have released i3lock 2.13, followed by 2.14. I don’t know what the “c.4” stands for. I suggest you try it with upstream i3lock, without modifications.

@orestisfl
Copy link
Member

To double-check whether you’re running a compositor: run notify-send foo via SSH. If the message is visible on i3lock, you’re running a compositor.

Just to propose a way to setup this test without ssh, one can run:

i3lock & sleep 1 && notify-send foo

@ssidashov
Copy link

This is not a known version number. We have released i3lock 2.13, followed by 2.14. I don’t know what the “c.4” stands for. I suggest you try it with upstream i3lock, without modifications.

Yes, i'm sorry, this is a version of fork i3lock-color (https://github.com/Raymo111/i3lock-color), which is betterlockscreen dependency in Arch.

@micronull
Copy link

micronull commented Nov 17, 2023

The problem is reproduced on version 2.14.1

i3lock & sleep 1 && notify-send foo

With picom turned off, there is no problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants