Re: [gtk-list] Re: Ignoring keypresses



Havoc Pennington <hp@redhat.com> wrote:

> Anders Melchiorsen <and@kampsax.dtu.dk> writes: 
> > Is there a better way to achieve the effect that I want?
> > 
> 
> I think the moral of the story is, "deiconifying your app without the
> user expecting it is a bad idea."
> 
> Maybe you should pop up just a dialog, that says "application needs
> attention, would you like to deiconify it?"

This is an instant messaging system. If the user said he wanted the
window deiconified, he really wanted it. And yes, he really *does*
expect it to deiconify if a new message appears. No need to confirm
that fifty times a day. If he did not want it to deiconify, he would
have turned the option off.

Let's not spend time discussing if this is proper UI behavior. I am
absolutely certain that this is how my users want this handled. If you
do not agree, let us just *assume* that I am right.

With this in mind, _is there a better way to do it than what I posted
previously_? I am thinking of adding a keyboard handler that ignores
everything and another handler that is activated after some (short)
time and disables the first handler.

(BTW, popping up the dialog that you suggest is no better than my way
of doing it since the user will be happily typing without looking at
the screen and thus will randomly select Yes or No in that dialog)

-- 
Regards, Anders



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]