home *** CD-ROM | disk | FTP | other *** search
- Path: cs.ruu.nl!usenet
- From: wsldanke@cs.ruu.nl (Wessel Dankers)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Stealing the input-focus
- Date: 19 Apr 96 21:45:27 +0100
- Organization: Dept of Computer Science, Utrecht University, The Netherlands
- Message-ID: <2418.6683T1305T1370@cs.ruu.nl>
- References: <john.hendrikx.4t47@grafix.xs4all.nl>
- NNTP-Posting-Host: anx1p2.cc.ruu.nl
- X-Newsreader: THOR 2.22 (Amiga TCP/IP)
-
- John Hendrikx <john.hendrikx@grafix.xs4all.nl> wrote:
- > In a message of 16 Apr 96 Yvon Rozijn wrote to All:
-
- > >> (long thread about requesters stealing input focus)
-
- > >> This still can't help against the case where it accepts a key press that
- > >> was intended to go to a completely different window.
-
- YR>> Actually, you can *never* avoid this, even if you don't use keyboard
- YR>> control at all. Suppose I want to click a button in a requester, I
- YR>> position the mouse pointer, and the split second before I to press the
- YR>> mouse button, another requester pops up in front. I will actually be
- YR>> clicking the wrong gadget.
-
- YR>> The only solution would be never to allow requesters to pop up in front
- YR>> of other windows, but that seems to contradict the nature of requesters.
-
- > I think a nice solution might be to add ways for programs to draw the users
- > attention but without interrupting whatever the user is doing at the moment.
- > A nice solution for example could be to have some sort of gadget on for
- > example the screen bar which tells you whether another program wants your
- > attention
- > (maybe with a 'beep' or something). Pressing that gadget (or using the
- > global hotkey) would bring you to the application wanting your attention.
- > It should be done in such a way that these calls for the users attention are
- > stacked, so if more than one application wants your attention you can click
- > the attention-gadget again to bring up the next application.
-
- > This behaviour could be different if the application currently having the
- > focus is single-threaded (so the user couldn't be doing any other things at
- > the time). In that case a requester could be popped up immediately as
- > usual.
-
- I think there is only one way: the requester should be relative to the
- window(s) of the application. A bit like parent/child screens, really. Those
- windows, when appearing, will not become active if the main window isn't
- active. Optionally, they could be moved to front/back together with their
- parent window. A bit like (boo, hiss) Windows, except that they aren't clipped
- by their parent.
-
- This way a requester of a background task can never bother you, as it's parent
- window is inactive and probably somewhere below other windows. And even if it
- /does/ pop up in front of your current window, it doesn't matter since it's
- inactive and doesn't steal your input.
-
- --
- Wessel Dankers
-
- "Nusuth."
-
-