[PATCH] KOnScreenDisplay

Jakob Schroeter js at camaya.de
Tue Mar 25 18:59:40 GMT 2003

Hash: SHA1


On Tuesday 25 March 2003 16:47, George Staikos wrote:
> On Tuesday 25 March 2003 04:31, Jakob Schroeter wrote:
> > Finally I managed to finish a new On Screen Display class.
>    The screenshot looks good, and I think we probably should have a global
> OSD.  However you should have a look at all the OSDs in KDE.  There is one
> in kdeui, one in kdeaddons, at least one in kdenonbeta, and of course this
> one in kdelibs.  Does it provide everything that those ones need?  The one
> in kdenonbeta, and soon the one in kdeutils, are "skinnable" for instance. 
> You can make the OSD look how you like.  The one that you display in the
> screenshot does not look like it will work too well for all applications,
> and in that case, it should either be enhanced or used just in specific
> cases and not kdeui.
Please excuse my ignorance, but I am not aware of any other class in KDE that 
does what this one does. Also it should not be a replacement to any existing 
notification type (like KPassivePopup, if you have this in mind when saying 
"all the OSDs in KDE"), but an addition.
My intention was to make an On Screen Display like the one found in sim-icq 
available for all KDE apps and especially for kopete.
Do you have any hints for me where to look for those existing OSDs?

>    I'm really not convinced that you can make a "one size fits all" OSD
> though.  I really suspect that it will be very confusing to the user to
> have 3-4 applications all using the same class (and thus the same style of
> output) for on-screen display.  Which applications are using it so far?
I did not want to create a "one size fits all" OSD. What it does now is 
exactly what I had in mind when starting to hack on it. 
No app uses this class "hardwired" yet. But any app could use it via knotify. 
Personally I use it with kopete and kmail.
But it could be of use for, say, any media player to present an on-screen 
notification the user might know from a TV set or a VCR like "Playing" or 

Version: GnuPG v1.2.1 (GNU/Linux)


More information about the kde-core-devel mailing list