office-gobmx/svtools/source
Caolán McNamara 8c727d1a9a Always send theme-change in kit-mode even if the global theme is the same
Kit explicitly ignores changes to the global color scheme, except for the current ViewShell,
so an attempted change to the same global color scheme when the now current ViewShell ignored
the last change requires re-sending the change. In which case individual shells will have to
decide if this color-scheme change is a change from their perspective to avoid unnecessary
invalidations.

Add ConfigurationHints::OnlyCurrentDocumentColorScheme as the hint that
only the document color scheme has changed, so individual shells can see
if their document color scheme is different to this new color scheme and
not invalidate if unnecessary. So dark/light mode changes work properly
without reintroducing unwanted invalidations.

Change-Id: I5ebb4878694ceb6b9afe26286a30da06ea6ff3ef
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160002
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-11-28 09:36:08 +01:00
..
brwbox
config Always send theme-change in kit-mode even if the global theme is the same 2023-11-28 09:36:08 +01:00
contnr
control
dialogs c++20: use std::erase(_if) instead of std::remove(_if)+erase (svtools) 2023-11-20 07:38:52 +01:00
filter
graphic
inc
java
misc
svhtml Simplify HtmlWriter 2023-11-25 13:32:28 +01:00
svrtf
uitest
uno