• Keypress events!

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #47090  by jllort
 
What is the problem with CTRL+Z ?
 #47105  by jllort
 
I suggest using the methods disableKeyShorcuts() and enableKeyShorcuts(), a good class to watch the implementation might be KeywordsPopup.java, if you understood how is used there you should success in use in rename.

https://github.com/openkm/document-mana ... Popup.java
 #47111  by jllort
 
Are you sure about the disable shortcuts method has really executed ( put some Window.alert )?
Did you make a fork of OpenKM source code? that is a good practice to compare and build your changes from our side.
 #47127  by jllort
 
In the extendedDocPanel comment the line
dockPanel.sinkEvents(Event.KEYEVENTS); // all the shortcuts should be disabled and then check the code. If that works I suggest uncomment and check the disableKeyShortcuts and ensure the enableKeyShorcuts is not called from other after you have called disableKeyShorcuts

disableKeyShorcuts() should make the same, at least you will check if the problems come from there, seems in your case is not working ?
 #47148  by jllort
 
In the professional version, we have the option to change CTRL+Z to another shortcut from profiles. I think that feature was introduced for an issue with a German keyboard. Unfortunately, these changes have still not promoted into the community edition.
support_558.png
support_558.png (15.21 KiB) Viewed 2631 times
An option might change CTRL+Z in your the code for a shortcut like CTRL+SHIFT+Z, or make this keyword configurable in a similar manner we have done in the professional edition.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.