rgoossens / workspacemechanic

Automatically exported from code.google.com/p/workspacemechanic
0 stars 0 forks source link

keybinding file unusable due to wrong encoding #114

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. define user specific key binding using Control, Alt, Command or another 
special key
2. Start 'Dump keybinding...' from Workspace Mechanic context menu in lower 
right corner
3. view the written file with the key binding definitions

What is the expected output? What do you see instead?
The resulting file containing the key bindings should contains either some 
special chars encoded in whatever encoding (may UTF-8) or some description of 
the special key used for the key binding. Instead, the written file contains 
asteriks (?) seen for all encodings (ISO.8859-1, UTF-8)

What version of the product are you using? On what operating system?
Workspace Mechanic Plugin 0.3.4 in Eclipse Kepler JEE SR1 on Mac OS X 10.7.5

Please provide any additional information below.
I've got the same resulting keybinding file after setting the default workspace 
encoding and the default text file encoding in Eclipse to UTF-8. Attached you 
can find the resulting key binding file.

Original issue reported on code.google.com by tod...@googlemail.com on 28 Nov 2013 at 8:23

Attachments:

GoogleCodeExporter commented 8 years ago
On restarting Eclipse, the incorrect written key sequence  '??R' for 
Control-Alt-R is reported as not reconstructable in error.log:

!ENTRY com.google.eclipse.mechanic 4 0 2013-11-28 09:44:27.954
!MESSAGE Invalid key sequence: ??R
!STACK 0
org.eclipse.jface.bindings.keys.ParseException: Could not construct key 
sequence with these key strokes: []
    at org.eclipse.jface.bindings.keys.KeySequence.getInstance(KeySequence.java:180)
    at com.google.eclipse.mechanic.core.keybinding.KeyboardBindingsTask.modifyBindingsForRemoveChangeSet(KeyboardBindingsTask.java:199)
    at com.google.eclipse.mechanic.core.keybinding.KeyboardBindingsTask.doEvaluate(KeyboardBindingsTask.java:175)
    at com.google.eclipse.mechanic.core.keybinding.KeyboardBindingsTask.evaluate(KeyboardBindingsTask.java:143)
    at com.google.eclipse.mechanic.MechanicService.updateTaskStatus(MechanicService.java:305)
    at com.google.eclipse.mechanic.MechanicService.updateTasks(MechanicService.java:279)
    at com.google.eclipse.mechanic.MechanicService.update(MechanicService.java:237)
    at com.google.eclipse.mechanic.MechanicService.run(MechanicService.java:172)
    at com.google.eclipse.mechanic.MechanicService.access$2(MechanicService.java:167)
    at com.google.eclipse.mechanic.MechanicService$ServiceJob.run(MechanicService.java:374)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

Original comment by tod...@googlemail.com on 28 Nov 2013 at 8:50

GoogleCodeExporter commented 8 years ago
Zorzella, FYI

Original comment by konigsb...@gmail.com on 30 Nov 2013 at 4:15