Mailinglist Archive: yast-devel (55 mails)

< Previous Next >
Re: [yast-devel] YaST Dialog Button Order in KDE
On Wednesday, August 31, 2011 10:35:15 am Lukas Ocilka wrote:

I've got a very nice bug - actually a never-ending story - about button
order in YaST dialogs. This one is not about using ButtonBox widget (at
least not from the developer's point of view) because the inconsistency
is in our design of the whole Wizard dialog.


[Cancel] [OK] button order

The root of the issue is, from my POV, the way how we define the Wizard
behavior and how we later work with it, e.g., by calling
SetNextButton(any id, string label). We often use this approach for
configuration wizards:

[Back] [Next]
[Back] [Finish]

According to Keith Briscoe, who's already reported several
button-order-related bugs, this is in fact a bug considering our wiki
page and
also considering the KDE style that tries to follow a human-speech order.

[OK] / [Apply] / [Continue] / [Finish] / [Yes] / ...

always presented before

[Cancel] / [No] / ...

So, in Wizard, we still use the GNOME button order although YaST runs in
KDE. I think that we could try to change the order in Wizard.ycp (or, in
fact, in its Qt implementation) but it would be quite a big change and
it needs to be discussed first. And that I wrote this e-mail :)

Thanks in advance for your ideas and opinions

A wizard has multiple steps and buttons like [back], [next] or [finish]. From
my point of view having only one step and renaming the buttons is a misuse of
the wizard widget because that's not a wizard anymore.

The wizard uses neither gnome button order nor kde button order. It uses
wizard button order, which is [back], [next]. If one renames the buttons it's
coincidentally similar to the gnome button order.

That's the reason why I think the wizard widget shouldn't be used normal
dialogs but for wizards only. To solve this issue we could create a dialog
template that offers similar functionally and respects the button order by
using the button box widget.


Thomas Goettlicher
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer,
HRB 16746 (AG Nürnberg)
Maxfeldstraße 5
90409 Nürnberg
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups