Unsaved new documents created in a second window appear lost if the window is closed
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 38/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- linux
- Ambito
- desktop
Direzione di ricerca
Riproduci il report con autosave disabilitato, usando un nuovo documento in una seconda finestra, quindi controlla come l’app gestisce il file non salvato in ~/.local/shared/io.elementary.code/unsaved. Confronta il comportamento alla chiusura della finestra con il ripristino dopo un riavvio e definisci done come un avviso alla chiusura oppure il ripristino affidabile di tutti i documenti non salvati idonei nella prima finestra.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Vala
- Stelle
- 521
- Fork
- 119
- Merge medio
- 1g 7h
- PR unite (30g)
- 13
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di elementary/code
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
elementary/code#1818 · 1 commento ·
-
Unmounting a mount containing a file being edited by Code does not result in a "busy" warning Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
elementary/code#1813 · 2 commenti ·
-
Needs Design Priority: Wishlist
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
elementary/code#1786 · 3 commenti ·
-
Needs Design Priority: Wishlist
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
elementary/code#1783 ·
-
Priority: Wishlist
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
elementary/code#1762 · 3 commenti ·
Tutte le issue di elementary/code
Issue simili
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
objective-see/LuLu#925 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
farion1231/cc-switch#7638 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
PolyMeilex/rfd#334 ·