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

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

[Octave-bug-tracker] [bug #53275] Variable Editor: Undocking variable wi


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #53275] Variable Editor: Undocking variable window causes it to become nearly full screen
Date: Wed, 7 Mar 2018 02:19:48 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #10, bug #53275 (project octave):

"Listing all the elements separately instead of just using Qt::Window together
with parent 0 was one attempt to get full decoration in KDE Oxygen."

Oh, that makes sense.  Just a simple oversight and easy fix.  I will add the
flag to this patch.

Any widget that has a parent of 0 takes on the characteristics of a system
window (see Qt::Widget and Qt::Window):

http://doc.qt.io/qt-5/qt.html#WindowType-enum

and those are the controls necessary for desktop task-bar functionality, etc.

QDockWidget and its title bar is a Qt construct, I think.  Goes along with the
Central Widget QMainWindow.  That's why the title bar can be replaced by a
custom one--that title bar isn't a window-manager title bar.

Yeah, I don't think it is worth the effort to replicate the title bar of
windows intended to be window-managed-windows (i.e., can minimize to the task
bar).  Having another item in the pseudo window-manager title bar might be
confusing in itself because no other applications have such a thing.

One thing we could do is take out the redundant close button when the window
is floated.  It's odd to have a close button essentially right next to another
close button.  Then there would be just the fullscreen and redock icons on
that line.

Also, I added a border to the floated variable-editor panels easy enough. 
That helps.  I'll add that to this patch as well.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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