#40627 Fix schema filter dialog not opening in Simple navigator view#40771
#40627 Fix schema filter dialog not opening in Simple navigator view#40771xingxing21 wants to merge 3 commits into
Conversation
There was a problem hiding this comment.
Pull request overview
Fixes a UI regression where “Configure Filter Settings” did nothing in the Simple navigator view by ensuring navigator tree resolution works for both Simple and Advanced navigator views, and by making a previously silent failure mode visible in logs.
Changes:
- Update
NavigatorUtils.getNavigatorTree()to recognizeNavigatorViewBase(covers bothDatabaseBrowserViewandDatabaseNavigatorView). - Add a debug log when
DBNUtils.getValidItemsMeta()returnsnullin filter configuration, avoiding silent no-ops.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| plugins/org.jkiss.dbeaver.ui.navigator/src/org/jkiss/dbeaver/ui/navigator/actions/NavigatorHandlerFilterConfig.java | Adds debug logging when filter item metadata can’t be resolved, improving diagnosability. |
| plugins/org.jkiss.dbeaver.ui.navigator/src/org/jkiss/dbeaver/ui/navigator/NavigatorUtils.java | Generalizes active navigator tree detection to work across both navigator view implementations. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Please update your commit message per our contribution guide |
|
@ShadelessFox |
|
Thanks! Passing to QA team. |
fb21a49 to
0dd21b2
Compare
|
Please clean up your commits. Drop everything redundant and rebase onto |
|
@ShadelessFox , |
|
Your commit history is filled with external commits that are not related to your PR, caused by an improper merge/rebase commit. Use interactive rebase and drop redundant commits, then rebase your branch onto remote devel. |
3765d23 to
46e9b68
Compare
|
Hi @MashaKorax Thank you for your time and for maintaining the project! |
|
error on attempt to apply schema filters dbeaver_afMRpM5ZJT.mp4 |
|
Hi @uslss |
|
And the error is "java.lang.IllegalStateException: No databases found on the server" |
|
Hi @uslss Did you test it again? |
|
Hello @uslss I hope you’re doing well. Thank you for your time and for maintaining the project! |
|
It's awaiting QA and will be reviewed again once one of our QA engineers is available. So please, be patient :) |
|
@ShadelessFox Thank you for your response 😉 |
…reference (#40627)
Problem
In Simple navigator view (DatabaseBrowserView), right-clicking a filtered node and selecting "Configure Filter Settings" did nothing — the dialog never opened. The Advanced view (DatabaseNavigatorView) was unaffected.
There were two layered root causes:
NavigatorUtils.getNavigatorTree() had a type check of instanceof DatabaseNavigatorView, which excluded DatabaseBrowserView. As a result, the method returned null when called from Simple view, and the context menu item was never populated.
NavigatorHandlerFilterConfig.configureFilters() silently returned when DBNUtils.getValidItemsMeta() returned null, making such failures invisible in logs.
Changes
NavigatorUtils.java
NavigatorHandlerFilterConfig.java
Recording.2026-04-15.022151.mp4