-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
"Delete Seleted" button not working properly in a not geometric layer #55618
Comments
@JOTAELE1012, thanks for reporting. May you please provide the exact steps and and exact names of the tool used e the type of the layer involved in order to replicate the described behaviour? |
Hi @agiudiceandrea, thanks for your answer. You are right, I do the selection of the feature using the "Select Features by Values... (F3 key)" button (in the Selection Toolbar). I have tested this bug in different types of layers, as PostGIS tables or GeoJSON. So, the exact steps to replicate this behaviour are: 1.- Turn on the edition mode a not geometric layer. Although I can avoid it in several ways: Going to the attribute table and the "Delete Selected" will be able to be used, or turning on the edition mode after selecting the features... I see this as a bug that should not happen. Thanks |
It looks like this affects also vector layers with geometry IF the layer is turned off when you do the selection (from attribute table, from selection toolbar using select by value, select all, select by expression) or the deselection. And it is not only about the "Delete selected features" button but afaics all this block of tools (copy features, cut features, modify attributes for selected features, delete selected features) Reselecting the layer after another one, without changing its visibility status, makes the tool(s) available. Peek.18-01-2024.00-47.mp4
|
What is the bug or the crash?
Hi everybody,
In the Canvas, when I'm using the edition mode with a not geometric layer (a layer without any geometry column), if I select one or more features, the "Delete Selected" button is not able to be used. That button is able to be used once you have changed the active layer in the "Layers Panel" and come back again to your not geometric layer.
I'm using QGIS 3.28.X and Windows 11.
Steps to reproduce the issue
1.- Turn on the edition mode a not geometric layer
2.- In the Canvas, select one or more features.
3.- Then you´ll see the "Delete Selected" button is not able to be used.
4.- Change another active layer in the "Layers Panel"
5.- Come back to active the previous not geometric layer in the "Layers Panel"
6.- Then, the "Delete Selected" button is able to work properly.
Versions
QGIS 3.28.X and Windows 11
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: