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
Merge Selected Features crashes on Temporary Scratch Layers #54856
Comments
Sorry @rgreenwood , Video.del.05-10-2023.16.52.42.webmI'm working on Ubuntu server 22.04 LTS <style type="text/css"> p, li { white-space: pre-wrap; } </style>
|
@rgreenwood look at the type, your gpkg contain 4 MultiLineString type not LineString type ;-) |
@Antoviscomi thanks for looking at it. I am aware that the layer is a multi, as are the polygon layers that also crash. |
@Antoviscomi I watched your screencast again and I believe you created a new temporary scratch layer, then pasted the features into it. That is not what I am doing. I select the features, copy them and then go to the Edit menu > Paste Features > Temporary Scratch Layer. The keyboard shortcut Ctrl-Alt-V does the same thing. The layer is automatically created with the correct type (multi-linestring) and coord system (epsg:2242). I make it editable and select all features, then click the Merge Selected Features button, then crash. |
constraint set Fixes qgis#54856
@rgreenwood I'm sorry, Video.del.06-10-2023.09.18.03.webm |
constraint set Fixes qgis#54856 (cherry picked from commit ec631e8)
What is the bug or the crash?
Using the Merge Selected Features on a Temporary Scratch Layer causes QGIS 3.32.x to crash (close after a brief delay). The problem does not exist in QGIS 3.28. The problem occurs on linestring and polygon layers (haven't tested on other layer types). The problem occurs in data that has been pasted from PostGIS and geopkg layers (haven't tested other sources). If all fields are removed from the pasted layer before attempting to merge features is does not crash.
Steps to reproduce the issue
Versions
Works in 3.28
<style type="text/css"> p, li { white-space: pre-wrap; } </style>Fails in version below
Active Python plugins
qgis2wegue
1.1.1
debug_vs
0.8
plugin_reloader
0.9.3
AnotherDXF2Shape
1.3.1
qgsAzimuth
0.9.16
ImportPhotos
3.0.5
splitmultipart
1.0.0
MemoryLayerSaver
5.0.1
latlontools
3.6.15
processing
2.12.99
MetaSearch
0.3.6
grassprovider
2.12.99
db_manager
0.1.20
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: