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 14:07:32 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

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

Thanks Philip.  (That helps, but not necessarily makes clear in my mind how to
fix things, ha-ha.)  I can see in the snapshots for KDE linux that there is no
full decoration for the octave_dock_widgets, both Variable Editor and Editor
don't have that outside frame.  But, the peculiar thing is that there are
Taskbar entries at the bottom of the screen for both of these.  If these were
child-windows of the QMainWindow GUI, they would not have taskbar icons.  So,
perhaps there is a setting that is different or wrong.  There is the
Qt::FramelessWindowHint.  In the patch, I changed


-    setParent (0, Qt::Window | Qt::CustomizeWindowHint | Qt::WindowTitleHint
|
-               Qt::WindowMinMaxButtonsHint | Qt::WindowCloseButtonHint);


to


+    setParent (0, Qt::Window);


which possibly is something I shouldn't have done.  Maybe KDE has a default of
frameless windows where other flavors of linux WIndow-Managers don't.

I can also notice a subtle difference in the header.  In file #43575
(pre-patch) the header is shorter and the float/close buttons at top-right are
scrunched nearer to one another, whereas in file #43576 the header is taller
and the buttons are more spread out.  That is an indication that in fact these
are pre- and post-patch, i.e., the first is the custom titlebar and the second
is the default titlebar.  KDE likes more space with the buttons, I guess.  But
one thing we could do in the label_dock_widget constructor is use the default
buttons to determine the spacing and then also apply that spacing to our
custom layout.  That way, button spacing will look like something the OS
framework does.

OK, I'll think about this.  Is there any other feedback?  No more snapshots,
but generally how the windows function?  For example, how about
double-clicking on the title bar to float/unfloat windows?  Or mouse-drag the
panels outside of the QMainWindow GUI to cause them to float?  Could you try
some of those things, but don't use the Variable Editor.  Any window but
Variable Editor is fine.  Workspace window, Editor window, etc.  The problem
with Variable Editor is that it is very fresh development and we don't want to
conflate ancillary issues due to things like event filters, etc.  E.g.,

https://savannah.gnu.org/bugs/index.php?53315
https://savannah.gnu.org/bugs/index.php?53357

Those should be different bug reports.

    _______________________________________________________

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]