Bug report #11157

The overview panel's canvas's background color should be set to the project background

Added by Mathieu Pellerin - nIRV about 10 years ago. Updated about 9 years ago.

Status:Closed
Priority:Low
Assignee:-
Category:Map Canvas
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:19478

Description

Right now, the background color of the overview panel's canvas is set to the default OS window background color (on windows and linux, defaulting to a light gray). It can be problematic when working with projects that have a non-white background.

For e.g., in the attached screenshot, I am displaying a set of polygons using a light gray color over a black background. When the layer's [x] show in overview is checked, the polygons can barely be seen as the color matches the OS window background color.

IMO, the overview canvas' background color should match the project's background color.

download_20140908_123643.png (29.9 KB) Mathieu Pellerin - nIRV, 2014-09-07 10:37 PM

Associated revisions

Revision f60ca599
Added by Nyall Dawson about 9 years ago

Fix overview canvas background color not set (fix #11157)

Revision 4d7cb24c
Added by Nyall Dawson almost 9 years ago

Fix overview canvas background color not set (fix #11157)

(cherry-picked from f60ca59996544a29567cfa6a68f6dc2c1664f6dd)

History

#1 Updated by Jürgen Fischer about 10 years ago

  • Category set to Map Canvas

#2 Updated by Nyall Dawson about 10 years ago

This is already fixed, isn't it?

#3 Updated by Mathieu Pellerin - nIRV about 10 years ago

Nyall, more or less so. The way it was implemented (I think) was to set the panel's background color to the project's background color upon creation of panel or something like that.

The current implementation doesn't deal with project background color changes, or changing background when loading more than one project within a session.

#4 Updated by Nyall Dawson about 9 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF