Unable to rename folders in project
- Dominant language
- Vala
- Stars
- 521
- Forks
- 118
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 14
Description
### What Happened?
Attempted to rename a folder in my project's hierarchy by right-clicking and hitting "Rename". However nothing happens, the context menu disappears and nothing comes up, no field to edit the name or anything like it. This doesn't happen if you right-click and attempt to rename a file, however.
### Steps to Reproduce
1. Opened a project with multiple folders (the project in specific has a git repository)
2. Right-clicked on a folder and clicked "Rename"
3. Context menu will disappear, and no field/way of renaming the folder will appear
### Expected Behavior
A field will appear to edit and rename the folder, similar to how right-clicking to rename a file works
### OS Version
7.x (Horus)
### Session Type
Classic Session (X11, This is the default)
### Software Version
Latest release (I have run all updates)
### Log Output
Launching the application with `G_MESSAGES_DEBUG=all io.elementary.code` produces the following log when right-clicking a folder and selecting "Rename":
```shell
** (io.elementary.code:43376): CRITICAL **: 23:13:01.930: granite_widgets_source_list_tree_start_editing_item: assertion 'item.selectable' failed
```
### Hardware Info
Running in a Hyper-V virtual machine, unsure if this would affect such an action however
Contributor guide
Research direction
Reproduce the issue in a project hierarchy containing multiple folders, then follow the folder context-menu Rename action and the reported granite_widgets_source_list_tree_start_editing_item assertion. Compare it with renaming a file; done means folder renaming opens an editable field and completes without the assertion.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100