[Desktop-packages] [Bug 151365] Re: Autosave doesn't work for Unsaved Documents
I dug into the code to try and fix this, but it's a lot more complex than it looks. If anyone wants to start digging, look at `gedit- tab.c:248` - that's the first catch conditional. Also look at the function getting called if that conditional passes - there's a similar catch conditional in there. The main problem is that auto-save pulls in the file object, which doesn't exist if the document is unsaved. Autosave would actually have to save the file to some special "temporary" directory. Easier said than done. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/151365 Title: Autosave doesn't work for Unsaved Documents Status in gedit: Confirmed Status in gedit package in Ubuntu: Triaged Bug description: Autosave doesn't happen if the document has *never* been saved. It should, since data can be lost if there is a crash while an unsaved document is in the editor. To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/151365/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 151365] Re: Autosave doesn't work for Unsaved Documents
Yeah, wtf. So simple, and so valuable. Why oh why hasn't this been tackled in 6 or 7 years since it was noticed!?!?! -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/151365 Title: Autosave doesn't work for Unsaved Documents Status in gedit: Confirmed Status in gedit package in Ubuntu: Triaged Bug description: Autosave doesn't happen if the document has *never* been saved. It should, since data can be lost if there is a crash while an unsaved document is in the editor. To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/151365/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 151365] Re: Autosave doesn't work for Unsaved Documents
Please implement this... I use gedit all the time and it's pretty damn annoying that this feature hasn't been added yet. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/151365 Title: Autosave doesn't work for Unsaved Documents Status in gedit: Confirmed Status in gedit package in Ubuntu: Triaged Bug description: Autosave doesn't happen if the document has *never* been saved. It should, since data can be lost if there is a crash while an unsaved document is in the editor. To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/151365/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 151365] Re: Autosave doesn't work for Unsaved Documents
** Bug watch added: GNOME Bug Tracker #745979 https://bugzilla.gnome.org/show_bug.cgi?id=745979 ** Changed in: gedit Importance: Low = Unknown ** Changed in: gedit Status: Invalid = Unknown ** Changed in: gedit Remote watch: GNOME Bug Tracker #485471 = GNOME Bug Tracker #745979 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/151365 Title: Autosave doesn't work for Unsaved Documents Status in Light-Weight Text Editor for Gnome: Unknown Status in gedit package in Ubuntu: Triaged Bug description: Autosave doesn't happen if the document has *never* been saved. It should, since data can be lost if there is a crash while an unsaved document is in the editor. To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/151365/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 151365] Re: Autosave doesn't work for Unsaved Documents
** Changed in: gedit Status: Unknown = Confirmed ** Changed in: gedit Importance: Unknown = Wishlist -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/151365 Title: Autosave doesn't work for Unsaved Documents Status in Light-Weight Text Editor for Gnome: Confirmed Status in gedit package in Ubuntu: Triaged Bug description: Autosave doesn't happen if the document has *never* been saved. It should, since data can be lost if there is a crash while an unsaved document is in the editor. To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/151365/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 151365] Re: Autosave doesn't work for Unsaved Documents
** Changed in: gedit Status: New = Invalid -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/151365 Title: Autosave doesn't work for Unsaved Documents Status in Light-Weight Text Editor for Gnome: Invalid Status in gedit package in Ubuntu: Triaged Bug description: Autosave doesn't happen if the document has *never* been saved. It should, since data can be lost if there is a crash while an unsaved document is in the editor. To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/151365/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 151365] Re: Autosave doesn't work for Unsaved Documents
TextWrangler on the Mac autosaves unsaved documents and the entire session. Notepad++ on Windows does this as well, albeit with some configuring. Looking forward to gedit getting with the times. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/151365 Title: Autosave doesn't work for Unsaved Documents Status in Light-Weight Text Editor for Gnome: New Status in gedit package in Ubuntu: Triaged Bug description: Autosave doesn't happen if the document has *never* been saved. It should, since data can be lost if there is a crash while an unsaved document is in the editor. To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/151365/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 151365] Re: Autosave doesn't work for Unsaved Documents
I had processed big data manually in unsaved document and I was about to paste that copied data to actual template. machine crashed. lost my 3-hours of work. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/151365 Title: Autosave doesn't work for Unsaved Documents Status in Light-Weight Text Editor for Gnome: New Status in gedit package in Ubuntu: Triaged Bug description: Autosave doesn't happen if the document has *never* been saved. It should, since data can be lost if there is a crash while an unsaved document is in the editor. To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/151365/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 151365] Re: Autosave doesn't work for Unsaved Documents
Hello! We are 4 french students (University Paris 8) and we have to fix bugs on open source software for a class. We searched among different bugs and softwares and this bug in gedit interested us. So we decided to work on it, hopefully fix it. Alice, Hassane, Jazil, Oliver. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/151365 Title: Autosave doesn't work for Unsaved Documents Status in Light-Weight Text Editor for Gnome: New Status in “gedit” package in Ubuntu: Triaged Bug description: Autosave doesn't happen if the document has *never* been saved. It should, since data can be lost if there is a crash while an unsaved document is in the editor. To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/151365/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 151365] Re: Autosave doesn't work for Unsaved Documents
Thanks for working on that! -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/151365 Title: Autosave doesn't work for Unsaved Documents Status in Light-Weight Text Editor for Gnome: New Status in “gedit” package in Ubuntu: Triaged Bug description: Autosave doesn't happen if the document has *never* been saved. It should, since data can be lost if there is a crash while an unsaved document is in the editor. To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/151365/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 151365] Re: Autosave doesn't work for Unsaved Documents
Hope you'll fix it. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/151365 Title: Autosave doesn't work for Unsaved Documents Status in Light-Weight Text Editor for Gnome: New Status in “gedit” package in Ubuntu: Triaged Bug description: Autosave doesn't happen if the document has *never* been saved. It should, since data can be lost if there is a crash while an unsaved document is in the editor. To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/151365/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 151365] Re: Autosave doesn't work for Unsaved Documents
Maybe a comment will bring this bug back to life. This is very serious for my use of desktop linux - there's no excuse for program configurations which lose user-entered text by default. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/151365 Title: Autosave doesn't work for Unsaved Documents Status in Light-Weight Text Editor for Gnome: New Status in “gedit” package in Ubuntu: Triaged Bug description: Autosave doesn't happen if the document has *never* been saved. It should, since data can be lost if there is a crash while an unsaved document is in the editor. To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/151365/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 151365] Re: Autosave doesn't work for Unsaved Documents
I added my support for the bug over at Bugzilla. Another problem is that Autosave is not enabled by default. Is that a feature specific to Ubuntu or is it also something to bring up at Bugzilla? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/151365 Title: Autosave doesn't work for Unsaved Documents Status in Light-Weight Text Editor for Gnome: New Status in “gedit” package in Ubuntu: Triaged Bug description: Autosave doesn't happen if the document has *never* been saved. It should, since data can be lost if there is a crash while an unsaved document is in the editor. To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/151365/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 151365] Re: Autosave doesn't work for Unsaved Documents
That's the problem. Here we have a huge group of users and one bug tracking system but every project has it's own bug tracking system. I even have a gnome, kde and other bug tracking accounts but i don't report there since they also just say.. uh.. that's an ubuntu issue. Go somewhere else. Back to the issue. I'm on precise testing.. gedit crashed and the unsaved docs are lost. This is a disappointing situation. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/151365 Title: Autosave doesn't work for Unsaved Documents Status in Light-Weight Text Editor for Gnome: New Status in “gedit” package in Ubuntu: Triaged Bug description: Autosave doesn't happen if the document has *never* been saved. It should, since data can be lost if there is a crash while an unsaved document is in the editor. To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/151365/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 151365] Re: Autosave doesn't work for Unsaved Documents
Great logic. So, since cars and planes shouldn't crash perhaps we don't need safety features developed for them? Seriously, this is faulty logic. Software will from time to time crash. Sure, it shouldn't. But if reasonable steps can be taken to prevent data loss, they should. This doesn't really seem like an unreasonable step. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/151365 Title: Autosave doesn't work for Unsaved Documents Status in Light-Weight Text Editor for Gnome: New Status in “gedit” package in Ubuntu: Triaged Bug description: Autosave doesn't happen if the document has *never* been saved. It should, since data can be lost if there is a crash while an unsaved document is in the editor. To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/151365/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 151365] Re: Autosave doesn't work for Unsaved Documents
Sure, this is quite an old bug and yet it is still there. I guess they might be willing to fix it now. It would be great if someone from the Ubuntu Desktop team talks to them. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/151365 Title: Autosave doesn't work for Unsaved Documents Status in Light-Weight Text Editor for Gnome: New Status in “gedit” package in Ubuntu: Triaged Bug description: Autosave doesn't happen if the document has *never* been saved. It should, since data can be lost if there is a crash while an unsaved document is in the editor. To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/151365/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 151365] Re: Autosave doesn't work for Unsaved Documents
For me gedit itself has never crashed, yet I've been affected multiple times by this bug. Causes include: * loss of power * sudden freeze (Linux BSOD) * failed hibernation recovery * X11 killed after running out of memory * my own stupidity (accidental ctrl+c/kill -9) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/151365 Title: Autosave doesn't work for Unsaved Documents Status in Light-Weight Text Editor for Gnome: New Status in “gedit” package in Ubuntu: Triaged Bug description: Autosave doesn't happen if the document has *never* been saved. It should, since data can be lost if there is a crash while an unsaved document is in the editor. To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/151365/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 151365] Re: Autosave doesn't work for Unsaved Documents
Thanks guy, I don't think anyone here disagree on the fact it's an issue, Ubuntu doesn't write gedit though so you should better discuss the issue on https://bugzilla.gnome.org/show_bug.cgi?id=485471 where the software writes will read it ** Changed in: gedit (Ubuntu) Assignee: Ubuntu Desktop Bugs (desktop-bugs) = (unassigned) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/151365 Title: Autosave doesn't work for Unsaved Documents Status in Light-Weight Text Editor for Gnome: New Status in “gedit” package in Ubuntu: Triaged Bug description: Autosave doesn't happen if the document has *never* been saved. It should, since data can be lost if there is a crash while an unsaved document is in the editor. To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/151365/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 151365] Re: Autosave doesn't work for Unsaved Documents
gedit crashed before I saved, I had important data I lost. This bug probably affects a lot of people. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/151365 Title: Autosave doesn't work for Unsaved Documents Status in Light-Weight Text Editor for Gnome: New Status in “gedit” package in Ubuntu: Triaged Bug description: Autosave doesn't happen if the document has *never* been saved. It should, since data can be lost if there is a crash while an unsaved document is in the editor. To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/151365/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 151365] Re: Autosave doesn't work for Unsaved Documents
I remember having a chat with the Gedit developers regarding this bug. They believe that fixing this bug is not the solution, rather gedit should not crash at the first place. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gedit in Ubuntu. https://bugs.launchpad.net/bugs/151365 Title: Autosave doesn't work for Unsaved Documents Status in Light-Weight Text Editor for Gnome: New Status in “gedit” package in Ubuntu: Triaged Bug description: Autosave doesn't happen if the document has *never* been saved. It should, since data can be lost if there is a crash while an unsaved document is in the editor. To manage notifications about this bug go to: https://bugs.launchpad.net/gedit/+bug/151365/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp