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

Setting active tab in TabBarWidget should not be done with an event

XMLWordPrintable

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

      Dialogs are added to the DOM by MagnoliaShellViewImpl.addModal() after they are created. The problem is that when the dialog is created, an ActiveTabChangedEvent is sent from the MagnoliaTabSheetConnector activeTab stateChangeHandler to the TabBarWidget to set the active tab label. But this event is sent before the TabBarWidget is initialised, resulting in no tab label being selected.

      There must be a better route - ie RPC that would not be dependant on the timing of creation.

      Concretely - this Timer delay should be removed.

        Acceptance criteria

              apchelintcev Aleksandr Pchelintcev
              czimmermann Christopher Zimmermann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD