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

Re: CfM window appears out of screen

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 24 Mar 2009 17:52:07 +0100

David Balažic wrote:
> Hi!
>
> I clicked Check for modifications in the folder context menu and the CfM
> window appeared somewhere outside the screen area. It is present on the
> task bar, but nowhere to be seen on the screen. Maximizing it puts it on
> the entire screen. Restoring it puts it away again. On previous boot
> this PC had another monitor attached, maybe TortoiseSVN remembered the
> window position on that monitor and tries to use it ?
>
> This is with TSVN 1.5.9 on Windows XP. (32 bit)

The window position is remembered and restored with the
SetWindowPlacement() API. But the docs for that API state:

"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."

which means that if your OS properly detected that the second monitor is
not there anymore, the window would not get restored on that monitor but
on the main monitor.

So I guess there was a problem with detecting that the monitor went missing.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1403823
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2009-03-24 17:52:37 CET

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

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