Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Multi-Monitor Support    [ Add a report in this area ]  
Report #:  88633   Status: Open
Edit window on second monitor not restored to correct position
Project:  Delphi Build #:  15.0.3890.34076
Version:    15.0 Submitted By:   Simon Beavis
Report Type:  Basic functionality failure Date Reported:  10/4/2010 11:32:50 AM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All platforms Internal Tracking #:   281533
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
I run in an undocked layout, and have a dual monitor setup. If I create a new edit window and place it on the second monitor, if I close Delphi XE and reopen it the all the edit windows are restored, but the one that was on the second monitor is now on the first monitor. It is also resized so that it goes off the screen to the right and bottom of the display.

I have the autosave project desktop turned on.

My layout is as follows:
* Screen 1
  - Main Delphi toolbar
  - 2 floating edit windows
  - Floating Messages window
* Screen 2
  - Project Manager, Tool Palette and Object Inspector docked together.
   - Floating edit window.
Steps to Reproduce:
* Go into undocked layout and save the layout
* Make sure the Project Desktop autosave option is on.
* Open two editing windows on the first screen.
* Open a third editing window on the second screen.
* Close XE
* Restart XE

The third editing window should now be on the first screen.
Workarounds
None
Attachment
None
Comments

Teodor Nacu at 10/14/2010 6:42:26 AM -
Hi,
I cannot reproduce the bug using the steps. There are any other steps?

Thanks

Simon Beavis at 10/20/2010 6:11:13 PM -
It happens every time for me. I just tried it again, and here is what I did:

* Open a project.
* Ensure that Tools->Options->Autosave Options->Project Desktop is checked.
* Changed the layout to 'Classic Undocked'
* Created a new edit window using View->New Edit Window.
* Moved the new window to the second monitor (my second monitor is to the left of my main one, if that makes a difference).
* Closed XE.
* Started XE.
* The second edit window is now on the main screen, at a different size and position.

Teodor Nacu at 1/3/2011 6:27:15 AM -
I could reproduce it and I promote this to RAID.

Thanks

Simon Beavis at 11/30/2010 2:48:24 PM -
I have found that the problems are not just restricted to multi-monitor setups. I have a my Delphi desktop set up undocked, and with the VCL designer not embedded. The object inspector is tab-docked with the Tool Palette and floats against the left edge of the screen. The Project Manager is undocked and floats on the right edge. I have one or two editor windows filling the middle of the screen. I have saved the desktop and selected it as my standard one. I also made a copy of it for my debug desktop, added the watch, call stackand locals debug windows and saved it. I set that as my debug desktop layout.

Sometimes, when I start up Delphi, or even end a debug session the layout changes from my debug one to the non-debug, one there is an additional edit window open, positioned towards the middle but sized so that it extends off the screen.

Also when starting I have also seen the main Delphi menu/tool bar sized vertically so that it takes up about half the screen, rather than the thin strip at the top of the screen.


Server Response from: ETNACODE01