Bug 464203

Summary: Interpolation properties: Points text box is black-on-black when dark theme is in use
Product: [Applications] LabPlot2 Reporter: Paul Worrall <p.r.worrall>
Component: generalAssignee: Alexander Semke <alexander.semke>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version First Reported In: 2.9.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 2.10
Sentry Crash Report:

Description Paul Worrall 2023-01-12 16:59:22 UTC
STEPS TO REPRODUCE
1. Select Breeze Dark global theme
2. Add an XYInterpolationCurve
3. Select its Properties => General
4. Select Points=Custom

OBSERVED RESULT
Cannot read the number of points

EXPECTED RESULT
Number is white-on-black like the other text boxes

SOFTWARE/OS VERSIONS
Plasma: 5.26.5
Frameworks: 5.101.0
Qt: 5.15.8
Graphics: Wayland
Comment 1 Alexander Semke 2023-02-05 17:32:30 UTC
Git commit 85506cf49c0b1029227c62eeb4b1e51e454dbbed by Alexander Semke.
Committed on 05/02/2023 at 17:32.
Pushed by asemke into branch 'master'.

Don't hard-code the black color when highlighting an invalid interpolation point number and then going back to a correct number in XYInterpolationCurveDock.
FIXED-IN: 2.10

M  +3    -3    src/kdefrontend/GuiTools.cpp
M  +1    -1    src/kdefrontend/GuiTools.h
M  +7    -11   src/kdefrontend/dockwidgets/XYInterpolationCurveDock.cpp

https://invent.kde.org/education/labplot/commit/85506cf49c0b1029227c62eeb4b1e51e454dbbed