#90056Selection not open after after leaving filtered mode
Description
If you select a page in the pagetree in filtered mode the node and then clear the search field, the pagetree returns to its previous state and the selected node may not be visible.
Steps to reproduce:- have a pagetree with as few as possible nodes open
- use search filter to find a page
- select the page (it’s now open in the right pane)
- clear filter field
The rootline to the selected page is not expanded.
Expected behaviour:- after returning to unfiltered mode a selected node MUST be visible in the page tree (the nodes in its rootline must be opened)
- after returning to unfiltered mode a selected node SHOULD be inside the visible part of the pagetree (scrolling issue)
NB this is a déjà vu of a similar issue back in version 4.5-4.7 :-)
Reviews 2
Related issues 5
- Bug #33853Selection lost after leaving filtering-mode
- Bug #83125Selecting a bookmark in the backend should mark the page as selected in the page tree
- Epic #88474Page tree performance in 9.5
- Bug #92830Preserve selected page after filter reset in pagetree
- Bug #104151filtering and removing filter from pagetree makes the pagetree not expandable
History 811
-
Jigal van Hemert changed Related to #33853 <span data-processor="relativetime" data-value="2020-01-06T11:36:06+00:00" > 01/06/20, 11:36 </span>
-
Riccardo De Contardi commented <span data-processor="relativetime" data-value="2020-01-06T12:07:49+00:00" > 01/06/20, 12:07 </span>
-
Riccardo De Contardi changed Related to #88474 <span data-processor="relativetime" data-value="2020-08-23T22:13:21+00:00" > 08/23/20, 22:13 </span>
-
Jigal van Hemert changed Related to #92830 <span data-processor="relativetime" data-value="2022-08-09T11:53:55+00:00" > 08/09/22, 11:53 </span>
-
Rémy DANIEL changed Related to #83125 <span data-processor="relativetime" data-value="2023-03-17T18:21:10+00:00" > 03/17/23, 18:21 </span>
-
Riccardo De Contardi commented <span data-processor="relativetime" data-value="2025-03-23T21:12:27+00:00" > 03/23/25, 21:12 </span>
I repeat the test I’ve performed 5 years ago, adding some scenario.
Prerequisites
1. TYPO3 (latest main)
2. a pagetree configured like this one:[root] Home [...] [a lot of pages] [...] I need a hero I'm holding out for a hero til the end of the night He's gotta be strong and he's gotta be fast And he's gotta be fresh from the fightTest 1
Prerequisites:
the branch with the page “@And he’s gotta be fresh from the fight@” is CLOSED so the pagetree is like this one:[root] Home [...] [a lot of pages] [...] I need a hero I'm holding out for a hero til the end of the night He's gotta be strong1. *Don’t select any page on pagetree*
2. use the filter to filter the tree and type “@from the fight@“
3. the pagetree is filtered and now the only portion of the PageTree visible is[root] Home He's gotta be strong and he's gotta be fast And he's gotta be fresh from the fight4. click on the page “@And he’s gotta be fresh from the fight@” – now it is open in right panel
5. clear the filterResults:
1. The pagetree does not scroll till the point where the selected page was
2. The branch where the page that was selected is places is *CLOSED*
3. The carets to open/close the branch of the pagetree do not work anymore (!) – You have to reload the tree from the server to make it work againTest 2
Prerequisites:
the branch with the page “@And he’s gotta be fresh from the fight@” is OPENED so the pagetree is like this one:[root] Home [...] [a lot of pages] [...] I need a hero I'm holding out for a hero til the end of the night He's gotta be strong and he's gotta be fast And he's gotta be fresh from the fight1. *Don’t select any page on pagetree*
2. use the filter to filter the tree and type “@from the fight@“
3. the pagetree will be filtered and now the only portion of the PageTree visible is[root] Home He's gotta be strong and he's gotta be fast And he's gotta be fresh from the fight4. click on the page “@And he’s gotta be fresh from the fight@” – now it is open in right panel
5. clear the filterResults:
1. The pagetree does not scroll till the point where the selected page was
2. The branch where the page that was selected is places is OPENED , the page is selected
3. The carets to open/close the branch of the pagetree do not work anymore (!) – You have to reload the tree from the server to make it work again—-
Test 3
Prerequisites:
the branch with the page “@And he’s gotta be fresh from the fight@” is CLOSED so the pagetree is like this one:[root] Home [...] [a lot of pages] [...] I need a hero I'm holding out for a hero til the end of the night He's gotta be strong1. open the first branch and select the page “@til the end of the night”@ on pagetree
2. use the filter to filter the tree and type “@from the fight@“
3. the pagetree is filtered and now the only portion of the PageTree visible is[root] Home He's gotta be strong and he's gotta be fast And he's gotta be fresh from the fight4. click on the page “@And he’s gotta be fresh from the fight@” – now it is open in right panel
5. clear the filterResults:
1. The pagetree does not scroll till the point where the selected page was
2. The branch where the page that was selected is places is *CLOSED*
3. The carets to open/close the branch of the pagetree do not work anymore (!) – You have to reload the tree from the server to make it work again—
Test 4
Prerequisites:
the branch with the page “And he's gotta be fresh from the fight“ is OPENED so the pagetree is like this one:[root] Home [...] [a lot of pages] [...] I need a hero I'm holding out for a hero til the end of the night He's gotta be strong and he's gotta be fast And he's gotta be fresh from the fight1. open the first branch and select the page “
til the end of the night“ on pagetree
2. use the filter to filter the tree and type “from the fight“
3. the pagetree will be filtered and now the only portion of the PageTree visible is[root] Home He's gotta be strong and he's gotta be fast And he's gotta be fresh from the fight4. click on the page “@And he’s gotta be fresh from the fight@” – now it is open in right panel
5. clear the filterResults:
1. The pagetree does not scroll till the point where the selected page was
2. The branch where the page that was selected is places is OPENED , the page is selected
3. The carets to open/close the branch of the pagetree do not work anymore (!) – You have to reload the tree from the server to make it work again—-
So, basically test 3 and 4 lead to the same results of 1 and 2
-
Riccardo De Contardi changed Related to #104151 <span data-processor="relativetime" data-value="2025-03-24T22:39:39+00:00" > 03/24/25, 22:39 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 96992 status
NewUnder Review <span data-processor="relativetime" data-value="2026-10-23T10:32:56+00:00" > 10/23/26, 10:32 </span> -
Gerrit Code Review pushed patch set 5 for main to change 96992 <span data-processor="relativetime" data-value="2026-10-23T11:48:50+00:00" > 10/23/26, 11:48 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 97076 <span data-processor="relativetime" data-value="2026-10-23T12:22:11+00:00" > 10/23/26, 12:22 </span>
-
Markus Timtner commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-10-23T12:45:14+00:00" > 10/23/26, 12:45 </span>Applied in changeset commit:82a3f463dce91621218de62109bbbdfadaca2565.
As far as I can see, when you clear the filter you return to any previous selected page on the pagetree – tested with both 9.5 and latest master
Steps to reproduce:
Test 1
RESULT: no page is selected in pagetree
Test 2
RESULT: the pagetree shows as selected the page selected on step 2