Open boghyon opened 4 years ago
Hello @boghyon , Thank you for sharing this finding. I've created an internal incident 2280031691. The status of the issue will be updated here in GitHub.
This topic will be covered in the backlog item CPOUI5FRAMEWORK-344.
In the topic _Descriptor for Applications, Components, and Libraries_ section
sap.ui5/commands
, it saysUnfortunately it is not enough to understand how it can be achieved exactly.
shortcut
value space-sensitive or case-sensitive? (Yes and no, according to the current source code)<core:CommandExecution command="MyCommand"/>
requires"MyCommand": { "shortcut": "..." }
to exist inmanifest.json
.Otherwise, this will lead to the following error which prevents the app from being cleaned up:... and causes the "duplicate id" error when attempting to open the app again.Fix 1: https://github.com/SAP/openui5-docs/pull/90
Fix 2: https://github.com/SAP/openui5/commit/a500d77e530fc41f58cf8d1c4aded4c88349516b "CommandExecution: Log error when command not found + make destroy fail-safe"
sap.ui.core.ShortcutHintsMixin
and how the popup's behavior differs from the native tooltip. → There are cases where the native tooltip and the shortcut popup are both shown at the same time. According to some users, it's confusing since the popup and the native tooltip don't differ much in visual design (depending on the OS).A link pointing to a dedicated topic would be nice so that readers can learn more if they intend to implement commands.