In order to toggle between INSERT mode and OVERWRITE mode the Insert key is listed (for Microsoft). Such a key does not exist on the Mac keyboard. Please provide another keystroke for macOS (Sierra). Additionally: the Status bar shows nothing for INSERT mode; please have that word put there, because when blank, the proper field in the Status bar is impossible to see, let alone to click. Thanks. ;JOOP!
Confirming with Version: 5.4.0.0.alpha1+ Build ID: 5ac9c1ce61c516800cef503662d80d92394fb3f9 CPU threads: 2; OS: Mac OS X 10.12.4; UI render: default; Locale: fr-FR (fr_FR.UTF-8); Calc: group
Version 6.0.2 and still not solved. ;JOOP!
@Heiko, I thought you might be interested in this issue...
Apple has no Insert key and apparently no overtype mode. Microsoft provides an option in a configuration dialog to toggle insert/override. We could implement a key additional to KEY_INSERT at editeng.cxx #1259. Checking the world wide wisdom I'd say FN+Enter is the most often cited variant (FN+backspace is the common delete, so it's somewhat natural). However, this key would be hard-coded and wont be customizable. And to raise the difficulty we do not have a function key defined yet (think it's possible when we restrict it to macOS). (Adding UX although it's a qualified easyhack to gather input. If a volunteer wants to take this we can just go ahead.)
I would suggest to take advantage of the CMD key rather, as it is quite common on macOS. So it could be CMD/Enter to toggle. /** (non-Javadoc) * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) * @param a action event. */ @Override public void actionPerformed(ActionEvent a) { Object o = a.getSource(); int m = a.getModifiers(); boolean metaPressed = (m & ActionEvent.META_MASK) != 0; // Defined in ActionEvent.java ........... if(o == ENTER_KEY) { if(metaPressed) { toggleOverstrike(); // Or such Btw.: I think that showing the overstrike status has priority, as we can use the mouse already. ;JOOP!
(In reply to Joop Lanting from comment #5) > I would suggest to take advantage of the CMD key rather, as it is quite > common on macOS. So it could be CMD/Enter to toggle. Cmd+Enter is used for manual page break. And I'd be careful with those easy to enable keys as users might press it accidentally not knowing how to get back.
You may be right. Well, in ECLIPSE it is Ctrl+CMD+O. And .... I'll be just happy with the word "Insert" down below. Remember that the word "Overwrite" shows there already. ;JOOP!
I asked a couple of people at the LibreOffice hackfest and none uses the overwrite mode. There is a tendency to refuse the shortcut but we better run a poll to have this decision based on a larger number of macOS users. Here it is https://design.blog.documentfoundation.org/2019/01/31/overwrite-on-macos/
OK, I give in: drop the shortcut; please make the status (Insert/Overwrite) visible. ;JOOP!
Patch at https://gerrit.libreoffice.org/#/c/68065/
heiko tietze committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/6e41367798d4341d601069005ae6ff6ac032f81f%5E%21 Resolves tdf#107918 - Insert mode status activation and display It will be available in 6.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.