bugGNU Octave - Bugs: bug #50916, ui callbacks not exectued until...


bug #50916: ui callbacks not exectued until user force return to prompt

Submitter:  Pantxo Diribarne <pantxo>
Submitted:  Tue 02 May 2017 02:50:47 PM UTC
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * 4.2.1 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Tue 02 May 2017 05:49:47 PM UTC, comment #2: 

Yes indeed, with Qt the manifestation is a bit different: the text is displayed in the terminal when the the menu is clicked, but you still need to hit the return key for Octave to show the prompt.

Marking the bug as confirmed, even though mainly with fltk.

Pantxo Diribarne <pantxo>
Group Member
Tue 02 May 2017 03:08:03 PM UTC, comment #1: 

It works fine for me with Qt on either 4.2.0 or dev, and with or without the GUI. But I can reproduce the issue with FLTK.

Guillaume <gyom>
Tue 02 May 2017 02:50:47 PM UTC, original submission:  

The following example shows the issue:

fcn = @() disp ("toto")
figure ();
uimenu ("label", "toto", "callback", fcn)

Clicking on the menu doesn't trigger the execution of the callback, or at least the expected "toto" is not printed onscreen. The only way I could find is to click in the terminal and press RETURN.

Pantxo Diribarne <pantxo>
Group Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by gyom (Posted a comment)
  • -email is unavailable- added by pantxo (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.


    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-05-02 pantxo StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code