elementary / elementary/code

Dropping text file onto the textview should open it or insert its contents not its filename

オープン
#1,596 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
Needs Design
主要言語
Vala
スター
521
フォーク
119
平均マージ
1日 8時間
マージ済み PR(30日)
14

説明

### What Happened?

Dropping files from a filemanager (for example) onto the Code text view inserts the filename into the target document. Other Text editors (Gnome Text Editor, AbiWord) either opens the file as a document or insert the contents into the existing document.

### Steps to Reproduce

1. Drop a text file onto a Code document
2. The filename is inserted

### Expected Behavior

The contents of the file should be inserted, either into a new document or into the target document at the drop point (not sure which).

### OS Version

8.x (Circe)

### Session Type

Classic Session (X11, This is the default)

### Software Version

Latest release (I have run all updates)

### Log Output

```shell

```

### Hardware Info

_No response_

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

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

調査の方向性

まず、issue #1596 に記載されているドラッグ&ドロップの動作を再現し、テキストビューのファイルドロップ処理を特定します。意図された結果が新しいドキュメントを開くことなのか、ファイルの内容を挿入することなのかを確認し、その後、テキストファイルをドロップしたときにファイル名だけが挿入されることがなくなっていることを検証します。

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

評価

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

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

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