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

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

[Octave-bug-tracker] [bug #57635] Editor often has focus but no cursor u


From: Hg200
Subject: [Octave-bug-tracker] [bug #57635] Editor often has focus but no cursor until clicking elsewhere and then clicking in editor
Date: Thu, 23 Apr 2020 08:13:39 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0

Follow-up Comment #34, bug #57635 (project octave):

Short update:

1.) I have found that commenting file-edit-tab.cc:266 solves the problem. In
this case I think the widget is setup without focus proxy (?). 

++
if (settings)
  notice_settings (settings, true);
  // setFocusProxy (m_edit_area);
--

However it has no effect to set m_edit_area -> setFocusPolicy(Qt::StrongFocus)
after setFocusProxy (). That was just a try and error.

2.) Add note to my statement in the previous comment "Scenario B, 2.)":
octave_qscintilla::focusInEvent is executed but the source is not
m_edit_area->setFocus (). The call m_edit_area->setFocus () does not have any
effect at all.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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