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

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

[Octave-bug-tracker] [bug #53276] GUI: undocked panes cannot be moved, o


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #53276] GUI: undocked panes cannot be moved, or resized along upper border
Date: Fri, 16 Mar 2018 17:01:35 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #42, bug #53276 (project octave):

That's why I'm concentrating on the main dock widgets.  In the introduction of
the VE dock widgets I tried to affect the octave_dock_widget as little as
possible.  Why exactly that should have changed things I don't know, but I
suspect it is because


    // remove parent and adjust the (un)dock icon
    setTitleBarWidget (0);
    setParent (0, Qt::Window | Qt::CustomizeWindowHint | Qt::WindowTitleHint
|
               Qt::WindowMinimizeButtonHint | Qt::WindowCloseButtonHint);
    setTitleBarWidget (m_title_widget);
    setParent (0, Qt::Window | Qt::CustomizeWindowHint | Qt::WindowTitleHint
|
               Qt::WindowMinimizeButtonHint | Qt::WindowCloseButtonHint);


falls outside of Qt documentation.  Doing a setParent(parent,...) where the
parent doesn't change is supposed to do nothing.  So, exactly what the above
is doing on various systems is hard to tell without having a system to test. 
This comes back to the question of why the <Alt> sequence comment was added:


+#if defined (Q_OS_UNIX)
+        // needed anymore?
+        titlebar_tooltip = "Use <Alt> + <Left Mouse Button> for moving the
window";
+#else
+        titlebar_tooltip = "";
+#endif


Apparently there are systems for which even prior to any of the recent changes
the Window-Manager frame is not appearing so can't be used to move the window.
 So I'm just trying to get those frames back so that we can possibly drop the
titlebar tooltip with <Alt> etc.  I understand the VE change has caused the
issue, but I think it just uncovered the issue.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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