[gutsy] External Tools plugin does not save keybindings

Bug #147634 reported by Steve Tayon
4
Affects Status Importance Assigned to Milestone
gedit
Fix Released
Medium
gedit-plugins (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gedit-plugins

Hi,
i am working with the latest up-to-date gutsy with gedit 2.20.1-0ubuntu2 and gedit-plugins 2.19.90-0ubuntu1.

Summary: The External Tools plugin does not save the accelerator keybindings after restart.

You can reproduce this when you start gedit, activate the plugin external tools und go to the external tools manager. Now, modify a tool by changing the accelerator. Close the tools manager window and open the tools menu. You see the right accelerator. Close gedit and start it again and the accelerator is gone.

Revision history for this message
Steve Tayon (octor) wrote :

The problem still exists with gedit-plugins 2.20.0-ubuntu1.

Revision history for this message
Steve Tayon (octor) wrote :

After posting this bug in a forum, some other gutsy users confirmed this issue.

Revision history for this message
Curtis Hovey (sinzui) wrote :

I submitted a patch to fix the issue. library.Tools._load is not loading any tool properties. The accelerator (Shortcut) is obviously broken, but so too is the Input and Output properties.

Changed in gedit:
status: New → Unknown
Changed in gedit-plugins:
status: New → Confirmed
Revision history for this message
Curtis Hovey (sinzui) wrote :

If your impatient for the fix to arrive, you can fix the issue yourself by editing one line.

use sudo to edit line 215 of /usr/lib/gedit-2/plugins/externaltools/library.py:
- if m.group(0) in self._properties:
+ if m.group(0) not in self._properties:

Add 'not' to the test if the property is already in the dictionary.

Changed in gedit:
status: Unknown → In Progress
Revision history for this message
Steve Tayon (octor) wrote :

It works like charm! Thank you!

Changed in gedit:
status: In Progress → Fix Released
Revision history for this message
Greg A (etulfetulf) wrote :

Fixed in Ubuntu Intrepid (8.10).

Changed in gedit-plugins:
status: Confirmed → Fix Released
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.