Commit 6ef9331
committed
Fix empty page tree in pre-filtered preference dialog
The native search field rework (PR #3925) overrode setInitialText to only
set the placeholder message and stopped maintaining the inherited
initialText sentinel. The pre-filter path addFilter() still wrote the hint
"type filter text" into the field, which was then applied as a real filter
pattern (since it no longer equalled initialText), matching no preference
pages and leaving the tree empty.
Keep the initialText sentinel in sync in the override and stop writing the
hint into the field in addFilter(). The search icon now signals the field's
purpose, so the "type filter text" placeholder is dropped; initialText is
kept only for the empty-filter check and the field's accessible name.
Fixes #40411 parent 55391d7 commit 6ef9331
1 file changed
Lines changed: 5 additions & 4 deletions
File tree
- bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/dialogs
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | | - | |
131 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
| 144 | + | |
144 | 145 | | |
145 | 146 | | |
146 | 147 | | |
| |||
0 commit comments