Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-5084

Only first subapp keeps keyboard focus (new framework)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Neutral
    • None
    • 6.1
    • None
    • None

    Description

      When ShortcutListeners attached on grids within Tabsheet, only grid in first tab can trigger action. No action is triggered when keys are touched on grids in other tabs.

       

      Steps to reproduce:

      • open Notifications/Tasks app
      • select second tab
      • hit enter on item

      Expected: detail view opens

      Actual behaviour: nothing happens

       

      Some investigation:

      (vaadin-server-8.5.2-sources.jar) com.vaadin.event.ActionManager::handleAction() gets action parameter with wrong (always the first) grid in it. Therefore ownActions.contains(action) (on line 239) returns false for grids other than the first in tabsheet as ownActions is set correctly.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                asiska Adam Siska
                Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD