gedit snippets plugin does not save edited default snippets

Bug #218998 reported by samhassell
8
Affects Status Importance Assigned to Milestone
gedit
Fix Released
Medium
gedit (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gedit

The gedit snippets plugin stores all the default snippets at /usr/share/gedit-2/plugins/snippets and by default a user does not have write permission to that folder.
This results in unexpected behavior when editing the default snippets - once changed they should be implicitly saved, but when the program is restarted, they are back to the default.

The users custom snippets are stored at ~/.gnome2/gedit/snippets. To solve this bug it is possible to copy (or move) all the files in /usr/share/gedit-2/plugins/snippets to ~/.gnome2/gedit/snippets.

I assume this is an Ubuntu packaging bug, not sure though. Present in both Gutsy, and in Hardy with version 2.22.1-0ubuntu1

see http://ubuntuforums.org/showthread.php?p=4735049 for the initial troubleshooting of this bug.

Artem Popov (artfwo)
Changed in gedit:
status: New → Confirmed
Revision history for this message
Artem Popov (artfwo) wrote :

Reported upstream.

Revision history for this message
Gabriel Dragffy (dragffy-deactivatedaccount) wrote :

Confirmed by me. Please see the above link to the forum thread for our workaround of copying the contents of /usr/share/gedit-2/plugins/snippets, not sure if it needs a recursive copy to include the lang folder though.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

thanks for sent it upstream.

Changed in gedit:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: Confirmed → Triaged
Changed in gedit:
status: Unknown → New
Changed in gedit:
status: New → Fix Released
Revision history for this message
Pedro Villavicencio (pedro) wrote :

fixed upstream already, thanks for reporting.

Changed in gedit:
status: Triaged → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

the new version is in intrepid now

Changed in gedit:
status: Fix Committed → Fix Released
Revision history for this message
Oliver Gerlich (ogerlich) wrote :

In case anyone wants to backport the bugfix to Hardy: the patch can be seen at http://svn.gnome.org/viewvc/gedit/trunk/plugins/snippets/snippets/Library.py?r1=6164&r2=6326&pathrev=6326 (it was pointed to by the upstream developer, and indeed fixes the problem).

Changed in gedit:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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