After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 443449 - Show AI is thinking
Show AI is thinking
Status: RESOLVED FIXED
Product: gnome-chess
Classification: Applications
Component: General
3.7.x
Other All
: Normal enhancement
: ---
Assigned To: gnome-chess-maint
gnome-chess-maint
: 703912 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-06-03 06:05 UTC by Robert Ancell
Modified: 2014-01-07 03:15 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
Use headerbar title to indicate player to move (2.21 KB, patch)
2014-01-07 03:15 UTC, Michael Catanzaro
committed Details | Review

Description Robert Ancell 2007-06-03 06:05:37 UTC
There is no visual feedback when the AI player is thinking. Add a throbber or similar to show the user they need to wait.
Comment 1 Robert Ancell 2008-07-20 03:27:31 UTC
As reported in bug #372647:
- Can use mouse cursor to indicate AI is busy
- Should also indicate the active player
Comment 2 Robert Ancell 2008-10-09 07:52:08 UTC
Making a Gnome love item. If you want to take this bug please write a new
comment and start working! If you need any help please ask.

To solve:
- Design a throbber animation to display when the AI is thinking. I'd overlay it on the top right corner of the scene. Note there are two renderers (cairo(2D) and opengl(3D)) so two throbbers will need to be designed. There already is some unused 3D throbber code in src/lib/scene/opengl/opengl.py
- Connect the display of the throbbers to the AI player(s)
- Test and post the patch here
Comment 3 Michael Catanzaro 2013-07-28 21:03:49 UTC
*** Bug 703912 has been marked as a duplicate of this bug. ***
Comment 4 Michael Catanzaro 2013-07-28 21:10:09 UTC
I don't think an AI throbber is necessarily the best solution.  All AIs will move within ten seconds at most; most AIs move immediately.  But we do need to somehow indicate whose turn it is in untimed games. (In timed games, you can easily see whose timer is counting down.)
Comment 5 Michael Catanzaro 2013-11-07 17:20:53 UTC
We might want to forcibly slow down AIs that move quickly, though, in which case a "whose turn is it" indicator would be even more desirable.
Comment 6 Michael Catanzaro 2014-01-07 03:15:40 UTC
The following fix has been pushed:
1ba2b8f Use headerbar title to indicate player to move
Comment 7 Michael Catanzaro 2014-01-07 03:15:44 UTC
Created attachment 265495 [details] [review]
Use headerbar title to indicate player to move