cimbalino / Cimbalino-Phone-Toolkit

Cimbalino Windows Phone Toolkit
MIT License
78 stars 32 forks source link

On change of AppBar buttons, button that bound to a command that can't be executed is not disabled #2

Closed xperiandri closed 11 years ago

xperiandri commented 11 years ago

Imagine that we have 3 buttons on AppBar (Start, Pause and Reset) Start and Reset are visible All buttons bound to commands Reset command can't be executed When I click on Start button, it become invisible while Pause becomes visible. Reset still can't be executed. AppBar updates. Everything is OK. Then I click on Pause button, it becomes invisible while start button becomes visible. Reset becomes executable. Then I click on Start button and everything works the same, except Reset button is not disabled now while command definitely is not executable in this case!

So I guess that there is a bug where when buttons become visible and invisible and AppBar updates, it does not disable buttons that must be disabled because of command can't be executed.