[ANN] TortoiseHg-0.3: suggestion and changelog browser bug

Steve Borho steve at borho.org
Tue Feb 5 01:06:30 CST 2008


On Tue, 2008-02-05 at 07:48 +0100, Jens.Wulf at sew-eurodrive.de wrote:
> Hi Steve,
> 
> > But I understand your intent.  In the next release we will drop support
> > for hgk from the context menus and at that time it may make sense to
> > create an extension for the new log viewer that provides the 'view'
> > command.
> This is exactly what I was thinking of. At the moment I'd vote for
> bundling the old hgk/"hg view" with tortoisehg because of the error
> we're talking about (which is quite a showstopper for me). 
> 
> Talking about misfeatures: clicking on revision zero blocks the
> browser for quite a long time. Maybe one should simply suppress
> displaying file contents in this case just as "hg view" did?

This is now a background thread that can be interrupted at any time by
selecting another revision.  Though there can still be a bit of a lurch
as it calculates the status (file change list) for the changeset.  There
doesn't seem to be an easy way to parallelize such manifest functions.

> > Is this repeatable?  Can you mail me instructions on how to reproduce
> > it?  On exceptionally large changesets, there can be a lag of some
> > seconds before the changeset is displayed.

> I only have four repos here, but it happens on all of them. They only
> have five to 47 revisions. Two of them do have a completely linear
> history. The bug becomes visible just after starting the changelog
> viewer so I don't have to do anything special.
> 
> I already mentioned that some of the wrong lines change their content
> depending on the position of the mouse cursor. Now I just noticed that
> moving another window over those lines and revealing them afterwards
> results in graphics errors or making the lines show the summary of
> some other revision -- the one which is shown seems to depend on how
> you move the window around.
> 
> In any case, wrong lines seem to display the summary of some set of
> other revisions, but never (no matter how I move the mouse or a window
> above it) their own summary.
> 
> Looks like a really nasty bug. Hard to describe and seems to happen
> only to me and on this machine (however, I may install and test it on
> a colleagues machine). Maybe it is just hidden somewhere in the widget
> set or the table widget or whatever...

It sounds to me like the window is locked up or is not being refreshed
properly at all.  Do all of the dialogs have this problem, or just the
log viewer?  The log viewer is unique in that it uses cairo.

> This is Windows 2000, Service Pack 4.

That it probably it; we've only been testing TortoiseHg on XP and
(briefly) on Vista.  A quick google search gives me a suspicion that W2K
and GTK2 do not get along well.

I think you'll have much better luck on an XP machine.

-- 
Steve Borho (steve at borho.org)
http://www.borho.org/~steve/steve.asc
Key fingerprint = 2D08 E7CF B624 624C DE1F  E2E4 B0C2 5292 F2C6 2C8C




More information about the Mercurial mailing list