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

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

[Octave-bug-tracker] [bug #60750] Variable Editor changes docking state


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #60750] Variable Editor changes docking state when 'openvar'-ring a variable
Date: Fri, 11 Jun 2021 14:23:47 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #20, bug #60750 (project octave):

> I thought I spotted some funny behavior but I cannot reproduce it now.

I've also seen some strange behavior that's not fully reproducible.  For
example, opening a widget from the command line, then starting the desktop and
docking the existing widget didn't always place the widget back in a tab as I
was expecting.

Maybe there is a timing issue?  The following code also seems a bit suspicious
to me (I added the WHAT?!? comment):


  void main_window::reset_windows (void)
  {
    // Slot for resetting the window layout to the default one
    hide ();
    showNormal ();              // Unmaximize
    do_reset_windows (false, true, true);   // Add all widgets

    // FIXME: WHAT?!?
    // Re-add after giving time: This seems to be a reliable way to
    // reset the main window's layout
    QTimer::singleShot (250, this, [=] () { do_reset_windows (false, true,
true); });
  }



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60750>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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