Bug 1301761

Summary: Spell Checker: 'highlight misspelled words' metadata is not saved with the file.
Product: Red Hat Enterprise Linux 7 Reporter: Matěj Cepl <mcepl>
Component: geditAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: mclasen, tpelka
Target Milestone: rcKeywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gedit-3.14.3-15.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 06:19:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch from the upstream bug
none
patch from the upstream bug
none
patch from the upstream bug none

Description Matěj Cepl 2016-01-25 23:05:42 UTC
Created attachment 1118266 [details]
patch from the upstream bug

Description of problem:
I don't want the 'highlight misspelled words' setting enabled, so I disable it but the next time that I open the file it is sometimes enabled again.

Steps to reproduce:
- Have two files (*.m with Matlab highlighting in my case), open them in gedit, disable the 'highlight misspelled words' setting if set.
- Close gedit
- Reopen the two files from the command line, e.g. 'gedit *.m'.

Result:
For the first file the setting is still disabled, but for the second file the setting is enabled.

The same goes in the other direction as well ... when I actually want for some document to have spelling enabled, it is not saved to the gvfs metadata either. Actually, gvfs-file doesn't show any gedit metadata at all.

When opening the files one by one from the gedit UI, the bug doesn't occur, the setting is correctly disabled.

Version-Release number of selected component (if applicable):
gedit-3.14.3-9.el7.x86_64

How reproducible:
100%

Comment 1 Matěj Cepl 2016-01-25 23:06:21 UTC
Created attachment 1118267 [details]
patch from the upstream bug

Comment 2 Matěj Cepl 2016-01-25 23:13:12 UTC
Created attachment 1118268 [details]
patch from the upstream bug

Comment 3 Matthias Clasen 2016-01-28 14:35:52 UTC
thanks for the patch

Comment 7 errata-xmlrpc 2016-11-04 06:19:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2424.html