octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #39935] dialog button order incorrectly change


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #39935] dialog button order incorrectly changes depending on CLI or GUI
Date: Wed, 04 Sep 2013 05:27:22 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.57 Safari/537.36

Follow-up Comment #6, bug #39935 (project octave):

So we have two (different desktop environments?) Ubuntu 12.04 desktops with
the same Qt version with different orderings.

The problem seems likely to be that QMessageBox intentionally changes the
order of buttons depending on the platform, which possibly also includes the
desktop environment or window manager. The ButtonRole enum is used along with
the system environment to determine the button order.

See
http://qt-project.org/doc/qt-5.0/qtwidgets/qmessagebox.html#advanced-usage

I see that do_question_dialog sets all three buttons to the same ButtonRole,
but perhaps there is a secondary ordering index for buttons with the same role
value?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39935>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]