Stylesheets: UI themes in Linux have some issues
- Dominant language
- C++
- Stars
- 33.6k
- Forks
- 6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 196
Description
### Problem description
Hey
Thank you for your hard work on FreeCAD, it's great having a libre CAD option.
I wanted to bring to your attention a theme issue. I experience it using KDE in Manjaro, though it's probably the same in any distro or window manager.
Though stylistically dated, FreeCAD 0.21.2's UI is functional. However, the UI themes in the 0.22.0dev AppImage builds all seem to have functional deficiencies which impede usage of the software.
Notice the issues depicted in the following screenshots:
- [ ] Lack of contrast between dark items, including the actual objects in the 3D view. #17979
- [ ] Grayed-out icons are difficult to see. Fix: Though grayed-out, they should be clearly legible.
- [ ] Undo/Redo are for some reason a different faded color. Fix: If grayed-out, they should have the same color as other grayed-out buttons. If clickable, they should have the same vibrant colors as other clickable buttons.
- [ ] Tooltips have no outline and same background color, so they blend into the background. Fix: Tooltips should stand out as such by having an outline and different tooltip background color.
- [ ] Frames have no outlines. Fix: Frames should have outlines or be designed in such a way that their background and padding colors make it clear where a frame begins and ends.
- [ ] Frames have draggable handles that are not visible at all until the user accidentally hovers over their location.
- [ ] Frame buttons (toggle overlay/toggle floating window/Close dock window) are difficult to see. Fix: Same as for other buttons.
- [ ] Excessive padding between icons. I may have a large screen, but I don't want to waste it on padding.
This is the Classic theme:

Dark:

Light:

OpenDark:

### Full version info
```shell
OS: Manjaro Linux (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.36166 (Git) AppImage
Build type: Release
Branch: main
Hash: a5ea8023a29b6d7bbf1ebd57b5ed31dd27c5947b
Python 3.10.13, Qt 5.15.8, Coin 4.0.2, Vtk 9.2.6, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods:
* OpenDark 2023.12.17
* fasteners 0.5.11
* Woodworking 0.21.2.33771
* CurvedShapes 1.0.5
* Curves 0.6.23
```
Contributor guide
Research direction
No source files, tests, or entry points are named. Reproduce the theme problems on Linux using the screenshots and listed cases as a checklist, then identify the UI theme and stylesheet locations; done means the affected controls, frames, tooltips, icons, and spacing are visibly usable across the reported themes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, linux
- Domain
- accessibility, design, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100