Unsaved new documents created in a second window appear lost if the window is closed
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- linux
- Lĩnh vực
- desktop
Hướng nghiên cứu
Tái hiện báo cáo khi autosave bị tắt, sử dụng một tài liệu mới trong cửa sổ thứ hai, sau đó kiểm tra cách ứng dụng xử lý tệp chưa lưu trong ~/.local/shared/io.elementary.code/unsaved. So sánh hành vi khi đóng cửa sổ với việc khôi phục sau khi khởi động lại, và xác định done là có cảnh báo khi đóng hoặc khôi phục đáng tin cậy tất cả các tài liệu chưa lưu đủ điều kiện trong cửa sổ đầu tiên.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What Happened?
Created a new document and opened it in a new window. Edited the document. Closed the window. The window closed without warning. The autosave feature was off.
The document was in fact saved in ~/.local/shared/io.elementary.code/unsaved but was not restored when the app was closed and restarted as it was not open in the first window. There was no way to restore it through the apps UI unless you knew where it was.
Steps to Reproduce
- Turn off autosave
- Create a new document and then open it in a new window.
- Alternatively, open a new window and create a new document in it.
- Add some text
- Close the window
- The window closed without any warning
- Close the app and restart it
- The new document is not restored
Expected Behavior
Either throw a warning dialog when a window is closed with an unsaved new document or restore all unsaved new documents into the first window on restarting the app (subject to privacy settings).
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
No response
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ự
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
objective-see/LuLu#925 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
farion1231/cc-switch#7638 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
PolyMeilex/rfd#334 ·