hyprlock icon indicating copy to clipboard operation
hyprlock copied to clipboard

red screen on wake when path = screenshot

Open primalmotion opened this issue 1 year ago • 11 comments

The red screen issue seems to only be happening when the path is set to screenshot. It seems sometimes hyprlock tries to update the screenshot, but when already locked, it fails. Or something like that. I can't find any relevant logs. But when I set an actual image, everything seems to work as expected.

primalmotion avatar Apr 16 '24 20:04 primalmotion

It seems this patch fixes the issue

https://github.com/hyprwm/hyprlock/commit/307e473759d1268b50a087095cc005c941f3bb0d

I haven't seen a red screen for 2 days. I let this open for other to comfirm, but it's seems to be working for me now.

primalmotion avatar Apr 22 '24 16:04 primalmotion

Still having the issue using latest revision 8658386f212f29447874fe62fa665c5864cdcc41

EDIT: actually it's not even on wake up but right when activating it. Might not be the same issue, you can close this one if so

elythh avatar Apr 22 '24 16:04 elythh

Same for me. On activation it just goes red

Edit: Now its not red, and follows fractional scaling, but being a bit blurry (previously it ignored fractional scaling and was sharp) Edit2: A short red flash can occur then it sets the blurred background properly

vdawg-git avatar May 01 '24 10:05 vdawg-git

Seems to be fixed. I dont have any problems anymore. Thank you Hyprlock

vdawg-git avatar May 03 '24 07:05 vdawg-git

with latest commit, the red screen may happen on lock

rtgiskard avatar May 19 '24 07:05 rtgiskard

I was messing around and found this...

If run sleep 10 && killall hyprlock and lock screen after that, then, after time will expire, screen will be red

feelamee avatar May 27 '24 10:05 feelamee

Seeing the red screen when activating after setting background to image path.

It's working with screenshot.

Same issue occurs using the image widget.

Using Arch package v0.4.1-1

rgerardi avatar Aug 25 '24 02:08 rgerardi

for me this is consistent. empty config except path = screenshot. just launching from terminal. big tomato flash in my face with no way to avoid it except killing hyprland from other tty

ZerdoX-x avatar Aug 27 '24 16:08 ZerdoX-x

I still have the same issue with the new hyprland debug screen for when the screenlock is killed.

Icelk avatar Nov 29 '24 20:11 Icelk

@feelamee

I was messing around and found this...

If run sleep 10 && killall hyprlock and lock screen after that, then, after time will expire, screen will be red

This is expected. Hyprland locks itself if the screenlock is killed externally.

Icelk avatar Nov 29 '24 20:11 Icelk

A guess to what the issue could be is that hyprlock registers as a lock screen before it can present an image to the user. During that time the screenshot is taken and blurred the hyprland "no lock provider" error is displayed. Though that's just a guess. Not registering to be a lock provider until screenshot taking & blurring is done would solve it.

Also, often I see a "ghost" image of the hyprland screenlock killed screen.

Icelk avatar Nov 29 '24 20:11 Icelk