[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: Duncan Booth <duncan.booth_at_suttoncourtenay.org.uk>
Date: 2007-07-31 11:52:18 CEST

"Norbert Unterberg" <nunterberg@gmail.com> wrote:

>> 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 guess it is independent of the peoperty but it depends on the actual
> width of the property help text. The svn:externals text just happens
> to be the widest one.

I just did some experimenting with the tooltips. As you move the position
of the window across the screen all of the tooltips will adjust their
position to appear to the right or left if the text: right by preference,
but to the left if there is insufficient width.

The svn:external tooltip will appear on the second monitor if the dialog is
far enough left for the tooltip to appear on the right, or if the dialog is
far enough right for the tooltip to appear on the left. The time it goes
wrong is when the pulldown is nearly central in the screen and the tooltip
doesn't have enough space to appear either right or left. I expect the fact
that my secondary monitor is running at only 1024x768 is relevant also.

On the primary monitor (1280x1024) there is an area in the centre of the
screen where the tooltip will appear left of the pulldown but the
triangular part of the callout is to the right and in that case you get a
nasty thin line instead of a triangle. I think that perhaps the tooltip
code is trying to avoid producing this slightly nasty effect by moving to
the other monitor where there is one.

In case I'm not being clear, the triangular callout normally has one side
of the triangle vertical and chooses its position left or right so it can
do that. Only if it cannot keep one side vertical it jumps to the primary
monitor (and the triangle is omitted), or if already on the primary monitor
it draws a callout with both sides sloping to the right.

To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Jul 31 11:56:19 2007

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.