Bug 466497

Summary: software repositories: sources and debug are refreshed but disabled
Product: [openSUSE] openSUSE 11.1 Reporter: macias - <bluedzins>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED INVALID QA Contact: Jiri Srain <jsrain>
Severity: Minor    
Priority: P4 - Low    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description macias - 2009-01-15 17:18:29 UTC
software repositories: sources and debug are refreshed but disabled

...by default. Such settings makes no sense -- why refreshing the repos all the time if they are disabled anyway.

The only settings which make sense, are 3, not 4.
* refresh, enabled
* no-refresh, enabled
* no-refresh, disabled
Comment 1 Ladislav Slezák 2009-01-19 11:23:47 UTC
Source and debug repos are disabled by default because they are needed only for special purposes (debugging, rebuilding from sources...).

Autorefresh status is irrelevant, only enabled repositories are autorefreshed.

Autorefresh is by default on so you can simply enable the repository (one click instead of two).
Comment 2 macias - 2009-01-19 13:36:39 UTC
In such case it is HIG violation -- they can be enabled but the checkboxes should be grayed out, since their settings are no longer relevant. Reopening.
Comment 3 Ladislav Slezák 2009-01-28 09:18:59 UTC
Hm, that would prevent me from disabling autorefresh for disabled sources. I have several disabled repositories and I want to disable autorefresh for them (when I later enable them autorefresh will be already off so I won't have to bother about that) - I would have to: 1) enable repo, 2) disable autorefresh, 3) disable repo back for each repo.

It might sound strange but I already have done that several times.

Martin, what is your opinion?
Comment 4 Martin Schmidkunz 2009-02-05 10:40:09 UTC
Maciej: which HIG are you talking about?
Comment 5 macias - 2009-02-05 17:39:51 UTC
Sorry, not the HIG -- something more fundamental, meaning of the checkbox (part of the UI) itself. You can of course look for any definition of it, but just in case, one of many:
"When a check box contains a checkmark, the function is "enabled," which means it is turned on and active. When the box is empty, the option is not active (disabled)."
Comment 6 Martin Schmidkunz 2009-02-06 09:28:12 UTC
OK, maybe this definition is true for other cases but in YaST this issue is handled differently:
check boxes are always enabled regardless whether they are checked or unchecked.
Comment 7 macias - 2009-02-06 20:37:36 UTC
Oh, so you are "simply" reinventing the checkbox. Of course for years, the most important advantage of GUI was consistent behaviour and meaning, but changing the well established meaning can be fun.

Everywhere, except yast.
on --> on
off -> off

in yast
on --> well, it depends, read manual if it is really on
off --> read manual too, you need to figure out the dependencies


> check boxes are always enabled regardless whether they are checked or
> unchecked.

I didn't say a word about this. I said, that if the "parent" widget is off, thus the state of the checkbox is irrelevant, it should be disabled to notify the user about true meaning.

Currently it only misinforms the user, but as I said, it may be fun, to surprise the user or force him/her to study manuals.