Posted 15 years ago
by SledgeHammer01
Version: 10.1.0522
Platform: .NET 4.0
Environment: Windows XP (32-bit)

Using classic Ribbon in a popup window...
<ribbon:Ribbon.ApplicationMenu>
<ribbon:ApplicationMenu IsEnabled="True" Focusable="False">
<ribbon:Button Command="ApplicationCommands.Save" Label="Save" KeyTipAccessText="S">
<ribbon:Button.ImageSourceLarge>
<BitmapImage UriSource="/TemplateMgr;component/Resources/Save32.png" />
</ribbon:Button.ImageSourceLarge>
</ribbon:Button>
</ribbon:ApplicationMenu>
</ribbon:Ribbon.ApplicationMenu>
A single button in the Application menu, no recent doc, no footer buttons, etc. The binding works fine, but the start up state of the button is DISABLED.
1) The Orb is disabled. Can't mouse over it. Can't click on it.
2) Even when the _CanExecuteHandler goes to true, the Orb is not enabled.
3) If starting state is enabled, Orb works fine.
Perhaps this was an "optimization", to not show the application menu when all commands are disabled, but it looks like a bug to me.
The menu should still be shown if all commands are disabled.
And either way, the orb doesn't get re-enabled when the command is, so I'm guessing its really a bug :).
<ribbon:Ribbon.ApplicationMenu>
<ribbon:ApplicationMenu IsEnabled="True" Focusable="False">
<ribbon:Button Command="ApplicationCommands.Save" Label="Save" KeyTipAccessText="S">
<ribbon:Button.ImageSourceLarge>
<BitmapImage UriSource="/TemplateMgr;component/Resources/Save32.png" />
</ribbon:Button.ImageSourceLarge>
</ribbon:Button>
</ribbon:ApplicationMenu>
</ribbon:Ribbon.ApplicationMenu>
A single button in the Application menu, no recent doc, no footer buttons, etc. The binding works fine, but the start up state of the button is DISABLED.
1) The Orb is disabled. Can't mouse over it. Can't click on it.
2) Even when the _CanExecuteHandler goes to true, the Orb is not enabled.
3) If starting state is enabled, Orb works fine.
Perhaps this was an "optimization", to not show the application menu when all commands are disabled, but it looks like a bug to me.
The menu should still be shown if all commands are disabled.
And either way, the orb doesn't get re-enabled when the command is, so I'm guessing its really a bug :).