Bug report #18141
[GUI] Disable edit tools when no layer is selected/available nor selected layer is in edit mode
| Status: | Closed | ||
|---|---|---|---|
| Priority: | Normal | ||
| Assignee: | |||
| Category: | GUI | ||
| Affected QGIS version: | 3.5(master) | Regression?: | No | 
| Operating System: | Easy fix?: | Yes | |
| Pull Request or Patch supplied: | No | Resolution: | fixed/implemented | 
| Crashes QGIS or corrupts data: | No | Copied to github as #: | 26034 | 
Description
Open QGIS
Expand Edit menu
There are some items that should be grayed and that aren't.
Related issues
Associated revisions
History
#1
    
    Updated by Giovanni Manghi over 7 years ago
    - Affected QGIS version changed from master to 2.99(master)
 
#2
    
    Updated by Harrissou Santanna about 7 years ago
    - Related to Bug report #20333: "Add Rectangle From 3 Points" is enabled on a new project added
 
#3
    
    Updated by Jürgen Fischer almost 7 years ago
    - Status changed from Open to Feedback
 
Please test with QGIS 3.4 - QGIS 2.18 reached it's end of life.
#4
    
    Updated by Harrissou Santanna almost 7 years ago
    - Affected QGIS version changed from 2.99(master) to 3.5(master)
 - Status changed from Feedback to Open
 
Checking master, I can see the following tools enabled in Edit menu, while there's no need:
	
    - Select --> Deselect features from all layers (not a big issue but unnecessary as the app just opens and is empty)
 - Add rectangle --> Add rectangle from 3 points (both distance from 2nd and 3rd points, and projected point...)
 
#5
    
    Updated by Alexander Bruy almost 7 years ago
    - Status changed from Open to Closed
 - % Done changed from 0 to 100
 
Applied in changeset qgis|ab3adc663c37b3da589cf6bae56d733fcbc4feb3.
#6
    
    Updated by Alexander Bruy almost 7 years ago
    - Assignee set to Alexander Bruy
 - Resolution set to fixed/implemented