Skip to content

output toggle on a bindsym happens twice. #6078

Open
@freed00m

Description

When changing output on a bindsym, the entire action happens twice. Renders toggle action on display impossible without arbitrary sleep workaround.

I could not find the default sway config, I can retest if requested.

Description:

  • eDP-1 is my laptop's display.
  • no kanshi is running.
  • When I do bindsym for output eDP-1 toggle|enable|disable the entire bind gets executed twice.
  • It happens even using exec swaymsg or moving the swaymsg command to a script exec sh -c "reload.sh"

The problem can be mitigated by a short debounce "sleep 0.1", in that case the bindsym succeeds and get executed only once.
I suspect the toggle happens so fast the button key release gets also recognized as a new press.

The model is HP Zbook 15 G3 running i915 graphics with nouveau being blacklisted and not loaded in the kernel.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugNot working as intendedconfigRelated to commands, config parsing or reload

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions