ComboBox losing focus in ribbon when the application is active

Ribbon for WPF Forum

Posted 11 years ago by Roger Rong
Version: 13.2.0590
Avatar

Hi there,

To reproduce:

We have an application using editable Actipro ribbon ComboBox in the ribbon group.

1. The combo box got focus when the user is typing in it.

2.The Use swaps to another application (for example Notepad) while the combo box still owning focus.

3.The user swaps back to our application by clicking it windows titlebar, now the combo box loses its focus and the user needs to click the ComboBox to get the focus back.

We have noticed that this only happens in the ribbon. The ComboBox can keep the focus if it is put in the normal windows area.

Our customer is complaining this issue because they frequently swap between different applications and have to make an extra mouse click to be back to the original place of the combobox.

Any help appreciated.

Comments (5)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Roger,

What is happening here is that we have code in Ribbon that is called when the parent Window is deactivated.  In that case, if keyboard focus is still in the Ribbon, it will return focus to the main focus scope.  We try to mimic Microsoft ribbon functionality as close as possible and this is the same behavior that Office exhibits.


Actipro Software Support

Posted 11 years ago by Roger Rong
Avatar

Thanks for the answer. We notice that MS Office has the same the behaviour as Actipro ribbon, which would be suitable to most usages.

But in our particular situation, any possibility to customize this behaviour to make the Ribbon not change the focus to the main focus scope when the parent window is deactived so that the controls in the ribbon can hold the focus?

Answer - Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Roger,

Ok we will add a property to control this behavior.  It will be in the next maintenance release.


Actipro Software Support

Posted 11 years ago by Roger Rong
Avatar

Appreicate that. You guys really help!

Posted 11 years ago by Roger Rong
Avatar

The new property in version 13.0.0592 works for this requirement:

Ribbon.IsKeyboardFocusBlurredOnWindowDeactivation=False

Again thank you for your help.

Roger

The latest build of this product (v24.1.3) was released 26 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.