Language Settings not saved properly

Bug #384371 reported by Steven Danna
This bug report is a duplicate of:  Bug #280315: Remember autocheck spelling setting. Edit Remove
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Incomplete
Undecided
Unassigned
gedit (Ubuntu)
New
Low
Unassigned

Bug Description

Binary package hint: gedit

Gedit does not save language settings for a document.

1) Open a document with gedit.
2) Change language from English to English(United Kingdom)
3) Save a Close Document.
4) Open Document

When I open the document the language is once again set to English rather than English(United Kingdom).

$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04

$ apt-cache policy gedit
gedit:
  Installed: 2.26.1-0ubuntu1
  Candidate: 2.26.1-0ubuntu1
  Version table:
 *** 2.26.1-0ubuntu1 0
        500 http://us.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
David Siegel (djsiegel-deactivatedaccount) wrote :

A valid bug, but I am guessing that persistent per-document language settings is not a trivially fixable bug. Can someone comment on the complexity of a fix for this issue?

Changed in hundredpapercuts:
status: New → Incomplete
Revision history for this message
Curtis Hovey (sinzui) wrote :

~/.gnome2/gedit-metadata.xml stores the seen documents with the last know cursor position and the language highlight settings. It could contain the document encoding. This is not trivial, but it is simple.

Revision history for this message
David Siegel (djsiegel-deactivatedaccount) wrote :

Right, but I am pretty sure that gedit does not handle its language settings -- isn't that a toolkit-level feature, rather than an application-level feature?

Revision history for this message
Steven Danna (ssd7) wrote :

This comment is unrelated to whether this should or shouldn't be a papercut.

I submitted this bug in response to a question on answers.launchpad.net. Since that time, I've been able to confirm another anomaly that I'm not sure should be filed as a separate bug.

The procedure listed in the description still produces the bug indicated. However, if I do the same procedure with Turkish, gedit correctly remembers the language when I reopen the file at a later time. I can only reproduce this bug with variants of English. When I initially created the procedure for this bug, it seemed that it was intermittently valid for Turkish as well, but now I'm thinking that might have just been a result of my own error.

I am not really inconvenienced by this bug but would be happy to provide any further information needed.

Revision history for this message
Sebastien Bacher (seb128) wrote :

duplicate bug #280315

Changed in gedit (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.