Uploaded image for project: 'MediaPortal 2'
  1. MediaPortal 2
  2. MP2-868

Mouse move event sometimes fires on startup even if no mouse is in use

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.4
    • 2.3.2
    • Skin Engine
    • None

    Description

      <p>The InputManager initially assumes the mouse is being used and sets the last mouse used time&nbsp;to the current time when it's created on startup. This causes the home screen to perform a pretend mouse move when it's first shown if the time between the InputManager being created and the screen being shown is less than MOUSE_CONTROLS_TIMEOUT (5 seconds), the mouse move event can then cause the focus to change unexpectedly.</p>

      <p>Given that the event isn't consistently fired anyway, i.e. it's not fired if startup takes longer than 5 seconds, and it can cause issues with focussing, change the InputManager to assume&nbsp;the mouse isn't being used on startup.</p>

      Attachments

        Activity

          People

            brownard Brownard
            brownard Brownard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: