← Back to team overview

unity-design team mailing list archive

Re: Notifications are annoying when typing in the upper right corner of a window


Greetings Vincenzo!

Am Montag, den 01.06.2009, 16:23 +0200 schrieb Vincenzo Ciancia:

> > It's a good idea, but that's outside the capabilities of X today,
> > would require major surgery to address, and there are other
> > initiatives that would give more immediate gratification.
> Doesn't kde already do such a thing to hide the mouse pointer when the
> user is typing near it (btw a very good idea)? 

	Correct. Qt and gtk+ both offer this feature of hiding the
mouse-pointer if an entry-widget is focused and the user types in text.
But that cannot be used in this case.

	In notify-osd's case it's not that simple because of its click-through
capability. notify-osd is not able to receive events via normal
toolkit-means, due to its input mask being "disabled" (only 1x1 pixel
large at the top left corner).

	Apart from that what would be needed is a global widget-focus monitor,
which is able to identify the type of widget in order to be able to act
upon activation of entry-widgets (across all toolkits if possible),
determine their exact position on screen and testing that against
regions of notify-osd bubbles.

Best regards ...

Mirco "MacSlow" Müller