Ondsel-Development / FreeCAD

This is the official source code of FreeCAD, a free and opensource multiplatform 3D parametric modeler.
https://www.freecad.org
Other
192 stars 8 forks source link

Spreadsheet cell background "White" fails if the cell is already the default color. #59

Open mppbtw opened 6 months ago

mppbtw commented 6 months ago

Is there an existing issue for this?

Problem description

image In the "Preferences" tab when selecting a block of cells, the "Background" color is set to white, even though the default color is not white. If I click on the selector and try to set it to white again, click "Ok", nothing happens. The only way to set the background color to white is to set it to something else first. This may be tied into #36, as -under some circumstances- the color selector seems to think that the default color is "White", even though it isn't. This means that it is also impossible to set the cell background to the default color again, as the default is not one of the options in the color picker; the only way to revert back to the default is using the eyedropper tool, which doesn't seem very practical.

Full version info

OS: Arch Linux (Hyprland)
Word size of Ondsel: 64-bit
Version: 2024.2.0.37191 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 2024.2.0)
Hash: 2ad5fb327d068ae6280cf702d528b3a6e35770a7
Python 3.11.9, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: English/United States (en_US)
Installed mods: 
  * Ondsel-Lens 2024.4.16.01

Subproject(s) affected?

None

Anything else?

No response

Code of Conduct