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

Chưa có ai nhận issue này.

Đánh giá

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

Hướng nghiên cứu

Tái hiện vấn đề trong một hệ phân cấp dự án chứa nhiều thư mục, sau đó thực hiện hành động Rename trong menu ngữ cảnh của thư mục và kiểm tra assertion được báo cáo granite_widgets_source_list_tree_start_editing_item. So sánh với việc đổi tên một tệp; được xem là hoàn tất khi việc đổi tên thư mục mở ra một trường có thể chỉnh sửa và hoàn tất mà không gặp assertion.

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

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":

** (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

Ngôn ngữ chính
Vala
Star
521
Fork
119
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
14

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

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của elementary/code

Tất cả issue của elementary/code

Issue tương tự

Thêm issue về Desktop Dev

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.