XY Plot line filling not updated by changing worksheet theme
Requirements
Steps to reproduce
- Have an XY Plot open (example
/admin/themes_preview_pixmaps.lml
)
- Assign a line filling-below to "data 2" line
- Switch to any theme that is supposed to set fillings to all lines (Dark)
- Switch to any theme that is supposed to remove fillings from all lines (BlueOnBlack)
Expected
- At step 4., all lines should get filling-below
- At step 4., all lines should have no filling
Observed
- Line fillings are never updated when the theme is changed.
- "data 2" keeps filling-below at all times
- Filling style on "data 2" is updated however to reflect the newly selected theme (Getting a gradient for example)
Labplot Version
Release build 2.10.0-708-ga8c1d8418
Aug 23 2023, 22:44:31
System: Arch Linux
Locale: English,United States (Decimal point '.', Group separator ','
Number settings: Decimal point '.', Group separator ',', Exponential 'e', Zero digit '0', Percent '%', Positive/Negative sign '+'/'-' (Updated on restart)
Architecture: x86_64-little_endian-lp64
Kernel: linux 6.4.10-arch1-1
C++ Compiler: GNU 13.2.1
C++ Compiler Flags: -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -Wall -Wextra -Wundef -Wpointer-arith -Wunreachable-code -Wunused -Wdeprecated-declarations -fno-omit-frame-pointer -fstack-protector -fexceptions -std=c++17 -O2 -Wcast-align -Wswitch-enum -fvisibility=default -pedantic -Wzero-as-null-pointer-constant