You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't use a keyboard shortcut for a custom button that is already defined as a standard shortcut by SAP Fiori elements. This results in unexpected behavior.
Keyboard shortcuts aren't supported for application-defined inline actions and inline navigation buttons in tables.
Document: adding <core:CommandExecution command="MyCommand"/> requires "MyCommand": { "shortcut": "..." } to exist in manifest.json. Otherwise, this will lead to the following error which prevents the app from being cleaned up:
TypeError: Cannot read properties of null (reading 'shortcut')
Brief documentation regarding the popup opened by the 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.
The text was updated successfully, but these errors were encountered:
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.
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: [FIX] Descriptor_for_Applications_Components_and_Libraries_manifest_json_be0cf40.md #90
Fix 2: SAP/openui5@a500d77 "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.
The text was updated successfully, but these errors were encountered: