swaylock icon indicating copy to clipboard operation
swaylock copied to clipboard

ring flickers during first input

Open primalmotion opened this issue 3 years ago • 7 comments

Since the last changes in master (support for the new lock protocol) everytime I hit the first key to enter my password, the ring jumps to the right a bit then comes back to its initial position. It does not cause any troubles other than looking weird.

This is my conf:

~❯ cat .config/swaylock/config 
daemonize
ignore-empty-password
indicator-idle-visible
indicator-radius=80
indicator-thickness=5
image=/path/to/wallaper.png
scaling=fill

primalmotion avatar Feb 07 '22 17:02 primalmotion

Mine is not only on first key. It flickers on pretty much any input. The right half of the ring sometimes stays visible offset to the right.

I can attach a screenshot if needed.

lytedev avatar Feb 09 '22 23:02 lytedev

Mine is not only on first key. It flickers on pretty much any input. The right half of the ring sometimes stays visible offset to the right.

I can attach a screenshot if needed.

same problem for me.

Dea1993 avatar Mar 01 '22 13:03 Dea1993

This problem was not there a few weeks ago, but I cannot recall properly which version introduced this bug.

subnut avatar Mar 15 '22 18:03 subnut

The problem seems to be caused by the --indicator-idle-visible option and I believe it is external to swaylock. Try building revision 666ae950bc9c58b2676724e0d614f9018100fcca, which first added the option (long before this problem appeared). I experience the issue with this version.

sammko avatar Apr 12 '22 09:04 sammko

@sammko Indeed it is :no_mouth:

In my case, removing this option from the swaylock config file has fixed the flickering.

subnut avatar Apr 12 '22 11:04 subnut

Can confirm, removing indicator-idle-visible solves the issue for me. However, I was fairly sure that when I configured Sway 6 months ago, I did not have the issue. I think it may have been introduced more recently :thinking:

noahtallen avatar May 14 '22 02:05 noahtallen

Seconded. This worked for quite some time for me and the flickering only started happening about when this issue was created.

lytedev avatar May 18 '22 06:05 lytedev