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.46k stars 2.99k forks source link

Digitizing: rubberband is not deleted when editing mode is turned off #58814

Open JuhoErvasti opened 2 weeks ago

JuhoErvasti commented 2 weeks ago

What is the bug or the crash?

When you're for example digitizing a new feature and you make the layer not editable the rubberband doesn't disappear:

other_issue

Steps to reproduce the issue

  1. Create a polygon layer
  2. Start adding a new feature
  3. Turn layer editing off
  4. Observe as the rubberband persists

Versions

QGIS version3.39.0-Master
QGIS code revisiond85f3c2a28
 
Libraries
Qt version5.15.3
Python version3.10.12
GDAL/OGR version3.6.4
PROJ version9.1.1
EPSG Registry database versionv10.076 (2022-08-31)
GEOS version3.11.1-CAPI-1.17.1
SQLite version3.37.2
PDAL version2.5.0
PostgreSQL client version16.4 (Ubuntu 16.4-1.pgdg22.04+1)
SpatiaLite version5.0.1
QWT version6.1.4
QScintilla2 version2.11.6
OS versionUbuntu 22.04.4 LTS
This copy of QGIS writes debugging output.
 
Active Python plugins
processing2.12.99
MetaSearch0.3.6
db_manager0.1.20
grassprovider2.12.99

Supported QGIS version

New profile

Additional context

Doesn't occur in 3.38.2 Grenoble so looks like a regression. Other rubberband-related issue here: #58813

JuhoErvasti commented 2 weeks ago

Okay, well with more testing this is seems very inconsistent. I can't get it to reproduce now, and not entirely sure what (if anything) I did differently when this behavior happened...

agiudiceandrea commented 2 weeks ago

I also cannot replicate the issue.

JuhoErvasti commented 2 weeks ago

Yes, sorry I might've been too hasty in writing this up. I haven't really noticed a pattern here, it just randomly happened when I was investigating this.

Not sure, maybe this issue should be closed unless/until I figure out when it actually occurs?