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 739756 - Process Fields panel allows odd state and disallows valid state
Process Fields panel allows odd state and disallows valid state
Status: RESOLVED FIXED
Product: easytag
Classification: Other
Component: general
2.3.x
Other Linux
: Normal normal
: 2.2
Assigned To: EasyTAG maintainer(s)
EasyTAG maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-11-07 04:09 UTC by J.B. Nicholson
Modified: 2014-11-07 09:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description J.B. Nicholson 2014-11-07 04:09:47 UTC
The Process Fields panel allows a state that makes no sense and disallows states that make sense. I think the root of this has to do with a bug in how this panel implements ghosting/unghosting various radio buttons in an attempt to disallow invalid choices to the user.

Steps to reproduce:
1. Open EasyTAG and open the Tag and Filename Scan window then select the "Process Fields" tab. It doesn't matter if any audio files are selected or not, you're not actually going to change any files.

2. Uncheck all of the Tag Fields -- Filename, Title, Artist, etc. and now you should not be able to make any changes to the other sections of this panel because you haven't specified which fields to apply them to. However, the other sections (Capitalization, Spaces Conversions, and Character Conversions) remain fully selectable. This is the allowing odd state bug.

3. If you check any Tag Field (say, "Title") the other sections become almost entirely unselectable. Only the last radio button in each group is selectable. So now you can specify "Do not change capitalization", "Do not change word separators", and "Do not convert". This is the disallowing valid state bug because at this point I should be able to pick any modification I wish.

The valid state bug is easily worked around -- pick another Tag Field and then unpick that same Tag Field -- and now the panel is fully available.
Comment 1 David King 2014-11-07 09:19:51 UTC
Thanks for the bug report. I fixed this on master as 871ec1c8c2e0f08a665c881c09548314d0fc5ade. I fixed a similar problem when porting the ID3 preferences page to use GSettings, but obviously did not try unsetting all the process fields options in the scanner dialog.