"Save Duplicate" button does not work after unmounting source device
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 65/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 領域
- desktop
調査の方向性
Document.vala の 1356 行付近で、アンマウントされたフォルダーの警告が記録されている箇所から始め、Save Duplicate のパスをレポート内の scratch_services_document_save_as_co アサーションまで追跡します。アンマウントされたデバイスのワークフローを再現し、Save Duplicate によって変更されたドキュメントを別の場所に保存でき、ダイアログが再度表示されないことを確認します。
索引モデルが issue の本文から書いたものです。
説明
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
- Turn off "Save files when changed"
- Open a document on an unmountable device
- Make some changes
- Unmount the device
- 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
- 主要言語
- Vala
- スター
- 521
- フォーク
- 119
- 平均マージ
- 1日 7時間
- マージ済み PR(30日)
- 13
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
elementary/code のほかの issue
-
難易度 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 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
elementary/code#1750 · コメント 2 件 ·
elementary/code の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
longbridge/gpui-kit#3223 ·
-
area:desktop area:ui bug platform:macos
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
anthropics/claude-code#96687 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
切换供应商后codex的智能体配置报错 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
farion1231/cc-switch#7660 ·