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

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

[Octave-bug-tracker] [bug #60469] F9 to run selected code stopped workin


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #60469] F9 to run selected code stopped working
Date: Wed, 26 May 2021 13:26:56 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #12, bug #60469 (project octave):

I did some checking and it works for me if I use the following pattern with
the new signal/slot connection method:


    connect (dynamic_cast<QsciScintilla*> (m_edit_area),
             &QsciScintilla::copyAvailable,
             this, &file_editor_tab::handle_copy_available);


for the signals that are emitted from the base QsciScintilla object itself.

As noted earlier, this problem only occurs on Windows systems.  Is it related
to the way pointers are handled in DLLs?  Or is it just a difference in the
way pointers are handled in a class like this where signals are inherited? 
I'm not sure whether it is the connection or the execution of the signal/slot
connection that fails.

I suppose it is good that there is a way to use the new signal/slot syntax in
this case, but it seems quite bad to me that there is no warning for an
inherited signal like this.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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