Modification highlighting resets in the "Value" panel (composite type) when switching focus to another cell
Description
When editing composite types or arrays via the "Value" sub-panel, modified cells are correctly highlighted (orange/red) to indicate unsaved changes. However, if the user switches focus to another cell in the main data grid and then clicks back on the edited composite cell, the visual highlighting of the modified cells in the "Value" sub-panel disappears, even though the actual data changes are preserved.
DBeaver Version
CE 26.2.2
Operating System
Windows 11
Database and driver
No response
Steps to reproduce
- Open a table containing a composite type or array column (e.g., table
persons, columnaddr). - Click on a composite cell to open the "Value" editing panel.
- Modify one or more values in the sub-table (the cells and the parent cell in the main grid become highlighted).
- Without saving, click on any other cell in the main data grid to switch focus.
- Click back on the previously edited composite cell to reopen the "Value" panel.
Additional context
https://github.com/user-attachments/assets/e3bf46ab-9f9d-4075-9b6e-e32cbf7a6260
Expected Result:
The modified cells in the "Value" sub-panel should remain highlighted as unsaved changes until explicitly saved or canceled.
Actual Result:
The highlighting of modified cells in the "Value" sub-panel is lost. The cells appear as normal, unmodified cells. Note that the parent cell in the main grid remains highlighted, and the actual data changes are not lost-only the UI indicator is reset.
Source: dbeaver/dbeaver