The “I/O” tab of the “Preferences” dialog should use radio buttons instead of checkboxes

• Apr 26, 2020 - 00:45
Reported version
3.4
Type
Graphical (UI)
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project

The I/O tab of the Preferences dialog allows the user to select among different I/O subsystems. These options are mutually exclusive; i.e., selecting one automatically causes the previous selection to be cleared. However, the options are visually presented to the user as checkboxes instead of radio buttons. This is confusing.

The underlying technical reason for this is that the Qt framework does not allow group boxes to have radio buttons. However, this can be worked around by subclassing the QGroupBox class and rendering the checkboxes to look like radio buttons. This is sufficient for our purposes because the application already overrides the checkboxes' behavior to work like radio buttons.

Originally reported here.


Comments

Status PR created fixed

Fixed in branch master, commit 406b7b6bf2

_Fix #304466: The “I/O” tab of the “Preferences” dialog should use radio buttons instead of checkboxes

Fixed a UI problem with the “I/O” tab of the “Preferences” dialog that caused mutually exclusive options to be presented to the user as checkboxes instead of radio buttons.

The underlying technical reason for this was that the Qt framework does not allow group boxes to have radio buttons. This has been worked around by subclassing the QGroupBox class and rendering the checkboxes to look like radio buttons. This is sufficient for our purposes because the application already overrides the checkboxes' behavior to work like radio buttons._

Fixed in branch master, commit fb09e997e8

_Merge pull request #5992 from Spire42/304466-preferences-IO-tab-radio-buttons

Fix #304466: The “I/O” tab of the “Preferences” dialog should use radio buttons instead of checkboxes_

Fix version
3.5.0