Tk Source Code

View Ticket
Login
Ticket UUID: 220088
Title: Main Window in Author doesn't raise when clicked
Type: Bug Version: obsolete: 8.3.1
Submitter: welch Created on: 2000-10-31 22:30:53
Subsystem: 65. Generic Window Operations Assigned To: nobody
Priority: 1 Zero Severity:
Status: Closed Last Modified: 2000-11-01 05:30:54
Resolution: Duplicate Closed By: welch
    Closed on: 2000-10-31 22:30:54
Description:
OriginalBugID: 5482 RFE
Version: 2.0b9
SubmitDate: '2000-05-12'
LastModified: '2000-05-27'
Severity: MED
Status: Closed
Submitter: shawn
ChangedBy: hobbs
RelatedBugIDs: 4016
OS: Windows NT
ClosedDate: '2000-05-27'


to reproduce - Hide the main author window partially with another connect window - 

click on the window - and it doesn't raise - 

I expect it to raise to the front of the other windows 



Duplicate, this is a Tk problem. 
-- 05/12/2000 redman
This is just an incorrect assumption, if I understand the desc (which
is just too short).  Connect makes toplevels transients of the main
window, and transients always maintain stay-on-top behavior. 
-- 05/12/2000 hobbs

I guess that I don't agree that this is not a bug - if it's not a bug in tk (which I don't agree with either - really the stay on top behavior of transients should be optional), I still expect to raise the main window in Author to the front by clicking in the window - so that I can access the main controls in that window, even if it's obsured by another Author window.    
-- 05/12/2000 shawn

If I can expand on this a little - The behavior of a transient window is excellent in the case of a small error message serving a big window - in that case the transient behavior of popping up the error message serves us really well - it's easy to find the error window that way. Another model that works well is to use a toplevel without the transient behavior for the error message - then it can be found using the window manager in the OS - although the transient model is still much better. 

This fails miserably however if you set a grab on the window - because if the window gets obscured by another application - suddenly - it is impossible to find the window and it can't be raised by clicking in the main application window - and the transient window can't be found using the window manager. It would be really nice if a single click in any of the application windows would raise the whole set of windows to the front - yet still require that the window with the grab get the attention.  

The model I am thinking of is more like parents - where the three windows in the IDE toplevel share the same responsibility (they are like partners) for the children windows - and for each other.  Each one raises all the windows in the application - each one is fully functional, and can be raises itself  to the front - and we don't get the accumulation of icons that we would see in the .toplevel (without the transient behavior) model. Each of the three windows would behave the way a transient does now - without any window having to be "less" important by always having to stay behind. 

This would be a good enhancement to the core, and would give the gui programmer more flexibility.  And it would make Ajuba easier to use.  

-- 05/15/2000 shawn

Finer grained control of toplevels is already specified by 4016.
There should also be a Connect ticket opened linking to that. 
-- 05/27/2000 hobbs