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

Screen flashes when using fade-in #25

Open
martinstark opened this issue Jan 19, 2023 · 5 comments
Open

Screen flashes when using fade-in #25

martinstark opened this issue Jan 19, 2023 · 5 comments
Labels
C-bug Category: This is a bug help wanted Extra attention is needed

Comments

@martinstark
Copy link

First created this issue on the mortie repo without realizing it was the abandoned one.

When I enable --fade-in the screen flashes before showing the indicator and then fading in the screenshot background. With or without other effects enabled.

@jirutka jirutka added the C-bug Category: This is a bug label Aug 12, 2023
@jirutka
Copy link
Owner

jirutka commented Dec 2, 2023

I’ve reproduced it on Sway 1.8. It’s really annoying, but I don’t know how to fix it. :/

@jirutka jirutka added the help wanted Extra attention is needed label Dec 2, 2023
@MithicSpirit
Copy link

From my brief testing, it seems like using ext-session-lock-v1 causes the screen to go black for a moment until it is drawn to. Perhaps the solution would be to create the window and draw to it before locking the session, but I'm not sure whether that's even possible.

This issue also seems to be present on regular https://github.com/swaywm/swaylock, so maybe this should be reported upstream and use whatever fix they implement (if any).

@Timarrr
Copy link

Timarrr commented Jan 12, 2024

as of right now, Archlinux's swaylock doesn't have any discernible flashing, but swaylock-effects does

@fabien-michel
Copy link

mortie's fork is not affected by this black flash. I've seen it only after swaylock-effects AUR repo switched to jirutka's one.

@luispabon
Copy link

I don't believe it happens on mortie's fork because it doesn't use ext-session-lock-v1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants