Unable to rename folders in project

オープン
#1,486 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
領域
desktop

調査の方向性

複数のフォルダーを含むプロジェクト階層で問題を再現し、その後、フォルダーのコンテキストメニューにある Rename アクションを実行して、報告された assertion granite_widgets_source_list_tree_start_editing_item を確認します。ファイルの名前変更と比較してください。完了条件は、フォルダーの名前変更で編集可能なフィールドが開き、assertion が発生せずに完了することです。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Vala
スター
521
フォーク
119
平均マージ
1日 8時間
マージ済み PR(30日)
14

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

elementary/code のほかの issue

elementary/code の issue をすべて見る

似ている issue

Desktop Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。