Dropping text file onto the textview should open it or insert its contents not its filename
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
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ả
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
- Drop a text file onto a Code document
- 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
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của elementary/code
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
elementary/code#1818 · 1 bình luận ·
-
Unmounting a mount containing a file being edited by Code does not result in a "busy" warning Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
elementary/code#1813 · 2 bình luận ·
-
Fuzzy Find icon in the sidebar Đang mởNeeds Design Priority: Wishlist
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
elementary/code#1786 · 3 bình luận ·
-
Needs Design Priority: Wishlist
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
elementary/code#1783 ·
-
Priority: Wishlist
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
elementary/code#1762 · 3 bình luận ·
Tất cả issue của elementary/code
Issue tương tự
-
area/install-update comp/cli comp/desktop P3 sweeper:risk-compatibility type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
NousResearch/hermes-agent#122386 · 1 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
darktable-org/darktable#22386 ·
-
0.kind: enhancement 9.needs: package (update)
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
`--app` focus through the daemon can pick an off-screen window and refuse with `axElementNotFound` Đang mởclawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster no-stale P1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100