[Bug 471765] New: GTK button order wrong
https://bugzilla.novell.com/show_bug.cgi?id=471765 Summary: GTK button order wrong Classification: openSUSE Product: openSUSE 11.2 Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: benji@opensuse.org QAContact: qa@suse.de Found By: --- Created an attachment (id=269445) --> (https://bugzilla.novell.com/attachment.cgi?id=269445) Fix gtk dialogue button order. User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.0.3) Gecko/2008091700 SUSE/3.0.3-1.1 Firefox/3.0.3 GTK dialogues have the buttons ordered the opposite way round to the rest of the world, meaning people used to using other desktop environments or windows click the [Discard Changes] button instead of the [Save] button that is normally in the same place, leading to lots of frustration and lost work. There is a setting that can be put in the gtkrc to switch the button order to be the same as the rest of the world ( http://developer.gimp.org/api/2.0/gtk/GtkDialog.html#gtk-dialog-set-alternat... ). Unfortunately this hardly works for any applications as it seems it requires the application developer to call gtk_dialog_set_alternative_button_order manually to apply any settings, which few do. There is a workaround which is simply to call gtk_dialog_set_alternative_button_order every time a dialogue is created or a button is added to a dialogue. That way the application dialogues follow the user preferences regardless of what the application developer does. Here's a patch http://bw.uwcs.co.uk/b/fixgtk.diff and a screenshot of it in action http://bw.uwcs.co.uk/b/gtk_vanquished.png Reproducible: Always Steps to Reproduce: 0. Add gtk-alternative-button-order=1 to gtkrc 1. Open a GTK application such as gedit 2. Modify a document 3. Click close 4. Note the "lose my work" button is still where the rest of the world has save. Actual Results: Dialogues do not follow button order setting. Expected Results: Dialogues do follow button order setting. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=471765 User mboman@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=471765#c1 Magnus Boman <mboman@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http://bugzilla.gnome.org/s | |how_bug.cgi?id=170137 CC| |mboman@novell.com --- Comment #1 from Magnus Boman <mboman@novell.com> 2009-02-02 16:56:42 MST --- Added this to http://bugzilla.gnome.org/show_bug.cgi?id=170137 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=471765 User stbinner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=471765#c2 Stephan Binner <stbinner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stbinner@novell.com Status Whiteboard| |desktop-interop --- Comment #2 from Stephan Binner <stbinner@novell.com> 2009-02-03 02:05:00 MST ---
There is a setting that can be put in the gtkrc to switch the button order to be the same as the rest of the world
Which is set within KDE a session, and eg Gimp is respecting it nicely. :-) -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=471765 User vuntz@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=471765#c3 Vincent Untz <vuntz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |should_go_upstream Status|NEW |RESOLVED CC| |vuntz@novell.com Resolution| |UPSTREAM --- Comment #3 from Vincent Untz <vuntz@novell.com> 2009-03-03 16:01:03 MST --- Magnus already upstreamed this to http://bugzilla.gnome.org/show_bug.cgi?id=170137 -- 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.
participants (1)
-
bugzilla_noreply@novell.com