View Issue Details

IDProjectCategoryView StatusLast Update
0000267QElectroTechDiagram Editorpublic2022-08-25 01:27
Reporteraaronsb Assigned To 
PriorityhighSeverityfeatureReproducibilityalways
Status newResolutionopen 
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

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-08-25 01:27 aaronsb New Issue