Feature request #12707

Avoid too similar colours in the same project

Added by Paolo Cavallini over 4 years ago. Updated almost 2 years ago.

Status:Open
Priority:Normal
Assignee:Nyall Dawson
Category:Symbology
Pull Request or Patch supplied:Yes Resolution:
Easy fix?:No Copied to github as #:20813

Description

When loading layers a random colour is assigned to each. Quite often it happens that the colours are rather similar, thus confusing the user. I have the impression that this happens more often in 2.8 compared to previous versions.
It would be good if QGIS could check the colours already used in the project, and select something different enough for the next layer.

History

#1 Updated by Giovanni Manghi over 2 years ago

  • Easy fix? set to No

#2 Updated by Paolo Cavallini almost 2 years ago

  • Assignee set to Nyall Dawson
  • Status changed from Open to Feedback
  • Description updated (diff)

A solution has been proposed, possibly implemented in QGIS 3.x.

#3 Updated by Nyall Dawson almost 2 years ago

  • Pull Request or Patch supplied changed from No to Yes
  • Status changed from Feedback to Open

Still work in progress- a PR is open here https://github.com/qgis/QGIS/pull/6265, but some bits left to do

Also available in: Atom PDF