Plasma Components and Dialog Focus

Aleix Pol aleixpol at kde.org
Thu Apr 19 22:41:39 UTC 2012


On Wednesday 18 April 2012 19:37:58 Marco Martin wrote:
> On Wednesday 18 April 2012, Aleix Pol wrote:
> > Hi,
> > I've been using Plasma Components' Dialog element in a couple of projects
> > and I have the same problem on both.
> > 
> > Whenever I show a dialog (by visible=true) I don't get the keyboard focus
> > on it, not even by calling the activateWidget() method. Am I doing
> > anything wrong? Is there any plan to fix this?
> > 
> > It's quite an important issue, specially on the Quick Chat plasmoid.
> 
> Dialog in components or in core? (two different things)
> 
> do you know if the actual window has the focus, or if is something related
> to theparticular declarativeitem that should have it?

Quick Chat is Plasma Core's, but on both the behavior is the same. I have a 
button to display the dialog. I click on it. Then if I press space, I can see 
the button underneath being pressed, which means that the focus is still on 
the parent window.

Aleix


More information about the Plasma-devel mailing list