mortie / swaylock-effects

Swaylock, with fancy effects
MIT License
707 stars 46 forks source link

Screenshot background appears upside down #57

Open ThomasLeister opened 3 years ago

ThomasLeister commented 3 years ago

I just noticed that the screenshots taken by swaylock-effects appear upside down on the lockscreen. I'm not sure since which version this is happening, because I probably haven't looked that closely in the past (and with all the blur effect applied the bug is not obvious ;-) )... but here's some version information:

My swaylock command:

/usr/bin/swaylock  --screenshots \
                                    --effect-blur 7x5 \
                                    --effect-vignette 0.5:0.5

Is this reproducible for anyone of you?

Edit: Background images with --image do not appear upside down.

AxelSilverdew commented 3 years ago

Yup, can confirm this is happening to me as well. My version information is the exact same as yours.

I have these settings in my swaylock config:

screenshots
indicator
clock
effect-blur=7x5
effect-vignette=0:1
fade-in=0.5
ignore-empty-password
indicator-radius=120
indicator-thickness=10
indicator-caps-lock
stmh commented 3 years ago

can confirm, started after upgrading to Fedora 34 which includes sway 1.6

misuto commented 3 years ago

Can confirm that this happens for me as well. Same situation as @stmh, Fedora 34 with Sway 1.6

Edit: Tried to build it myself and it works as expected

AxelSilverdew commented 3 years ago

@misuto Did you build swaylock-effects or sway?

misuto commented 3 years ago

@AxelSilverdew I built swaylock-effects and am using the official sway package

mortie commented 3 years ago

Swaylock-effects 1.6-1 is fairly old. https://github.com/mortie/swaylock-effects/commit/f38f7e16c43febcd97d8f5a2eee089d25a8cb954, part of 1.6-2, makes swaylock-effects flip the image correctly.

Is anyone able to reproduce this with the latest swaylock-effects version? Or is this just a case of an outdated package in Fedora?

stmh commented 3 years ago

I can confirm that building swaylock-effects from source fixes the issue.

uolot commented 3 years ago

I had the same issue, but only the laptop screen was flipped, the external monitor was fine. I use swaylock-effects on Arch installed from AUR (aur/swaylock-effects-git). For some reason it didn't auto-update for quite a while. After manually updating the package, the problem is gone.

vincit-haihala commented 3 years ago

Can confirm compiling from source fixes the issue.

Maybe going through the fedora 34 update notes would be valuable since at least for me that is where the flipping started.

Bios-Marcel commented 6 months ago

FYI, this issue still persists in 2024, Fedora 39, installed from COPR repository.

Happens on both the internal screen and the external screen.