diff options
author | Sahil Gautam <sahil@libreoffice.org> | 2024-09-05 01:37:44 +0530 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2024-09-05 21:33:35 +0200 |
commit | 9dd26d7a2cc6b314dcc0b52000e0475bb4ced57d (patch) | |
tree | 7104bf60e81123c99882f13fb8007d5113625996 /extras | |
parent | c4d2570b4f1830d733f3569d6cd3e4eb6c09a9cb (diff) |
Libreoffice Theme Part 0: Read correct colors from qt based VCL_PLUGINS
See `QtFrame::UpdateSettings()`, where `StyleSettings::WindowColor` is
set to aBase (QPalette::Base) and `StyleSettings::DialogColor` is set to
WindowColor in a call to `StyleSettings::BatchSetBackgrounds`.
The issue is that without this patch in place, "GetWindowColor()" doesn't
return the color of the window, instead it returns the "base color" from
QPalette.
It had some unintendedd consequences like the "Animation Panel" in the
Impress's Animations sidebar not being painted with the correct color,
as it was expecting the old WindowColor. This patch also fixes that by
changing WindowColor to FieldColor in `SalInstanceWidget::set_stack_background()`
https://gerrit.libreoffice.org/c/core/+/168901/comment/0e5201bd_2cae07b9/
Change-Id: I36f8c5efd8c3e87ded19a1efc00ed9c69a7fccf1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171916
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'extras')
0 files changed, 0 insertions, 0 deletions