https://bugzilla.novell.com/show_bug.cgi?id=489077 User jsmeix@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=489077#c3 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jw@novell.com --- Comment #3 from Johannes Meixner <jsmeix@novell.com> 2009-03-31 02:30:06 MDT --- Martin, you wrote that "buttons should be only shown when they are enabled and their action has an effect". This is what I suggested under (a). What exactly do you mean with "has an effect"? Is an arbitrary delay o.k. as long as an effect happens at all? Is then the behaviour in https://bugzilla.novell.com/show_bug.cgi?id=442173#c4 acceptable? I explained that currently "buttons are shown even when their action does not have an effect within a reasonable response time". Above I wrote "immediately" but actually I meant "within a reasonable response time". Martin, I think "Buttons maybe shown in a disabled state if there is a possibility to enable them in the same dialog" looks a bit nonsense. I wonder why have a button [Foo] disabled and have the possibility to enable it e.g. after [Bar] was done? Why not have [Foo] enabled in any case and if clicked show a feedback popup that e.g. first [Bar] must be done before [Foo] can have the actually desired effect? As far as I can imagine at the moment the only case when buttons are disabled is when there are mutually exclusive things like one button [paint it black] and another button [paint it white] (after clicking one it gets disabled and the other one gets enabled) but for such cases one would usually better use radio buttons. Jiri, regarding (a) "operations which can be interrupted": Obviously an [Interrupt] button (whatever it is actually called) would not be grayed out if the process can respond to it (within a reasonable response time). I meant it the other way round: If the process is doing an operation which can be interrupted usually all other buttons except the [Interrupt] button might be grayed out (as long as all other buttons have no effect). Is it possible to have a function to gray out all current active buttons in the current dialog except a list of interrupt buttons like Wizard::DisableAllButtons( [ `id(`one_interrupt_button), `id(`another_interrupt_button) ] ) and a function Wizard::RestoreAllButtons() to restore the buttons to their actual state before DisableAllButtons was called (i.e. a button which was already disabled before would stay disabled afterwards)? Currently the problem is that it is complicated to know which buttons currently exist and in which state (one would have to mainain very carefully a list of button IDs and state manually) whenever the content of a dialog is changed anywhere. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.