Clock/Calendar bug (was Plasma::PopupApplet API change proposal)

Ivan Čukić ivan.cukic at gmail.com
Tue Mar 24 12:37:18 CET 2009


This is mostly dedicated to Aaron and Rob (IIRC, Rob did PopupApplet and 
Extenders)

The passive pop-up problem got me thinking.

When a dialog is passive, it can only receive keyboard input when its parent 
application has the focus.

This means that the text-box in the calendar (the clock-pop-out-calendar, not 
the calendar applet) meant for entering the date works only when the plasma 
application has the focus.

This is /normal/ in a sense that *any* window receives the input only when the 
parent application has the focus, but in common case, you can click the text-
box in a window, and its application gets focused. This is not the case with 
the passive dialogues. Another side-effect is that pressing Esc key doesn't 
close the calendar.

I suppose that this also applies to all extender-based applets. (the similar 
issue was discussed earlier - panels needing the input focus, but it is a 
different matter)

Making extenders to be active (non-passive) windows is problematic since it 
would (with the current implementation) induce closing the popups when they 
lose the focus, which is not desired (at least not for notifications).

Any thoughts on this?

Cheerio!


More information about the Plasma-devel mailing list