Unsaved new documents created in a second window appear lost if the window is closed
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 38/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- linux
- 領域
- desktop
調査の方向性
autosaveを無効にした状態で、2つ目のウィンドウに新しいドキュメントを作成して報告を再現し、その後、アプリが ~/.local/shared/io.elementary.code/unsaved にある未保存ファイルをどのように扱うかを調べます。ウィンドウを閉じたときの動作と再起動後の復元を比較し、done の条件を、終了時の警告、または最初のウィンドウにある復元対象の未保存ドキュメントがすべて確実に復元されることのいずれかと定義します。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Vala
- スター
- 521
- フォーク
- 119
- 平均マージ
- 1日 7時間
- マージ済み PR(30日)
- 13
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
elementary/code のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
elementary/code#1818 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
elementary/code#1813 · コメント 2 件 ·
-
Needs Design Priority: Wishlist
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
elementary/code#1786 · コメント 3 件 ·
-
Needs Design Priority: Wishlist
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
elementary/code#1783 ·
-
Priority: Wishlist
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
elementary/code#1762 · コメント 3 件 ·
elementary/code の issue をすべて見る
似ている issue
-
[Super Editor][Chat] - Floating editor scaffold does not reset panel height after closing panel オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
bug channel: beta feature: preferences feature: ui/ux
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
bug editor script-component smart items
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
decentraland/creator-hub#1654 ·
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100