Plamsa::PopupApplet and modal dialogs

Marco Martin notmart at gmail.com
Fri May 22 19:09:29 CEST 2009


On Friday 22 May 2009, Amos Kariuki wrote:
> On Thu, May 21, 2009 at 4:17 AM, Marco Martin <notmart at gmail.com> wrote:
> > what kind of applet is?
>
> I was working on the uShare front-end applet
> <http://www.kde-look.org/content/show.php?content=105025>
>
> > does make more sense that is automatically closed when it loses focus or
> > not? if not you can set it as passive setPassive(true) and wouldn't be
> > automatically closed anymore
>
> That's actually a plausible approach for my case and I may switch to
> it--my only reservation is that it may not be very intuitive as to how
> you close the passive dialog.  My ideal scenario would however be to
> preserve the auto-hide feature since it's not an applet that needs to
> display any active data and there is little reason to have it
> continuously visible.
>
> On a less specific note and from a general UI guideline point of view
> however, is there a reason why a Popup applet needs to auto-hide when
> it displays a modal dialog?  Maybe it's just me, but it seems strange

i suppose the reason is simply that this dialog hides on focus out event, and 
since the modal dialog steals the focus to the popup here we go, probably not 
very easy to prevent it

> (from a UI perspective) to have a modal dialog displayed without a
> visible parent.
>
> Thanks for the suggestions Marco,
>
> Amos Kariuki
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel




More information about the Plasma-devel mailing list