[Eric] Mac Fonts and Keyboard Shortcuts

Larry Shaffer larrys at dakotacarto.com
Mon Jan 18 17:23:40 GMT 2010


Hello,

I'm seeing two issues with the latest eric4-4.4.0 on my Mac, otherwise it's
running great:

1) Keyboard Shortcuts

Any adjustment to Keyboard Shortcuts (editing, importing, etc.) causes the
shortcuts to be written to the eric4.ini file, which causes the initialized
default shortcuts and alternates for 'vm_edit_insert_line' (return, enter)
and 'vm_edit_insert_line_below' (shift-return, shift-enter) to be written as
the same for both their shortcut and alternate.

In other words, 'vm_edit_insert_line' becomes (return, return) and
'vm_edit_insert_line_below' (shift-return, shift-return), which immediately
makes the editor unusable because any new line raises the following error:

Warning: QAction::eventFilter: Ambiguous shortcut overload: ?

The customized shortcuts that were added work, but on change, the shortcut
saving writer is treating 'enter' synonymous to 'return' on my Mac and
consistently writes the ambiguous duplicate alternative shortcuts. A
workaround in ViewManager.py is to nix the default alternative shortcuts
(attached). This works, only after deleting the incorrect alternatives saved
in eric4.ini and re-launching, but it's not a fix for the problem.

2) Fonts

Since moving over to the new 4.4.0 stable version I can no longer change any
font settings. Worked with the previous unstable version. Everything is
stuck on Lucida Grande, 13 pt, which is probably the system's default, and
looks nice, but not monospaced.

-- 
Larry

Python 2.6.4 
Qt 4.5.2 
PyQt 4.5.4 
sip 4.8.2 
QScintilla 2.4 
eric4 4.4.0 (r3604)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ViewManager.py.diff
Type: application/octet-stream
Size: 1515 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/eric/attachments/20100118/a94fbda3/attachment.obj>


More information about the Eric mailing list