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

[Component] Ribbon task content (ribbon bands) not showing after a certain sequence of user interactions on Windows #472

Closed
MichaelWDenney opened this issue Jun 13, 2024 · 2 comments
Assignees
Labels
7.5 - Larimar Release 7.5 - 2024.H1

Comments

@MichaelWDenney
Copy link

Version of Radiance (latest release is 7.5-SNAPSHOT)

7.5-SNAPSHOT

Sub-project (Common, Animation, Theming, Component, ...)

Ribbon

Version of Java (current minimum is 9)

21.0.1

Version of OS

Windows 11

The issue you're experiencing (expected vs actual, screenshot, stack trace etc)

In the demo, I added the following to org.pushingpixels.radiance.demo.component.ribbon.BasicCheckRibbon.configureTaskBar():

    ribbon.addTaskbarCommand(Command.builder()
  	      .setIconFactory(Edit_clear.factory())
  	      .setAction(commandActionEvent -> ribbon.setMinimized(!ribbon.isMinimized()))
  	      .build().project());

In general, it works as expected. However, every now and then the ribbon tasks all become blank:

image

The definite cause is not clear but it happens after some combination of repeatedly minimizing/restoring the ribbon and repeatedly clicking the various ribbon tab toggle buttons. It can sometimes take a while to get the issue to occur. When it does occur, the only way I've found to restore the ribbon tasks is to change the skin.

@kirill-grouchnikov
Copy link
Owner

Not able to reproduce this so far on macOS. Will try on a Windows box.

@kirill-grouchnikov kirill-grouchnikov changed the title Ribbons Become Blank After Being Minimized/Maximized [Component] Ribbon task content (ribbon bands) not showing after repeatedly minimizing and maximizing the ribbon Jun 19, 2024
@kirill-grouchnikov kirill-grouchnikov changed the title [Component] Ribbon task content (ribbon bands) not showing after repeatedly minimizing and maximizing the ribbon [Component] Ribbon task content (ribbon bands) not showing after a certain sequence of user interactions on Windows Jun 19, 2024
@kirill-grouchnikov
Copy link
Owner

Reproducible 100% on Windows but not on macOS:

  • Run the modified demo with the taskbar command wired to minimize / maximize the ribbon
  • Click that taskbar button to minimize the ribbon
  • Single click on the "Write" task to display it in a popup
  • Click that taskbar button to maximize the ribbon

End result is that the ribbon is maximized, but does not show any task content

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
7.5 - Larimar Release 7.5 - 2024.H1
Projects
None yet
Development

No branches or pull requests

2 participants