/usr/bin/gedit:11:gedit_metadata_manager_set:gedit_document_set_metadata:save_metadata:gedit_document_dispose:g_object_unref
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gedit |
Fix Released
|
Unknown
|
|||
gedit (Ubuntu) |
Fix Released
|
Undecided
|
Andrea Azzarone | ||
Disco |
Fix Released
|
Undecided
|
Andrea Azzarone |
Bug Description
[Impact]
Gedit crashes when it is closed while a file is being loaded or just after the file has been loaded.
The bug is a regression in Disco: in Cosmic Gedit is built using autotools while in Disco we use meson. During the port to meson upstream forgot to port a build option (in particular 'enable-
To fix this bug we should reintroduce the 'enable-
[Test case]
1. Create a big text file
2. Open gedit
3. Close the window while the file is still being loaded
Also check there are no more reports in e.u.c.
[Regression Potential]
The change affects the way gedit stores the file metadata. Try for example
1. open a file
2. focus a random line
3. close the file
4. re-open the file
5. make sure the random line that you focused in point 2. is focused
[Original report]
The Ubuntu Error Tracker has been receiving reports about a problem regarding gedit. This problem was most recently seen with package version 3.32.0-1, the problem page at https:/
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://
Changed in gedit: | |
status: | Unknown → New |
description: | updated |
description: | updated |
Changed in gedit: | |
status: | New → Fix Released |
Changed in gedit (Ubuntu): | |
status: | Fix Committed → Fix Released |
The first issues it that gedit should use gvfs to store file metadata. Since the port of gedit to meson this feature has been lost. I've proposed a fix upstream here: https:/ /gitlab. gnome.org/ GNOME/gedit/ merge_requests/ 32