Skip to content

Missing "alt" release event, OR Why modifier key state should be part of keyboard input event #77

Closed

Description

@tomaka

Activity

  1. added
    S - api
    on Nov 3, 2016
  2. rigtorp commented on Jan 18, 2017

    @rigtorp
    Contributor

    @jwilm I checked the Alt-Tab issue on Centos 7 and it doesn't exist for this version of winit: 09e6698

    Alt-Tab out from window:

    KeyboardInput(Pressed, 64, Some(LAlt), )
    Focused(false)
    MouseLeft
    Focused(false)
    

    Alt-Tab in to window:

    Focused(true)
    MouseEntered
    Focused(true)
    

    So it would be possible to accurately track alt modifier state.

  3. jwilm commented on Jan 18, 2017

    @jwilm
    Contributor

    I'm not sure what you mean by "[the issue] doesn't exist". You did not get a release event for the LAlt key at any point in those logs.

  4. rigtorp commented on Jan 18, 2017

    @rigtorp
    Contributor
  5. francesca64 commented on Dec 19, 2017

    @francesca64
    Member

    This issue was resolved by PR #112

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    S - api

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions