UNO SDB Container API Refresh Strategy

Pierre Vacher prrvchr at gmail.com
Tue Aug 12 21:35:39 UTC 2025


Hi all,

I'm experiencing some issues following actions that can be performed in
LibreOffice Base. tdf#167920
<https://bugs.documentfoundation.org/show_bug.cgi?id=167920> is a good
example of this type of problem.

It turns out that most of the time these problems can be resolved simply by
refreshing the Base GUI via the *View -> Refresh Tables* menu.

If we want the GUI to follow the changes imposed by user actions, several
strategies are possible. Either using broadcasters and listeners and
tracking, or having Base start the refresh of the container requesting it
after validating the changes requiring the GUI refresh.
But refreshing a container requires it to be reinitialized, so any
reference to it must become invalid and therefore certainly pose other
problems.


Thank you for your wise advice.

Pierre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20250812/0efa9638/attachment.htm>


More information about the LibreOffice mailing list