elementary / elementary/code

Unable to rename folders in project

Đang mở
#1,486 7 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Vala
Star
521
Fork
118
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
14

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
desktop
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.