Re: PopupApplet and setFocus() behaviour

2009-08-20 Thread Aaron J. Seigo
On Tuesday 18 August 2009, Dmitry Suzdalev wrote: > Would be nice I think. But we'll need to ensure that focus gets set only > after d->dialog inside a popupapplet will be activated. Or any other > possible (temporary or offscreen for ex) widget on the scene. > That is we don't wont a focusOut even

Re: PopupApplet and setFocus() behaviour

2009-08-18 Thread Dmitry Suzdalev
On Tuesday 18 August 2009 02:20:25 Aaron J. Seigo wrote: > ugly; perhaps we should allow plasmoids to set a keyboard focus widget .. > thinks Yep, but the only workaround I found currently working is this: - In my KlipperApplet::focusInEvent() call mywidget->setFocus(). This ensures focus gets s

Re: PopupApplet and setFocus() behaviour

2009-08-17 Thread Aaron J. Seigo
On Wednesday 12 August 2009, Dmitry Suzdalev wrote: > I'm doing it by overriding a PopupApplet::popupEvent() and calling ugly; perhaps we should allow plasmoids to set a keyboard focus widget .. *thinks* actually, when a popup occurs, we should probably shift keyboard focus to the first widget

Re: PopupApplet and setFocus() behaviour

2009-08-14 Thread Dmitry Suzdalev
On Friday 14 August 2009 00:32:09 Marco Martin wrote: > On Thursday 13 August 2009, Dmitry Suzdalev wrote: > > Hi guys and girls! > > > > While making some progress on klipper engine+applet I discovered some > > oddities with focus behavior. I hope you can give me some hints about my > > situation

Re: PopupApplet and setFocus() behaviour

2009-08-13 Thread Marco Martin
On Thursday 13 August 2009, Dmitry Suzdalev wrote: > Hi guys and girls! > > While making some progress on klipper engine+applet I discovered some > oddities with focus behavior. I hope you can give me some hints about my > situation (don't get scared by amount of text below, i tried to make it > si

PopupApplet and setFocus() behaviour

2009-08-13 Thread Dmitry Suzdalev
Hi guys and girls! While making some progress on klipper engine+applet I discovered some oddities with focus behavior. I hope you can give me some hints about my situation (don't get scared by amount of text below, i tried to make it simple to follow). General layout of applet widgets is the f

PopupApplet and setFocus() behaviour

2009-08-12 Thread Dmitry Suzdalev
Hi guys and girls! While making some progress on klipper engine+applet I discovered some oddities with focus behavior. I hope you can give me some hints about my situation (don't get scared by amount of text below, i tried to make it simple to follow). General layout of applet widgets is the f