View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000267 | QElectroTech | Diagram Editor | public | 2022-08-25 01:27 | 2026-09-24 10:46 |
| Reporter | aaronsb | Assigned To | |||
| Priority | high | Severity | feature | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Platform | KDE Neonn | OS | Linux | OS Version | 5.15.0-46-generi |
| Summary | 0000267: Diagram editor color choices | ||||
| Description | Diagram editor UI and color choices should be customisable with QT css or other configurable interface. Display-> "Background Color White/Gray" offers multiple eyestrain modes that are not user health friendly. | ||||
| Steps To Reproduce | Setting "Background Color White/Gray" to option "White" sets the editor display to high contrast black lines on white text with optional grid. This mode induces eye strain if users is using darker desktop display options where other UI elements are dark. Setting "Background Color White/Gray" to option "Gray" sets the editor display to extremely low contrast with gray background and black lines. This mode induces eye strain with insufficient contrast. | ||||
| Additional Information | Recommend adding or exposing configurables to abstractly define Web or RGB colors. Currently they appear to be hard coded. A brief look at source, /master/sources/diagram.cpp reveals the following classes as possible points to help remove static definition. Using https://github.com/qelectrotech/qelectrotech-source-mirror/blob/master/sources/diagram.cpp as a reference. Background and Foreground line color pen hard coded for graphical shapes. https://github.com/qelectrotech/qelectrotech-source-mirror/blob/8775d1e1bd7fbdbe7dfa20ebbd163c9e260ab77e/sources/diagram.cpp#L87 https://github.com/qelectrotech/qelectrotech-source-mirror/blob/8775d1e1bd7fbdbe7dfa20ebbd163c9e260ab77e/sources/diagram.cpp#L92 Drawing background hard coded choices. https://github.com/qelectrotech/qelectrotech-source-mirror/blob/8775d1e1bd7fbdbe7dfa20ebbd163c9e260ab77e/sources/diagram.cpp#L190-L191 | ||||
| Tags | No tags attached. | ||||
|
|
Two changes cover this: - GitHub #968 (merged 2026-09-21) replaces the white/grey switch with a colour picker for the diagram background, with presets and any custom colour. On a dark background the border and title block switch to light lines. - GitHub #979 (merged 2026-09-22) lets you pick a custom colour for the whole application, on the Appearance settings page. https://github.com/qelectrotech/qelectrotech-source-mirror/pull/968 https://github.com/qelectrotech/qelectrotech-source-mirror/pull/979 It is in the current development builds and will be in the next release. If it does not work for you in a build that includes it, add a note here and we will reopen this. |