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

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

[Octave-bug-tracker] [bug #53409] Variable Editor QDockWidget panels not


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #53409] Variable Editor QDockWidget panels not movable in KDE / Plasma Qt 4.4.8.7
Date: Fri, 23 Mar 2018 03:59:00 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #12, bug #53409 (project octave):

I'm attaching a new version of this, one that places some pre-processor
conditionals on the use of setDockOptions().  Hopefully, for versions 5.6.1
through 5.7.0 not using setDockOption() will prevent the non-movable docked
widgets.  (The non-movable floated windows is a different bug report.)  There
looks to be a unique function for controlling nesting, so I put that in there
even though I'm not sure whether it too causes an issue.  My thinking is that
perhaps it won't hurt the movable widgets the way that setDockOption() does:


    m_main->setParent (this);
// See Octave bug #53409 and https://bugreports.qt.io/browse/QTBUG-55357
#if (QT_VERSION < 0x050601) || (QT_VERSION >= 0x050701)
    m_main->setDockOptions (QMainWindow::AnimatedDocks |
                            QMainWindow::AllowNestedDocks |
                            QMainWindow::VerticalTabs);
#else
    m_main->setDockNestingEnabled (true);
#endif


If you still don't get movable widgets, try commenting out the
setDockNestingEnabled().

Note that I only eliminated the range 5.6.1 through 5.7.0 because I'm thinking
that the use of QMainWindow::AnimatedDocks will correct the 4.4.8 version
issue.  Works here.  More generally?  Not sure.

(file #43640)
    _______________________________________________________

Additional Item Attachment:

File name: octave-ve_movable_widgets_qt_version_dependent-djs2018mar23.patch
Size:2 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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