Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-4860

Closing a tool tab with a right click or by clicking the cross icon should behave the same way

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major Major
    • 3.9
    • 3.9
    • Workspace : CMS
    • None

      Currently, when closing a tab by clicking the cross icon, the tool to close take the focus before it is closed. The side effect is that selectionChanged messages are sent (especially for tool of type active who send a selectionchanged message will a null target when closed).
      When closing a tab (or all tab) by the right clic menu, the tool(s) is(are) directly closed, and the selectionChanged messages are not sent.

          [CMS-4860] Closing a tool tab with a right click or by clicking the cross icon should behave the same way

          The new selection change message will avoid asynchronous problems. So the close message will win in the described case

          Raphaël Franchet added a comment - The new selection change message will avoid asynchronous problems. So the close message will win in the described case

          example:
          open a content, and the history tool
          focus the history
          close the content by clicking the X

          the same, but close the content by right-click, close

          first case : history say no more content (ok) second case, the content is still displayed (ko)

          Raphaël Franchet added a comment - example: open a content, and the history tool focus the history close the content by clicking the X the same, but close the content by right-click, close first case : history say no more content (ok) second case, the content is still displayed (ko)

            Unassigned Unassigned
            trizzi Thibaut Rizzi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: