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: Tue, 21 Apr 2020 08:04:05 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0

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

checked via gdb: the fetab_set_focus / set_focus connection does not work due
to some reason (session attached). in file_editor::activate the "emit
fetab_set_focus (fileEditorTab)" is thrown but the slot file_editor::set_focus
is not executed. since the signal / slot connection setup is in the scope of
file_editor::make_file_editor_tab my question is if
m_tab_widget->currentWidget is maybe screwed up:

void file_editor::activate (void)
QWidget *fileEditorTab = m_tab_widget->currentWidget ();

I.e. either not correctly setup in

file_editor::request_open_file
fileEditorTab = make_file_editor_tab ();
add_file_editor_tab (fileEditorTab, "", index);

or maybe overwritten somewhere else. shall i continue digging into this
direction?


(file #48893)
    _______________________________________________________

Additional Item Attachment:

File name: session_21_04.txt              Size:2 KB
    <https://savannah.gnu.org/file/session_21_04.txt?file_id=48893>



    _______________________________________________________

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]