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

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

[Octave-bug-tracker] [bug #53467] variable Editor: closed tabs in undock


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #53467] variable Editor: closed tabs in undocked VE are reopened after docking the VE
Date: Mon, 26 Mar 2018 00:09:36 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #1, bug #53467 (project octave):

OK.  I didn't realize that show() also shows the widgets even if they have
been hidden:

http://doc.qt.io/qt-5/qwidget.html#show

One would think that show wouldn't change the appearance any.  

I will have to experiment with hide

http://doc.qt.io/qt-5/qwidget.html#hide

followed by show to see what happens.  Maybe we don't have to apply "show()"
anymore than the first time it appears.

Otherwise, I'll have to figure out some way to deal with this.  show() is not
virtual, so the idea of rewriting show() is out.

A bigger question, though, is what users (or developers) are expecting here. 
For an initial guess, I just used Qt's option of "close" means to hide (a
check mark appears along side the variable window's name in the context menu
list).  We can change the settings to "delete on close" such that the variable
table is truly deleted, hence there is no chance of it reappearing without
calling "openvar X" again.  If we go that route, there is no sense in figuring
out some way to do the former.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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