qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.04k stars 2.92k forks source link

Indentify tool redlining rendering does NOT follow current rendering #41291

Open rduivenvoorde opened 3 years ago

rduivenvoorde commented 3 years ago

When you use for example 'random rotation' in your vector styling.

Use the i-tool to get information about a feature, the i-tool re-renders your feature with a 'red line' to show it is the feature that currently info shows...

BUT: because the 'random' is in the rotation, it does not 'render' current 'real' rendering but another:

Screenshot-20210201104359-180x136

The same issue when you resize the window: the 'redline' arrow goes around as a lunatic :-)

I do understand that this is a problem that is hard to fix (because of the 'randomness' in the rendering...). But when you resize the windows, it seems(!) for a while that then the rerendering is ok (no extra rotations), but it looks like that then the 'old' rendering is reused UNTILL the mapcanvas is x% bigger so QGIS does a full rerender...

gioman commented 3 years ago

This is also true when simply editing the geometry of a feature that was previously identified.

rduivenvoorde commented 3 years ago

Thinking out loud here (not aware of exact implementations...). The i-tool redlining rendering should have the same 'context' while rendering a features as the 'normal' renderer? AND follow that context/rendering when updated (like when reshaping the mapcanvas)? But also: this is a pretty specific issue ....

rduivenvoorde commented 3 years ago

Another observation:

Screenshot-20210201200641-174x179

The selection tool works fine: it repaints the full layer... including the selected feature.. in the right direction.

Pedro-Murteira commented 2 years ago

I can still replicate this on QGIS 3.16.14 and 3.22.1.