bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Empty dialog when requesting hint on a resignation


From: Michael Petch
Subject: Re: [Bug-gnubg] Empty dialog when requesting hint on a resignation
Date: Sat, 14 Sep 2013 16:25:30 -0600
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8

On 14/09/2013 3:32 PM, Russ Allbery wrote:
> Steps to reproduce in 1.02.000:
>
> 1. Start a new match
> 2. Resign after a few moves
> 3. Select (in the GUI) the previous game to see the history
> 4. Select the resignation move
> 5. Press Ctrl-H for a hint
>
> gnubg pops up a dialog box that's empty except for an info icon and the
> Close button and displays the following error:
>
I can confirm this. It is a use case that hadn't been identified before.
The short term solution which I can implement is to simply not display
hint information on resigns. The fact this bug is just being discovered
suggests its not information people are generally looking for. Long term
fix could be to suggest appropriate actions (and equities) regarding
resigns.

As for why this seems somewhat fixed in 1.02.000 is not because of an
actual change in the code, but a change in compiling. In 1.02.000 this
Changelog entry now applies:

2013-07-22  Michael Petch  <address@hidden>

    Add a new configure option --enable-gasserts . Previously
    g_assert macros have been enabled by default. They are now
    disabled by default. This option is used to enable those
    macros.

g_asserts within the GNUBG code are off by now, the GTK ones are
unchanged. So the hard failure that use to exist because of a g_assert
is not reached, but a future GTK one is unmasked.

Side note: If you want the old behaviour for Debian builds you could add
--enable-gasserts to the ./configure process.

-- 
Michael Petch
GNU Backgammon Maintainer / Developer
OpenPGP FingerPrint=D81C 6A0D 987E 7DA5 3219 6715 466A 2ACE 5CAE 3304




reply via email to

[Prev in Thread] Current Thread [Next in Thread]