Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#1,596 1 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, devtools

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện hành vi kéo và thả được mô tả trong issue #1596 và xác định phần xử lý file-drop của chế độ xem văn bản. Xác định liệu kết quả dự kiến là mở một tài liệu mới hay chèn nội dung tệp, sau đó kiểm tra rằng việc thả một tệp văn bản không còn chỉ chèn tên tệp của nó nữa.

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

Mô tả

Needs Design
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

Hardware Info

No response

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

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.