Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action Key Tips Not Displayed if Ribbon Is Minimized #505

Open
MichaelWDenney opened this issue Jan 31, 2025 · 2 comments
Open

Action Key Tips Not Displayed if Ribbon Is Minimized #505

MichaelWDenney opened this issue Jan 31, 2025 · 2 comments

Comments

@MichaelWDenney
Copy link

When the ribbon is minimized, pressing Alt brings up the action key tips for the tabs. However, if you then select a tab using the alt key, action key tips and popup key tips are not displayed for the controls on the tab. Note that, while the key tips are not displayed, the alt key functionality still works.

The logic in JRibbonFrame.KeyTipLayer to not show key tips in some circumstances appears to be the cause.

@MichaelWDenney
Copy link
Author

This same issue happens with collapsed bands. Using the collapsed state key displays the band but action key tips and popup key tips for the band are not present despite the functionality still being available.

This can be seen in the BasicCheckRibbon demo. Shrinking the window sufficiently such that the Page Layout > Font band is collapsed and using the collapsed state key to display the Font band does so without action key tips displayed but hitting "1" will still cause the Bold button to activate.

@kirill-grouchnikov
Copy link
Owner

Thanks for the report. I have another 4-5 weeks left on the migration to the new color subsystem (issue 400), starting to work now on all the custom components including the ribbon. After that work is done, I'll get to this issue. This is probably because in both cases the content is displayed in a popup panel, but key tips right now are displayed:

  • in the main ribbon frame as a separate layer (JRibbonFrame.KeyTipLayer)
  • in the application menu footer explicitly (BasicRibbonApplicationMenuPopupPanelUI)
  • in certain cases by individual command buttons (RadianceCommandButtonUI)

The part that is missing here is to have a similar separate layer for key tips when part of the ribbon is hosted in those popup panels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants