Bug 379904

Summary: Cannot set permissions to /printers or /classes
Product: [openSUSE] openSUSE 11.0 Reporter: Jiri Srain <jsrain>
Component: YaST2Assignee: Stefan Hundhammer <shundhammer>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: jsmeix
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jiri Srain 2008-04-15 07:49:01 UTC
If you click /classes or /printers, the radio button in the upper row keeps checked (probably you have two radio button groups instead of one) in the CUPS server settings tab.

Tested on current snapshot from SVN.
Comment 1 Michal Zugec 2008-04-30 13:25:47 UTC
The problem occurs only in Qt, in ncurses works fine
Stefan, you can reproduce it with code:

{
term ui = `RadioButtonGroup (`id (`loc), `VBox (
                    `HBox (
                        `RadioButton (`id (`root), `opt (`hstretch), "/ (r&oot)", true),
                        `RadioButton (`id (`admin), `opt (`hstretch), "/ad&min")
                    ),
                    `HBox (
                        `RadioButton (`id (`printers), `opt (`hstretch), "/&printers"),
                        `RadioButton (`id (`classes), `opt (`hstretch), "/&classes")
                    )
                ));
UI::OpenDialog(ui);
UI::UserInput();
UI::CloseDialog();

}
Comment 2 Stefan Hundhammer 2008-04-30 15:45:34 UTC
Right. Qt4 has a different strategy for radio buttons. Now turning this new Qt4 behaviour off and using the original libyui radio button strategy.

Fixed with yast2-qt-2.16.45.