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

"Save Duplicate" button does not work after unmounting source device

Đang mở
#1,818 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

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
65/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
desktop

Hướng nghiên cứu

Bắt đầu với Document.vala quanh dòng 1356, nơi cảnh báo về thư mục chưa được gắn kết được ghi lại, và lần theo đường dẫn Save Duplicate đến assertion scratch_services_document_save_as_co trong báo cáo. Tái hiện workflow của thiết bị chưa được gắn kết và xác minh rằng Save Duplicate cho phép lưu tài liệu đã thay đổi ở nơi khác mà không hiển thị lại hộp thoại.

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

Mô tả

What Happened?

While operating Code with "Save files when changed" preference off, a document was loaded from an unmountable source (USB stick). Some changes were made and then the source device unmounted before saving. Code showed a dialog with "Ignore" and "Save Duplicate" buttons. Pressing the latter just resulted in the dialog being shown again.

The only way to save the changes was to duplicate the tab into a new document and save that.

Steps to Reproduce
  1. Turn off "Save files when changed"
  2. Open a document on an unmountable device
  3. Make some changes
  4. Unmount the device
  5. Observe dialog and effect of pressing "Save Duplicate"
Expected Behavior

Pressing "Save Duplicate" allows the changed document to be saved elsewhere.

OS Version

8.x (Circe)

OS Architecture

amd64 (on most hardwares)

Session Type

Secure Session (Wayland, This is the default)

Software Version

Latest Release

Log Output
** (io.elementary.code:5576): WARNING **: 10:44:40.136: Document.vala:1356: Folder containing the file was unmounted

** (io.elementary.code:5576): CRITICAL **: 10:46:40.346: scratch_services_document_save_as_co: assertion '!locked && is_saving' failed
Hardware Info

No response

Ngôn ngữ chính
Vala
Star
523
Fork
120
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

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.