[jira] [Updated] (NETBEANS-2326) Explorer API views (ListView, TreeTableView) flicker when filtering nodes
[ https://issues.apache.org/jira/browse/NETBEANS-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emilian Bold updated NETBEANS-2326: --- Description: *Summary* For a brief second the Explorer API views show dummy nodes for a filtered node. See the attached PNG screenshot and video for a general idea. Oddly enough Children.Keys(boolean lazy) [http://bits.netbeans.org/dev/javadoc/org-openide-nodes/org/openide/nodes/Children.Keys.html#Keys-boolean-] does mention a "dummy" Node but it was never clear what that is and I never imagined it could go all the way to the UI. Ideally this flickering should be fixed or the existing documentation clarified to explain this limitation... *Steps to reproduce* Open the zipped NetBeans module project (tested on NetBeans 8.2 and Apache NetBeans 10.) The children filtering is done the 'usual' way recommended in wiki: {{new FilterNode.Children(node) {}} {{ @Override}} {{ protected Node[] createNodes(Node key) {}} {{ if (rule(key)) {}} {{ return super.createNodes(key);}} {{ } else {}} {{ //filter out}} {{ return new Node[0];}} {{ }}} } *Expected results* The ListView / TreeTableView GUI should show only show the allowed nodes. *Actual results* The view actually shows many children nodes for a split second then it shows the filtered nodes. was: *Summary* For a brief second the Explorer API views show dummy nodes for a filtered node. *Steps to reproduce* Open the zipped NetBeans module project (tested on NetBeans 8.2 and Apache NetBeans 10.) The children filtering is done the 'usual' way recommended in wiki: {{new FilterNode.Children(node) {}} {{ @Override}} {{ protected Node[] createNodes(Node key) {}} {{ if (rule(key)) {}} {{ return super.createNodes(key);}} {{ } else {}} {{ //filter out}} {{ return new Node[0];}} {{ }}} } *Expected results* The ListView / TreeTableView GUI should show only the allowed nodes. *Actual results* The view actually shows many children nodes for a split second then it shows the filtered nodes. Oddly enough Children.Keys(boolean lazy) [http://bits.netbeans.org/dev/javadoc/org-openide-nodes/org/openide/nodes/Children.Keys.html#Keys-boolean-] does mention a "dummy" Node but it was never clear what that is and I never imagined it could go all the way to the UI. See the attached PNG screenshot and video for a general idea. Ideally this flickering should be fixed or the existing documentation clarified to explain this limitation... > Explorer API views (ListView, TreeTableView) flicker when filtering nodes > - > > Key: NETBEANS-2326 > URL: https://issues.apache.org/jira/browse/NETBEANS-2326 > Project: NetBeans > Issue Type: Bug > Components: platform - Explorer, platform - Nodes >Affects Versions: 8.2, 10.0 >Reporter: Emilian Bold >Priority: Major > Attachments: 2326-poc.zip, dummy-nodes.png, filternode-flicker.mov > > > *Summary* > For a brief second the Explorer API views show dummy nodes for a filtered > node. See the attached PNG screenshot and video for a general idea. > Oddly enough Children.Keys(boolean lazy) > [http://bits.netbeans.org/dev/javadoc/org-openide-nodes/org/openide/nodes/Children.Keys.html#Keys-boolean-] > does mention a "dummy" Node but it was never clear what that is and I never > imagined it could go all the way to the UI. > Ideally this flickering should be fixed or the existing documentation > clarified to explain this limitation... > *Steps to reproduce* > Open the zipped NetBeans module project (tested on NetBeans 8.2 and Apache > NetBeans 10.) > The children filtering is done the 'usual' way recommended in wiki: > {{new FilterNode.Children(node) {}} > {{ @Override}} > {{ protected Node[] createNodes(Node key) {}} > {{ if (rule(key)) {}} > {{ return super.createNodes(key);}} > {{ } else {}} > {{ //filter out}} > {{ return new Node[0];}} > {{ }}} > } > *Expected results* > The ListView / TreeTableView GUI should show only show the allowed nodes. > *Actual results* > The view actually shows many children nodes for a split second then it shows > the filtered nodes. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-2326) Explorer API views (ListView, TreeTableView) flicker when filtering nodes
[ https://issues.apache.org/jira/browse/NETBEANS-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emilian Bold updated NETBEANS-2326: --- Description: *Summary* For a brief second the Explorer API views show dummy nodes for a filtered node. *Steps to reproduce* Open the zipped NetBeans module project (tested on NetBeans 8.2 and Apache NetBeans 10.) The children filtering is done the 'usual' way recommended in wiki: {{new FilterNode.Children(node) {}} {{ @Override}} {{ protected Node[] createNodes(Node key) {}} {{ if (rule(key)) {}} {{ return super.createNodes(key);}} {{ } else {}} {{ //filter out}} {{ return new Node[0];}} {{ }}} } *Expected results* The ListView / TreeTableView GUI should show only the allowed nodes. *Actual results* The view actually shows many children nodes for a split second then it shows the filtered nodes. Oddly enough Children.Keys(boolean lazy) [http://bits.netbeans.org/dev/javadoc/org-openide-nodes/org/openide/nodes/Children.Keys.html#Keys-boolean-] does mention a "dummy" Node but it was never clear what that is and I never imagined it could go all the way to the UI. See the attached PNG screenshot and video for a general idea. Ideally this flickering should be fixed or the existing documentation clarified to explain this limitation... was: For a brief second the Explorer API views show dummy nodes for a filtered node. The children filtering is done the 'usual' way: {{new FilterNode.Children(node) {}} {{ @Override}} {{ protected Node[] createNodes(Node key) {}} {{ if (rule(key)) {}} {{ return super.createNodes(key);}} {{ } else {}} {{ //filter out}} {{ return new Node[0];}} {{ }}} } and what happens is that the ListView / TreeTableView GUI does *not* show only the allowed nodes. It shows all the original children for a split second then it shows the filtered nodes. Oddly enough Children.Keys(boolean lazy) [http://bits.netbeans.org/dev/javadoc/org-openide-nodes/org/openide/nodes/Children.Keys.html#Keys-boolean-] does mention a "dummy" Node but it was never clear what that is and I never imagined it could go all the way to the UI. See the attached PNG screenshot and video for a general idea. There's also a zipped NetBeans module project tested on NetBeans 8.2 and Apache NetBeans 10. Ideally this flickering should be fixed or the existing documentation clarified to explain this limitation... > Explorer API views (ListView, TreeTableView) flicker when filtering nodes > - > > Key: NETBEANS-2326 > URL: https://issues.apache.org/jira/browse/NETBEANS-2326 > Project: NetBeans > Issue Type: Bug > Components: platform - Explorer, platform - Nodes >Affects Versions: 8.2, 10.0 >Reporter: Emilian Bold >Priority: Major > Attachments: 2326-poc.zip, dummy-nodes.png, filternode-flicker.mov > > > *Summary* > For a brief second the Explorer API views show dummy nodes for a filtered > node. > *Steps to reproduce* > Open the zipped NetBeans module project (tested on NetBeans 8.2 and Apache > NetBeans 10.) > The children filtering is done the 'usual' way recommended in wiki: > {{new FilterNode.Children(node) {}} > {{ @Override}} > {{ protected Node[] createNodes(Node key) {}} > {{ if (rule(key)) {}} > {{ return super.createNodes(key);}} > {{ } else {}} > {{ //filter out}} > {{ return new Node[0];}} > {{ }}} > } > *Expected results* > The ListView / TreeTableView GUI should show only the allowed nodes. > *Actual results* > The view actually shows many children nodes for a split second then it shows > the filtered nodes. > Oddly enough Children.Keys(boolean lazy) > [http://bits.netbeans.org/dev/javadoc/org-openide-nodes/org/openide/nodes/Children.Keys.html#Keys-boolean-] > does mention a "dummy" Node but it was never clear what that is and I never > imagined it could go all the way to the UI. > See the attached PNG screenshot and video for a general idea. > Ideally this flickering should be fixed or the existing documentation > clarified to explain this limitation... -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-2326) Explorer API views (ListView, TreeTableView) flicker when filtering nodes
[ https://issues.apache.org/jira/browse/NETBEANS-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emilian Bold updated NETBEANS-2326: --- Description: For a brief second the Explorer API views show dummy nodes for a filtered node. The children filtering is done the 'usual' way: {{new FilterNode.Children(node) {}} {{ @Override}} {{ protected Node[] createNodes(Node key) {}} {{ if (rule(key)) {}} {{ return super.createNodes(key);}} {{ } else {}} {{ //filter out}} {{ return new Node[0];}} {{ }}} } and what happens is that the ListView / TreeTableView GUI does *not* show only the allowed nodes. It shows all the original children for a split second then it shows the filtered nodes. Oddly enough Children.Keys(boolean lazy) [http://bits.netbeans.org/dev/javadoc/org-openide-nodes/org/openide/nodes/Children.Keys.html#Keys-boolean-] does mention a "dummy" Node but it was never clear what that is and I never imagined it could go all the way to the UI. See the attached PNG screenshot and video for a general idea. There's also a zipped NetBeans module project tested on NetBeans 8.2 and Apache NetBeans 10. Ideally this flickering should be fixed or the existing documentation clarified to explain this limitation... was: For a brief second the Explorer API views show dummy nodes for a filtered node. The children filtering is done the 'usual' way: {{new FilterNode.Children(node) {}} {{ @Override}} {{ protected Node[] createNodes(Node key) {}} {{ if (rule(key)) {}} {{ return super.createNodes(key);}} {{ } else {}} {{ //filter out}} {{ return new Node[0];}} {{ }}} } and what happens is that the ListView / TreeTableView GUI does *not* show only the allowed nodes. It shows all the original children for a split second then it shows the filtered nodes. See the attached screenshot and video for a general idea. I'm also going to attach a small project. Oddly enough Children.Keys(boolean lazy) [http://bits.netbeans.org/dev/javadoc/org-openide-nodes/org/openide/nodes/Children.Keys.html#Keys-boolean-] does mention a "dummy" Node but it was never clear what that is and I never imagined it could go all the way to the UI. > Explorer API views (ListView, TreeTableView) flicker when filtering nodes > - > > Key: NETBEANS-2326 > URL: https://issues.apache.org/jira/browse/NETBEANS-2326 > Project: NetBeans > Issue Type: Bug > Components: platform - Explorer, platform - Nodes >Affects Versions: 8.2, 10.0 >Reporter: Emilian Bold >Priority: Major > Attachments: 2326-poc.zip, dummy-nodes.png, filternode-flicker.mov > > > For a brief second the Explorer API views show dummy nodes for a filtered > node. > The children filtering is done the 'usual' way: > {{new FilterNode.Children(node) {}} > {{ @Override}} > {{ protected Node[] createNodes(Node key) {}} > {{ if (rule(key)) {}} > {{ return super.createNodes(key);}} > {{ } else {}} > {{ //filter out}} > {{ return new Node[0];}} > {{ }}} > } > and what happens is that the ListView / TreeTableView GUI does *not* show > only the allowed nodes. It shows all the original children for a split second > then it shows the filtered nodes. > Oddly enough Children.Keys(boolean lazy) > [http://bits.netbeans.org/dev/javadoc/org-openide-nodes/org/openide/nodes/Children.Keys.html#Keys-boolean-] > does mention a "dummy" Node but it was never clear what that is and I never > imagined it could go all the way to the UI. > See the attached PNG screenshot and video for a general idea. There's also a > zipped NetBeans module project tested on NetBeans 8.2 and Apache NetBeans 10. > Ideally this flickering should be fixed or the existing documentation > clarified to explain this limitation... -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-2326) Explorer API views (ListView, TreeTableView) flicker when filtering nodes
[ https://issues.apache.org/jira/browse/NETBEANS-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emilian Bold updated NETBEANS-2326: --- Attachment: 2326-poc.zip > Explorer API views (ListView, TreeTableView) flicker when filtering nodes > - > > Key: NETBEANS-2326 > URL: https://issues.apache.org/jira/browse/NETBEANS-2326 > Project: NetBeans > Issue Type: Bug > Components: platform - Explorer, platform - Nodes >Affects Versions: 8.2, 10.0 >Reporter: Emilian Bold >Priority: Major > Attachments: 2326-poc.zip, dummy-nodes.png, filternode-flicker.mov > > > For a brief second the Explorer API views show dummy nodes for a filtered > node. > The children filtering is done the 'usual' way: > {{new FilterNode.Children(node) {}} > {{ @Override}} > {{ protected Node[] createNodes(Node key) {}} > {{ if (rule(key)) {}} > {{ return super.createNodes(key);}} > {{ } else {}} > {{ //filter out}} > {{ return new Node[0];}} > {{ }}} > } > and what happens is that the ListView / TreeTableView GUI does *not* show > only the allowed nodes. It shows all the original children for a split second > then it shows the filtered nodes. > See the attached screenshot and video for a general idea. I'm also going to > attach a small project. > Oddly enough Children.Keys(boolean lazy) > [http://bits.netbeans.org/dev/javadoc/org-openide-nodes/org/openide/nodes/Children.Keys.html#Keys-boolean-] > does mention a "dummy" Node but it was never clear what that is and I never > imagined it could go all the way to the UI. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-2326) Explorer API views (ListView, TreeTableView) flicker when filtering nodes
[ https://issues.apache.org/jira/browse/NETBEANS-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emilian Bold updated NETBEANS-2326: --- Description: For a brief second the Explorer API views show dummy nodes for a filtered node. The children filtering is done the 'usual' way: {{new FilterNode.Children(node) {}} {{ @Override}} {{ protected Node[] createNodes(Node key) {}} {{ if (rule(key)) {}} {{ return super.createNodes(key);}} {{ } else {}} {{ //filter out}} {{ return new Node[0];}} {{ }}} } and what happens is that the ListView / TreeTableView GUI does *not* show only the allowed nodes. It shows all the original children for a split second then it shows the filtered nodes. See the attached screenshot and video for a general idea. I'm also going to attach a small project. Oddly enough Children.Keys(boolean lazy) [http://bits.netbeans.org/dev/javadoc/org-openide-nodes/org/openide/nodes/Children.Keys.html#Keys-boolean-] does mention a "dummy" Node but it was never clear what that is and I never imagined it could go all the way to the UI. was: For a brief second the Explorer API views show dummy nodes for a filtered node. The children filtering is done the 'usual' way: {{}}{{new FilterNode.Children(node) {}} {{ @Override}} {{ protected Node[] createNodes(Node key) {}} {{ if (rule(key)) {}} {{ return super.createNodes(key);}} {{ } else {}} {{ //filter out}} {{ return new Node[0];}} {{ }}} {{ }}} and what happens is that the ListView / TreeTableView GUI does *not* show only the allowed nodes. It shows all the original children for a split second then it shows the filtered nodes. See the attached screenshot and video for a general idea. I'm also going to attach a small project. Oddly enough Children.Keys(boolean lazy) [http://bits.netbeans.org/dev/javadoc/org-openide-nodes/org/openide/nodes/Children.Keys.html#Keys-boolean-] does mention a "dummy" Node but it was never clear what that is and I never imagined it could go all the way to the UI. > Explorer API views (ListView, TreeTableView) flicker when filtering nodes > - > > Key: NETBEANS-2326 > URL: https://issues.apache.org/jira/browse/NETBEANS-2326 > Project: NetBeans > Issue Type: Bug > Components: platform - Explorer, platform - Nodes >Affects Versions: 8.2, 10.0 >Reporter: Emilian Bold >Priority: Major > Attachments: dummy-nodes.png, filternode-flicker.mov > > > For a brief second the Explorer API views show dummy nodes for a filtered > node. > The children filtering is done the 'usual' way: > {{new FilterNode.Children(node) {}} > {{ @Override}} > {{ protected Node[] createNodes(Node key) {}} > {{ if (rule(key)) {}} > {{ return super.createNodes(key);}} > {{ } else {}} > {{ //filter out}} > {{ return new Node[0];}} > {{ }}} > } > and what happens is that the ListView / TreeTableView GUI does *not* show > only the allowed nodes. It shows all the original children for a split second > then it shows the filtered nodes. > See the attached screenshot and video for a general idea. I'm also going to > attach a small project. > Oddly enough Children.Keys(boolean lazy) > [http://bits.netbeans.org/dev/javadoc/org-openide-nodes/org/openide/nodes/Children.Keys.html#Keys-boolean-] > does mention a "dummy" Node but it was never clear what that is and I never > imagined it could go all the way to the UI. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists