Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* FOCUS on windows, X login sessions
@ 1997-09-19  4:00 Diego Casadei
  1997-09-19  4:00 ` David Z. Maze
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Diego Casadei @ 1997-09-19  4:00 UTC (permalink / raw)



Hi All!
  I have a little problem that seems to be a bug in XFree86-3.3.1-1.
  I usually  keep many shells and windows during a X session.
  Tipically I have 1 shell for the local machine, 1 or 2 shells
  telnetting other workstations, 1 local emacs, possibly a remote one,
  and so long.
  Well, it happens that after a while I can't focus on a window by
  clicking on it with the mouse, that is the window (eventually) come
  to foreground but I can't interact with it (if I type something, this
  won't appear there, but in the window where the focus was previously).
  The only way to focus on another window is to use the bar at the 
  bottom of the screen, or to close all applications and re-login
  (I use xdm to have X logins).
  I noted that this happens sistematically when I run (locally) emacs
  and paw++ (Physics Analysis Workstation, a big program developed at 
  CERN).  If I telnet another workstation and use more to see the
  contents of a file the focus get crazy (but it doesn't happen in the
  very instant I use more: it happens after a short while, but I didn't
  find what triggers it!).
  It is not a dramatic thing, but a bothering one...

PS.  I'm using id:5:initdefault: to boot and get X logins with xdm, 
     but I get first a character based login prompt and then (after
     about a second) the X server starts offering a xdm login prompt.
     I know that XFree is a separate package in respect to the Linux
     kernel, but it would be nice if (at LILO startup, for example)
     I could choose text mode or graphical mode first of all, and
     then obtain a neat xdm login prompt.
     Next, I whish I were able to terminate the session by typing
     logout at the shell prompt (now I have to use the 
     Ctrl-Alt-Backspace "hot" combination, that shuts down the server!
     The server immediately restarts, but it is not a perfect soultion).
     I hope that a better integration will be the characteristic of
     the Linux kernel 3.

PS^2.I find the bar at the bottom of Fvwm-95 very useful, but I think
     we will live better without the look and feel of Win95.  For 
     example I'd like to see no "Start" button at all (why not to use
     a square button with the Penguin instead -- does anybody know what
     its name is?)?

Cheers,
	Diego Casadei, 
			casadei@axpbo4.bo.infn.it
			casadei@cern.ch



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: FOCUS on windows, X login sessions
  1997-09-19  4:00 FOCUS on windows, X login sessions Diego Casadei
  1997-09-19  4:00 ` David Z. Maze
@ 1997-09-19  4:00 ` Diego Casadei
  1997-09-20  4:00   ` Peter B. West
  1997-09-22  4:00   ` Karsten M. Self
  1997-09-19  4:00 ` Simon Inns
  1997-09-21  4:00 ` Jim Howes
  3 siblings, 2 replies; 7+ messages in thread
From: Diego Casadei @ 1997-09-19  4:00 UTC (permalink / raw)



I wrote:
 
> Hi All!
>   I have a little problem that seems to be a bug in XFree86-3.3.1-1.
>   I usually  keep many shells and windows during a X session.
>   Tipically I have 1 shell for the local machine, 1 or 2 shells
>   telnetting other workstations, 1 local emacs, possibly a remote one,
>   and so long.
>   Well, it happens that after a while I can't focus on a window by
>   clicking on it with the mouse, that is the window (eventually) come
>   to foreground but I can't interact with it (if I type something, this
>   won't appear there, but in the window where the focus was previously).
>   The only way to focus on another window is to use the bar at the
>   bottom of the screen, or to close all applications and re-login
>   (I use xdm to have X logins).
>   I noted that this happens sistematically when I run (locally) emacs
>   and paw++ (Physics Analysis Workstation, a big program developed at
>   CERN).  If I telnet another workstation and use more to see the
>   contents of a file the focus get crazy (but it doesn't happen in the
>   very instant I use more: it happens after a short while, but I didn't
>   find what triggers it!).

	Now I have the trigger! It is the button for locking
	numerical keypad: when the locking is enabled I loose
	focus control!
 
 Cheers,
         Diego Casadei,
                         casadei@axpbo4.bo.infn.it
                         casadei@cern.ch



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: FOCUS on windows, X login sessions
  1997-09-19  4:00 FOCUS on windows, X login sessions Diego Casadei
  1997-09-19  4:00 ` David Z. Maze
  1997-09-19  4:00 ` Diego Casadei
@ 1997-09-19  4:00 ` Simon Inns
  1997-09-21  4:00 ` Jim Howes
  3 siblings, 0 replies; 7+ messages in thread
From: Simon Inns @ 1997-09-19  4:00 UTC (permalink / raw)



This is a multi-part message in MIME format.
--------------FA7C7A0A608EAD9DBEB390FA
Content-Type: text/plain; charset=us-ascii
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

Diego Casadei wrote:

> Hi All!
>   I have a little problem that seems to be a bug in XFree86-3.3.1-1.
>   I usually  keep many shells and windows during a X session.
>   Tipically I have 1 shell for the local machine, 1 or 2 shells
>   telnetting other workstations, 1 local emacs, possibly a remote one,
>
>   and so long.
>   Well, it happens that after a while I can't focus on a window by
>   clicking on it with the mouse, that is the window (eventually) come
>   to foreground but I can't interact with it (if I type something,
> this
>   won't appear there, but in the window where the focus was
> previously).
>   The only way to focus on another window is to use the bar at the
>   bottom of the screen, or to close all applications and re-login
>   (I use xdm to have X logins).
>   I noted that this happens sistematically when I run (locally) emacs
>   and paw++ (Physics Analysis Workstation, a big program developed at
>   CERN).  If I telnet another workstation and use more to see the
>   contents of a file the focus get crazy (but it doesn't happen in the
>
>   very instant I use more: it happens after a short while, but I
> didn't
>   find what triggers it!).
>   It is not a dramatic thing, but a bothering one...
>
>
>
> Cheers,
>         Diego Casadei,
>                         casadei@axpbo4.bo.infn.it
>                         casadei@cern.ch

Hi Diego,

I have seen a complaint like your first one before...  The behaviour of
the click-to-focus action in some window managers is changed when the
Num-lock key is on, this causes the window which is focused to lock
focus and not release it.  Hope this helps.

Regards
Simon Inns

--
Simon Inns
Teligent Limited

Telephone: +44 (0) 1442 283 808
Fax:  +44 (0) 1442 283 806
Mobile:  +44 (0) 370 461 570

"Smile!  Things may get worse more slowly..."


--------------FA7C7A0A608EAD9DBEB390FA
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Simon Inns
Content-Disposition: attachment; filename="vcard.vcf"

begin:          vcard
fn:             Simon Inns
n:              Inns;Simon
org:            Teligent Limited
adr:            Mark House;;Mark Road;Hemel Hempstead;Herts;HP2 7UA;England
email;internet: sdi@teligent.co.uk
title:          Project Software Engineer
tel;work:       +44 (0) 1442 283 808
tel;fax:        +44 (0) 1442 283 806
tel;home:       +44 (0) 378 461 570
x-mozilla-cpt:  ;0
x-mozilla-html: TRUE
end:            vcard


--------------FA7C7A0A608EAD9DBEB390FA--




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: FOCUS on windows, X login sessions
  1997-09-19  4:00 FOCUS on windows, X login sessions Diego Casadei
@ 1997-09-19  4:00 ` David Z. Maze
  1997-09-19  4:00 ` Diego Casadei
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: David Z. Maze @ 1997-09-19  4:00 UTC (permalink / raw)



(Followups set to comp.os.linux.x.)

Diego Casadei <casadei@axpbo4.bo.infn.it> writes:
DC>   Well, it happens that after a while I can't focus on a window by
DC>   clicking on it with the mouse, that is the window (eventually) come
DC>   to foreground but I can't interact with it (if I type something, this
DC>   won't appear there, but in the window where the focus was previously).

Hmm...this is a window manager issue...are you using fvwm95?  I use
fvwm2 (which is related) and don't have similar problems.

DC>   I noted that this happens sistematically when I run (locally) emacs
DC>   and paw++ (Physics Analysis Workstation, a big program developed at 
DC>   CERN).

If either of these programs isn't well-behaved WRT the window manager,
it could cause the problems you describe.  Nasty things can happen
when applications try to grab the input focus, change the stacking
level, etc. without working with the window manager.

DC> PS.  I'm using id:5:initdefault: to boot and get X logins with xdm, 
DC>      but I get first a character based login prompt and then (after
DC>      about a second) the X server starts offering a xdm login prompt.
DC>      I know that XFree is a separate package in respect to the Linux
DC>      kernel, but it would be nice if (at LILO startup, for example)
DC>      I could choose text mode or graphical mode first of all, and
DC>      then obtain a neat xdm login prompt.

You can specify the starting runlevel at the LILO prompt, for example
"linux 4" is your boot image is named "linux".  IIRC, that should
allow you to boot without xdm.

DC>      Next, I whish I were able to terminate the session by typing
DC>      logout at the shell prompt (now I have to use the 
DC>      Ctrl-Alt-Backspace "hot" combination, that shuts down the server!
DC>      The server immediately restarts, but it is not a perfect soultion).

Your X session ends when the xsession program exits.  This is a shell
script, that could exist in $HOME/.xsession.  Normally, it looks sort
of like

#!/bin/sh
xrdb -load .Xresources
xsetroot -solid "rgbi:0.0/0.0/0.05"
xhost +localhost
xterm &
exec fvwm2

The last line is the important one: when it finishes (i.e. the user
exits fvwm2), the xsession ends.  If you want to run fvwm95 but also
have an xterm the user can log out from, you could try something more
like

#!/bin/sh
fvwm95 &
xterm -ls

DC>      I hope that a better integration will be the characteristic of
DC>      the Linux kernel 3.

There's been a lot of discussion about what belongs where WRT graphics
and the kernel; IMHO, TRTTD is to put some kind of generic low-level
graphics interface into the kernel and let everything else (X,
SVGAlib, etc.) run atop this.  The GGI project
(http://synergy.caltech.edu/~ggi/) is working on this.  I don't know
how likely it is to ever make it into production kernels, though.

There have been discussions about integrating the GUI into the kernel
and such, but the general agreement has been that that would be a Bad
Idea.

DC> PS^2.I find the bar at the bottom of Fvwm-95 very useful, but I think
DC>      we will live better without the look and feel of Win95.  For 
DC>      example I'd like to see no "Start" button at all (why not to use
DC>      a square button with the Penguin instead -- does anybody know what
DC>      its name is?)?

Well, the newest release of fvwm2 (2.0.46) has the button bar
available as a module, but it uses by default a more Motif-like look.
You could look into using that.

The penguin's name is Tux.

-- 
 _____________________________
/                             \  "If you are hit by a rubber dart, you
|          David Maze         |   are hit by a rubber dart.  Role-play
|         dmaze@mit.edu       |   accordingly."
| http://donut.mit.edu/dmaze/ |  -- Rules for _Die You Commie Bastard!_,
\_____________________________/      an MIT Assassins' Guild game



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: FOCUS on windows, X login sessions
  1997-09-19  4:00 ` Diego Casadei
@ 1997-09-20  4:00   ` Peter B. West
  1997-09-22  4:00   ` Karsten M. Self
  1 sibling, 0 replies; 7+ messages in thread
From: Peter B. West @ 1997-09-20  4:00 UTC (permalink / raw)
  To: Diego Casadei


Diego Casadei wrote:
> 
> I wrote:
> 
> > Hi All!
> >   I have a little problem that seems to be a bug in XFree86-3.3.1-1.
> >   I usually  keep many shells and windows during a X session.
> >   Tipically I have 1 shell for the local machine, 1 or 2 shells
> >   telnetting other workstations, 1 local emacs, possibly a remote one,
> >   and so long.
> >   Well, it happens that after a while I can't focus on a window by
> >   clicking on it with the mouse, that is the window (eventually) come
> >   to foreground but I can't interact with it (if I type something, this
> >   won't appear there, but in the window where the focus was previously).
> >   The only way to focus on another window is to use the bar at the
> >   bottom of the screen, or to close all applications and re-login
> >   (I use xdm to have X logins).
> >   I noted that this happens sistematically when I run (locally) emacs
> >   and paw++ (Physics Analysis Workstation, a big program developed at
> >   CERN).  If I telnet another workstation and use more to see the
> >   contents of a file the focus get crazy (but it doesn't happen in the
> >   very instant I use more: it happens after a short while, but I didn't
> >   find what triggers it!).
> 
>         Now I have the trigger! It is the button for locking
>         numerical keypad: when the locking is enabled I loose
>         focus control!
> 
>  Cheers,
>          Diego Casadei,
>                          casadei@axpbo4.bo.infn.it
>                          casadei@cern.ch

I think it is a more general problem than that.  I reported a similar
problem a few days ago.  I get very similar symptoms, but they are
associated with a return from xlock.  I suspected it might have been to
do with xautolock, but I found that the problem also occurred when I
used xlock directly.

My problem was intermittent.  I can set and reset NumLock in interactive
usage without encountering the problem.

I'm running on a AST Bravo with a Cirrus Logic GD5434, so I use the SVGA
X server in XFree86 3.3.  Does anyone else have similar problems?

Yours faithfully,
-- 
 __ /__   Peter B. West
   /     p.west@mailbox.uq.edu.au
  /    "Master, to whom shall we go?"



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: FOCUS on windows, X login sessions
  1997-09-19  4:00 FOCUS on windows, X login sessions Diego Casadei
                   ` (2 preceding siblings ...)
  1997-09-19  4:00 ` Simon Inns
@ 1997-09-21  4:00 ` Jim Howes
  3 siblings, 0 replies; 7+ messages in thread
From: Jim Howes @ 1997-09-21  4:00 UTC (permalink / raw)



Diego Casadei (casadei@axpbo4.bo.infn.it) wrote:

: Hi All!
:   contents of a file the focus get crazy (but it doesn't happen in the
:   very instant I use more: it happens after a short while, but I didn't
:   find what triggers it!).

Check your num-lock key..

It acts as a modifier for mouse buttons, you can probably change it
in your window manager setup.


Jim




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: FOCUS on windows, X login sessions
  1997-09-19  4:00 ` Diego Casadei
  1997-09-20  4:00   ` Peter B. West
@ 1997-09-22  4:00   ` Karsten M. Self
  1 sibling, 0 replies; 7+ messages in thread
From: Karsten M. Self @ 1997-09-22  4:00 UTC (permalink / raw)



On or about Fri, 19 Sep 1997 12:01:08 +0200, Diego Casadei
<casadei@axpbo4.bo.infn.it> alleged or conspired:

>I wrote:
> 
>> Hi All!
>>   I have a little problem that seems to be a bug in XFree86-3.3.1-1.
<snip>
>>   Well, it happens that after a while I can't focus on a window by
>>   clicking on it with the mouse, that is the window (eventually) come
<snip>
>
>	Now I have the trigger! It is the button for locking
>	numerical keypad: when the locking is enabled I loose
>	focus control!
> 
> Cheers,
>         Diego Casadei,
>                         casadei@axpbo4.bo.infn.it
>                         casadei@cern.ch


As reported elsewhere, the various "lock" keys (numlock, capslock) act
as keyboard context modifiers for mouse events.  Either don't leave
the locks keys on, or include these in the context for your "focus"
mouse action bindings in .fvwmrc*
Karsten M. Self (kmself@ix.nospamhere.netcom.com)

 ...humans, remove the spam guard from the above
 ...spambots, spam to hell

    What part of "gestalt" don't you understand?



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1997-09-22  4:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-19  4:00 FOCUS on windows, X login sessions Diego Casadei
1997-09-19  4:00 ` David Z. Maze
1997-09-19  4:00 ` Diego Casadei
1997-09-20  4:00   ` Peter B. West
1997-09-22  4:00   ` Karsten M. Self
1997-09-19  4:00 ` Simon Inns
1997-09-21  4:00 ` Jim Howes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox