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

Re: multi monitor bug: svn:external tooltip displayed on wrong monitor

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: 2007-08-01 10:48:14 CEST

On 31/07/07, Stefan Küng <tortoisesvn@gmail.com> wrote:
> Norbert Unterberg wrote:
> > 2007/7/30, Stefan Küng <tortoisesvn@gmail.com>:
> >> Norbert Unterberg wrote:
> >>> TortoiseSVN 1.4.99, Build 10265 - 32 Bit -dev, 2007/07/30 00:01:33
> >>>
> >>> The tool tip help for the svn:external property appears on the wrong screen.
> >>>
> >>> * Select TSVN->Properties on a folder of a working copy.
> >>> * Click on the Add... button
> >>> * drag the Add Properties window to the left half if the second monitor
> >>> * select svn:externals in the Property Name combo box
> >>> * Hover the mouse over the combo box.
> >>>
> >>> The tool tip with the help text for svn:externals appears on the first
> >>> (the other) monitor.
> >>> The tool tips for the other properties appear on the correct screen,
> >>> it is only the "svn:externals" property that is wrong.
> >>>
> >>> When you move the Add Property window to the right side of the second
> >>> screen, then the tool tip appears on the correct screen. Looks like
> >>> the tool tip is positioned on the wrong screen if it is so wide that
> >>> its left border would appear on the first screen. It is then moved
> >>> completely to the first screen instead of the second screen.
> >>>
> >>> If it matters, my monitor setup is:
> >>> Two monitors with 1280x1024, primary monitor is the left one.
> >>> Font size is normal (96 dpi).
> >> Does this only happen for the svn:external property tool tip?
> >> Because I can't see any difference on how the tooltips are set for the
> >> different properties.
> >
> > I tried it again, and I think I got some more info on it.
> > It seems that TSVN (or windows?) tries to position the tooltip in a
> > way that either the left or the right end of the text bubble is near
> > the mouse cursor. When the tooltip is smaller than half of the screen,
> > this always works.
> > But if the tooltip is wider than half of the screen (which only the
> > svn:external seems to be on my screen), and the window and the mouse
> > is at the center of the screen, the alignment fails and seems to fall
> > back to something like "position the tool tip to the left side of the
> > screen". Seems TSVN positions the tooltip then to the left of the
> > virtual desktop and not to the left of the current monitor.
>
> Thanks for analyzing this!
> This *should* be fixed in revision 10272, but since I don't have a
> dual-monitor setup I can't really test and confirm this.
> Can you please test the next nightly build and check if it's ok now?

After you have tested, we should split the very long string into 2
lines as very long tooltips are not so good for reading. I will do
this after the fix is confirmed.

Note to self: in TortoiseShell/resource.rc, not Resources/TortoiseProcENG.rc

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Aug 1 10:46:41 2007

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