New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Too many canvas refreshes imacts feature editing #29289
Comments
Author Name: Nyall Dawson (@nyalldawson) Please check the label settings for the layer being edited in both versions - I suspect the difference is due to different label settings in the 3.x project causing a complete redraw.
|
Author Name: Alexey T (@Xeenych) First, QGIS redraws all layers, not only the layer being edited. |
Author Name: Nyall Dawson (@nyalldawson) I cannot reproduce. There is a specific setting in your project which is causing this to happen, or possibly it's due to an installed plugin changing the behaviour. |
Author Name: Alexey T (@Xeenych) Test this roject please. Select "line" layer. Then use vertex tool to edit a feature. |
Author Name: Giovanni Manghi (@gioman) Alexey T wrote:
just tested your project on 3.6, select the "line" layer, toggled editing and made some node/segment changes and/or selection. No refreshes. |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Alexey T (@Xeenych) Strange. Cannot reproduce it too now. May be I've changed some QGIS settings. Will investigane |
Author Name: Giovanni Manghi (@gioman) Ask to reopen if you find a/the real problem.
|
Author Name: Alexey T (@Xeenych) I think this should be reopened. "Use render caching if possible to speed up redraws" should be enabled in QGIS render settings. Check this video please. Add a label to "line" layer. Add label to dem layer. Labels may be empty |
Author Name: Giovanni Manghi (@gioman) Alexey T wrote:
with labels on (even empty) I see a redraw, also on 2.18 and regardless of the "Use render caching if possible to speed up redraws". This is also your observation? if yes I guess that this is how it works (not sure 100%) so this should be possible be filed as a feature request/improvement (but I have a vague idea that I filed a similar ticket many years ago and the answer was that it wasn't possible to improve much this area when labels are on... but again my memory could fail me). |
Author Name: Alexey T (@Xeenych) As labels are always drawn on top of all rasters and vectors, I think QGIS might redraw labels only, when editing features, leaving already rendered vectors and rasters intact. |
Author Name: Giovanni Manghi (@gioman) Alexey T wrote:
I'll leave the answer to a core developer. |
Author Name: Alexey T (@Xeenych) Shouldn't this bug be reopened? |
Author Name: Alexey T (@Xeenych)
Original Redmine Issue: 21472
Affected QGIS version: 3.6.0
Redmine category:map_tools
I have a heavy project. Redrawing it takes near a second or a two.
Canvas refresh happens every time when
It is impossible to edit something in this case.
QGIS 2.18 doesn't behave like this.
The video, showing the difference in 2.18 and 3.6 is here
https://yadi.sk/d/oGakaJc77ilkNQ
The text was updated successfully, but these errors were encountered: