PR# 12375 Closing undocked window and reshowing displays it in different location

Problem Report Summary
Submitter: prestoat2000
Category: EiffelStudio
Priority: Medium
Date: 2007/03/25
Class: Bug
Severity: Serious
Number: 12375
Release: 6.0.67521
Confidential: No
Status: Closed
Responsible: larryl
Environment: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.8.1.2) Gecko/20070225 Firefox/2.0.0.2 Solaris 10 on x64
Synopsis: Closing undocked window and reshowing displays it in different location

Description
Closing an undocked window and then showing it again causes it to appear in
a different location in some cases.  I have seen two different variants ot this
behavior:

1. Compile a project.
   Step into Routine.
   Undock Objects window and move it below main window.
   Note its exact location.
   Terminate application.
   Click on Force Environment into Debug Mode repeatedly (no need for speed)
   and note position of Objects window.  Each time it reappears a little 
   farther left and a little lower.

2. Click on Show Breakpoints button.
   Move Breakpoints window below main window (and in center of screen).
   Close window.
   Click on Show Breakpoints again.
   Window reappears in a much different location in Y (and might be in
     correct location in X).


To Reproduce

										
Problem Report Interactions
From:larryl    Date:2007/09/09    Status: Closed    Download   
This bug is fixed in revision#70291.

Thanks for your report.

From:prestoat2000    Date:2007/07/13    Download   
Variant #1 seems to be fixed - I cannot reproduce it in rev 69383.

Variant #2 is still reproducible.  After further experimentation, I have
discovered that the incorrect position when closing an undocked window
and then reshowing it only occurs in Y, not in X.  Also, to make it happen
I have to move the undocked window so that the bottom edge is fairly close
to the bottom of the screen.

When I position a window partially off-screen and close it, then reshow it,
the window position is always adjusted so that the window is completely on
screen after the reshow.  I assume this is intentional.  When the bottom
edge of the undocked window is very near the bottom panel (the one with the
Launch buttom) but not overlapping it, closing the window and reshowing it
causes the window to be positioned higher, so that the bottom edge is moved up.
It acts like it doesn't know the true
size of the screen (or the true size of the window) and so is adjusting the window position so that the window is completely
....
Output truncated, Click download to get the full message

From:larryl    Date:2007/07/13    Status: Analyzed    Download   
Hi, David,

I can't reproduce this bug on my Solaris 10 32bits JDS/CDE. Reproduce video attached (AVI format, 7-zip compressed). Please tell me the correct way if I did something wrong in the reproduce video.

Thanks,
Larry

Attachment: bug#12375.7z     Size:2103492