Skip to content
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

Annotation not drawing from annotation layer - QGIS 3.36 #57223

Closed
2 tasks done
imperialbeachca opened this issue Apr 22, 2024 · 4 comments · Fixed by #57224
Closed
2 tasks done

Annotation not drawing from annotation layer - QGIS 3.36 #57223

imperialbeachca opened this issue Apr 22, 2024 · 4 comments · Fixed by #57224
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@imperialbeachca
Copy link

What is the bug or the crash?

I have created an annotation layer in QGIS. This layer has about 215 entries which are "Text at a point". These were created using current versions of QGIS in the last 6 months, starting Nov. 2023. I have been busy on other projects and just came back to this one. In the meantime, I upgraded QGIS to 3.36.0-Maidenhead. Now, when I open the project, the annotation objects are not showing up on the map. They are still visible in the count of objects on the layer.
I am not sure what is causing them to not show up. Any ideas would be greatly appreciated.

Steps to reproduce the issue

  1. Using version of QGIS prior to 3.36.0, on Annotation toolbar, create New Annotation Layer
  2. Create "Text Annotation at Point" entries on this layer. I used all text, no backgrounds or leader lines.
  3. Upgrade QGIS to 3.36.0
  4. Annotation layer shows in table of contents. Selecting "Properties", shows count of features in Annotation layer. Features do not show up on map.
    ScreenConnect WindowsClient_2aiFiPqAG9

Versions

QGIS version
3.36.0-Maidenhead
QGIS code revision
09951dc
Qt version
5.15.3
Python version
3.9.18
GDAL/OGR version
3.8.4
PROJ version
9.3.1
EPSG Registry database version
v10.098 (2023-11-24)
GEOS version
3.12.1-CAPI-1.18.1
SQLite version
3.41.1
PDAL version
2.6.0
PostgreSQL client version
16.1
SpatiaLite version
5.1.0
QWT version
6.1.6
QScintilla2 version
2.13.4
OS version
Windows 10 Version 2009

Active Python plugins
AppendFeaturesToLayer
2.0.0
clipper
1.2
create_layer_from_selected_features
1.2
DigitizingTools
1.5.2
LAStools
2.1.0
latlontools
3.6.20
Mergin
2024.1
qgis_resource_sharing
1.0.0
quick_map_services
0.19.34
SelectWithin
0.4
slyr_community
5.0.0
splitmultipart
1.0.0
wbt_for_qgis
1.0.9
db_manager
0.1.20
grassprovider
2.12.99
MetaSearch
0.3.6
processing
2.12.99

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

Not sure what else to add here. Pretty frustrating that this is not showing up anymore and no indication that it is broken in some way. I can't tell if there is a setting somewhere that I am missing which would make it not display any longer, or something. I asked for any input on twitter, but that is a black hole these days, so this is sort of my last resort for assistance.

@imperialbeachca imperialbeachca added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Apr 22, 2024
@nyalldawson
Copy link
Collaborator

@imperialbeachca could you share your project here?

@imperialbeachca
Copy link
Author

Project is attached.
FireStation_WallMap.zip

@nyalldawson
Copy link
Collaborator

Ok, fix in #57224

To repair this project, select the annotation layer and then from the QGIS python console run:

for i in iface.activeLayer().items().values():
    i.setEnabled(True)

@imperialbeachca
Copy link
Author

Nyall,
That did the trick. Thank you so much for your quick response, I really appreciate it!
Russell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants