View Issue Details

IDProjectCategoryView StatusLast Update
0000267QElectroTechDiagram Editorpublic2026-09-24 10:46
Reporteraaronsb Assigned To 
PriorityhighSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
PlatformKDE NeonnOSLinuxOS Version5.15.0-46-generi
Summary0000267: Diagram editor color choices
DescriptionDiagram 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 ReproduceSetting "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 InformationRecommend 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



TagsNo tags attached.

Activities

ispyisail

2026-09-24 10:46

developer   ~0000871

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.

Issue History

Date Modified Username Field Change
2022-08-25 01:27 aaronsb New Issue
2026-09-24 10:46 ispyisail Note Added: 0000871
2026-09-24 10:46 ispyisail Status new => resolved
2026-09-24 10:46 ispyisail Resolution open => fixed