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

Only first subapp keeps keyboard focus (new framework)

XMLWordPrintable

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD