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

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

[Octave-bug-tracker] [bug #53537] main_window::focus_changed() routine s


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #53537] main_window::focus_changed() routine should be improved
Date: Sun, 1 Apr 2018 22:55:21 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #5, bug #53537 (project octave):

OK, the bug.  Either before or after the previously attached changeset, float
the editor window and close all other docked features.  The main window will
be a gray slate.  Mouse click back and forth between the main window and the
Editor window and notice that the Alt-<shortcut> isn't modified (i.e., the
little underlines of _F_ile, etc.  That is, this code doesn't get executed:


        if (edit_dock_widget == dock)
          emit editor_focus_changed (true);
        else if (edit_dock_widget == m_active_dock)
          emit editor_focus_changed (false);


because when all is closed, clicking on the main window means dock=0 in this
routine.

The logic shouldn't be too difficult to address (maybe check "this" against
w_new or something).  Depends if one feels this is a bug or one of much
importantance.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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