[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: kdesktop wait cursor
From:       Lubos Lunak <l.lunak () sh ! cvut ! cz>
Date:       2001-05-09 10:24:51
[Download RAW message or body]

Dne st 9. květen 2001 11:49 Lubos Lunak napsal(a):
> Dne st 9. květen 2001 11:18 gigafalk@yahoo.com napsal(a):
> > Hi,
> >
> > Torsten Rahn wrote:
>
[snip]
>
>  I'd like to stress the fact that this discussion shouldn't be about what
> the Only Right Way(tm) of doing it is, it's just about which one is going
> to be the default. If there are users who have a peripheral device that can
> pat them on their heads, they can ( should be able to ) turn the default
> off and implement their own startup notification and use their
> implementation that will pat them on their heads. I personally think the
> semi-busy cursor is the most reasonable choice, with taskbar entries or
> kicker startup applet as alternatives. If someone likes none of these, they
> can write their own code for their favourite head patting device.
>
>  BTW, busy-cursor ... I'm still not sure how to implement it so that the
> cursor will be changed for everything ( and I even don't know if it's that
> good idea ). It's not a problem to change the cursor for kdesktop or
> kicker, but it's can't be AFAIK done for all windows, because toplevel Qt
> widgets set the cursor to arrow. The idea with creating a little window for
> showing the busy-cursor is also not very good, because this window would
> have to be somehow kept under the cursor even if the user moves the cursor,
> and even if the window keeps moving to the cursor position, it can't be
> transparent AFAIK, so it would have to be shaped or we'll end up having
> square cursor :). Does anyone know how to do it acceptably ? I've been
> happily avoiding things like QPainter or QCursor till now.

 Actually, everyone suggesting some way of doing it should also come with a 
way how to implement it :). Unless someone knows how to globally override the 
cursor ( XRecolorCursor() is the only way I've found; I'm not sure if 
changing the 'cursor' font is the best idea ), we simply can't have a 
busy-cursor, because we cannot place a hidden window under the cursor, it 
would be stealing the mouseclicks.
 But we could probably instead use a little borderless window with some icon 
or pixmap placed next to the cursor ( or maybe after starting 5 apps at the 
same time having a chain of 5 icons chasing the cursor on the desktop :))  ). 
This one shouldn't be that difficult and the result is almost the same, so I 
vote for this one.

 P.S. : Now that I've implemented startup notification even for apps started 
from konsole, I can confirm that the taskbar entries or an applet aren't 
simply good enough as the default. My taskbar is sometimes a bit crowded, so 
the startup entry is too small to notice ( moreover I have KTimemon running, 
so I'm kind of ignoring most of the activity in the bottom right corner of my 
desktop ). The startup notification simply has to be really visible by 
default, that's why I listed little splashscreens among the possibilities.

 Lubos Lunak
--
 l.lunak@email.cz ; l.lunak@kde.org
 http://dforce.sh.cvut.cz/~seli

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic