[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

2741.0. "Input focus not saved after resuming Paused ses." by CSC32::FORSMAN (Ginny Forsman 522-4731 CSC/CS) Wed May 09 1990 18:59

    Under v1.0 of DECwindows, if a window had input focus prior to a Pause
    from the session manager, it maintained its input focus when we
    resumed the session..
    
    Under v2.0 (5.3), this is no longer the case.  When I resume my
    paused session, no windows have input focus.
    
    Was this an intended change or oversight?
    
    Obviously, my customer liked it the 'old' way.
    
    Thanks,
    
    Ginny
T.RTitleUserPersonal
Name
DateLines
2741.1GUESS::DERAMODan D'EramoThu May 10 1990 00:0217
        The window that had the input focus before you paused
        the session still had the input focus after you unpaused
        the session.  However, its title bar was not highlighted
        and its text entry cursor may have been dimmed.
        
        I was just entering a reply saying the above in a
        DECwindows Notes Notes:Edit window that still had the
        "invisible input focus" after unpausing.  But it behaved
        strangely--hitting TAB moved the focus to the "Author:"
        or "Date:" field and highlighted the title bar.  
        
        Then the node DECwindows Notes was running on crashed,
        and I lost all of my windows to that cluster (even from a
        node that didn't crash), but surely that was a
        coincidence unrelated to the input focus problem. :-)
        
        Dan
2741.2more...CSC32::FORSMANGinny Forsman 522-4731 CSC/CSThu May 10 1990 16:262
    I also find that this window with 'invisible input focus' only has
    this input focus while the pointer is positioned within that window.
2741.3The true behavior...CSC32::M_MURRAYFri May 11 1990 18:2619
.1 is incorrect.  The last window to have focus before the pause does 
not have focus on return from a pause.

Upon return from a pause, no title bar is highlighted to indicate
that a window has focus, but input focus will be found in the window 
which has the mouse "cursor" (arrow) positioned over it.

Focus can be moved from window to window without a title bar being
highlighted, by moving the mouse.

If mb1 is clicked while the cursor is over a window, the title bar is
highlighted, focus is assigned to that window and "normal" behavior is 
restored.

A QAR #719 in the v54-FT database, on this issue, has a response
as to future behavior.

-Mike
2741.4GUESS::DERAMODan D'EramoSat May 12 1990 17:3813
	re .1, .2, .3

	Aha!  A model that explains all of the observations! :-)

	I almost always place the mouse in the window in which
	I am working, as if the input focus were pointer driven.
	So I only noticed what I posted in .1.  The more complete
	explanation in .3 makes me curious ... is our window
	manager actively making focus follow the pointer then,
	or does the server do that as a kind of default when the
	window manager "abstains" or is stopped?

	Dan
2741.5 X default ?ISIDRO::JOSEMon May 14 1990 08:477
    
    if you use uwm (window manager provided with X11), the
    input focus is in the window that contains the cursor, unless you
    specify a window to have it.
    
    maybe that's related with what appened here...
    
2741.6No real estate driven focusSTAR::CYPRYCHThu May 17 1990 13:057
    RE: .4
    
    In answer to your question,  no,  the window manager in
    DECwindows V2 does not support "real estate" or "pointer"
    focus.  
    
    Nancy
2741.7GUESS::DERAMODan D'EramoThu May 17 1990 23:019
	re .6,

	Okay, it must be the server causing that behavior, as
	sort of a default when the window manager isn't working.
	I'll try to remember to test that next time I am about
	to quit a session, by killing the window manager first
	and seeing if the input focus then follows the mouse.

	Dan
2741.8CSCOA3::HOOD_DOTue May 22 1990 18:4210
    
    Coincidentally, I have observed a similar problem in Ultrix DECwindows.
    When an application exits from inside of a callback procedure ( exit(1)
    inside of a caution box 'yes' callback procedure), the program exits, 
    and the window to get input focus is (you guessed it) the window in
    which the cursor is located. None of the windows are highlighted. 
    Sounds like the server/window manager dropped the ball. 
    
    Doug