Fix Database Explorer tree expand hit target and side-button enablement on Windows - #7765
Conversation
…ent on Windows Signed-off-by: lance <leehaut@gmail.com>
…ent on Windows Signed-off-by: lance <leehaut@gmail.com>
|
The patch has unintended side effects on Windows: the arrows no longer work. |
Thanks for reporting this. I'll reproduce the issue on Windows and work on a fix. |
|
@nadment Thanks for the report. I re-tested this on Windows several times (including clicking the tree expand/collapse arrows > / ∨, not only keyboard navigation), and expand/collapse behaves normally for me. Could you share a bit more detail so I can try to reproduce it on my side?
Happy to follow up once I can reproduce it. |
|
I made a short video to show the problem that occurs when I single click on the arrows for expand. Version : hop-client-2.19.0-20260805.123340-1 |
|
FYI, I'm also working on improving the database explorer. |
Summary
Fix unreliable expand/collapse of Catalogs/Tables/Views in
DatabaseExplorerDialogon Windows (DPI/zoom misaligns the native>hit target; clicks often only worked in the tiny gap between>and the folder icon).Make folder interactions usable: gutter/icon clicks toggle expand when the native handler does nothing, and double-click on folders expands/collapses.
Replace simple getters/setters with Lombok
@Getter/@Setter; expand the Tables branch only after children are added.