elementary / elementary/code

Unable to rename folders in project

未关闭
#1,486 7 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Vala
星标
521
派生
118
平均合并
1 天 8 小时
30 天内合并 PR
14

描述

### 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

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

领域
desktop
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。