Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-1242

We should be able to track if a tool has been focused or not

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0 alpha
    • None
    • None
    • None

      The tools are in a panel with "deferredRender: false" config, which can lead to some layout or rendering problems.
      As a workaround, we should provide a way for tools to know if they have been focused (at least once) or not.

          [RUNTIME-1242] We should be able to track if a tool has been focused or not

          It's a little bit tricky:

          on statup you may have "setParams" if you are invisible
          on open "setParams / focus"
          you can have "setParams" alone
          and you can have "focus" alone

          Since all factories will be set in autoRefresh (except a few); it would be smarter to do "outOfDate" on a setParams : if you are visible you will see "refresh" called automatically. Can you test this scheme? If it is allright we will close this ticket and open a ticket to make the ContentTool the right way, and makes a list of tools that needs the same

          Raphaël Franchet added a comment - It's a little bit tricky: on statup you may have "setParams" if you are invisible on open "setParams / focus" you can have "setParams" alone and you can have "focus" alone Since all factories will be set in autoRefresh (except a few); it would be smarter to do "outOfDate" on a setParams : if you are visible you will see "refresh" called automatically. Can you test this scheme? If it is allright we will close this ticket and open a ticket to make the ContentTool the right way, and makes a list of tools that needs the same

          ContentTool is also concerned, because it currently di it by itself

          Raphaël Franchet added a comment - ContentTool is also concerned, because it currently di it by itself

          Nicolas Gavalda (Inactive) added a comment - Bug opened in the ExtJS forum: https://www.sencha.com/forum/showthread.php?302708-Select-a-node-of-a-not-rendered-tree

            ngavalda Nicolas Gavalda (Inactive)
            ngavalda Nicolas Gavalda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: