[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Error in Dialoge layout with extended desktop

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 10 Apr 2008 17:17:09 +0200

Anthony Winner wrote:
> All of the dialogs do not check the current desktop to see if they are
> on the current desktop. If you switch from an extended desktop to a non
> extended desktop and the dialog was in the extended part of the desktop,
> it is not visible when used on a non extended desktop. To recreate setup
> the extended desktop, move a dialog to the second monitor, close so it
> saves it’s settings. Then switch back to the non extended desktop and
> open the dialog, it’s not visible. This is less of a problem with the
> top dialogs, as you can RMB on the tab for the dialog in the task bar
> and use move and the arrow keys to move it back into view, but the
> secondary dialogs do not allow this.

If the second monitor is not available anymore, i.e. if the dialogs
would be restored to a non-existing dialog, they automatically discard
the saved position.
At least, that's what the windows API SetWindowPlacement() does:
"If the information specified in WINDOWPLACEMENT would result in a
window that is completely off the screen, the system will automatically
adjust the coordinates so that the window is visible, taking into
account changes in screen resolution and multiple monitor configuration."

That means if you correctly switch your monitors, this will work. But if
you only turn off your second monitor, there's no way an application (or
Windows) can know about that.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-04-10 17:17:29 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.