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

Details

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

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD