Bug in engine settings?

Discussions about the WinBoard protocol. Here you can also report bugs and request new features.

Moderators: hgm, Andres Valverde

Bug in engine settings?

Postby Miguel A. Ballicora » 21 Oct 2009, 09:10

in Winboard (not xboard) when I request a path with a feature option like this

feature option="Alternative tablebase path 1 -path gtb\"
feature option="Alternative tablebase path 2 -path "

In the dialog the GUI will allow me to browse for a file, not a path. In the global settings, I could search for a path for egtpath, so I assume that not being able to do it in engine settings is a bug.

Miguel
User avatar
Miguel A. Ballicora
 
Posts: 160
Joined: 03 Aug 2005, 02:24
Location: Chicago, IL, USA

Re: Bug in engine settings?

Postby H.G.Muller » 21 Oct 2009, 16:21

At this point this is an intentional bug; the -path options are not really implemented yet, and -path, -file and -string are all treated internaly like they were -file. In future versions we will change that. (But not 4.4.1 yet.) I was kind of disgusted that a different browsing function is needed for selecting files and folders. (For -string options there should of course be no browser at all, but that will put the burdon on Polyglot to decide how to pass the UCI string options to WB.) The browsing only serves to get the filename, though. It won't automatically do anything with the file you select. So an acceptble work-around is to just select any file in the folder you wanted to select, and then delete the filename part of that in the text edit.

Sorry about that, but the Engine Settings menu really needs a lot of work, still (like real spin controls, better formatting to not cut short option names, etc.).
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: Bug in engine settings?

Postby Miguel A. Ballicora » 22 Oct 2009, 07:58

H.G.Muller wrote:At this point this is an intentional bug; the -path options are not really implemented yet, and -path, -file and -string are all treated internaly like they were -file. In future versions we will change that. (But not 4.4.1 yet.) I was kind of disgusted that a different browsing function is needed for selecting files and folders. (For -string options there should of course be no browser at all, but that will put the burdon on Polyglot to decide how to pass the UCI string options to WB.) The browsing only serves to get the filename, though. It won't automatically do anything with the file you select. So an acceptble work-around is to just select any file in the folder you wanted to select, and then delete the filename part of that in the text edit.

Sorry about that, but the Engine Settings menu really needs a lot of work, still (like real spin controls, better formatting to not cut short option names, etc.).


In global settings, you have implemented -path.

Miguel
User avatar
Miguel A. Ballicora
 
Posts: 160
Joined: 03 Aug 2005, 02:24
Location: Chicago, IL, USA

Re: Bug in engine settings?

Postby H.G.Muller » 22 Oct 2009, 10:35

Global Settings does have nothing to do with option features, be it -path or other.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL


Return to WinBoard development and bugfixing

Who is online

Users browsing this forum: No registered users and 23 guests