bugGNU Octave - Bugs: bug #44690, Callback execution of an 'edit'...

 
 

bug #44690: Callback execution of an 'edit' uicontrol

Submitted by:  Guillaume <gyom>
Submitted on:  Wed 01 Apr 2015 04:57:42 PM UTC  
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  John Donoghue <lostbard>
Originator Name:  Guillaume Open/Closed:  Closed
Release:  dev Operating System:  GNU/Linux

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 02 Apr 2015 11:25:38 AM UTC, comment #3: 

Works great, many thanks! You can close the report.

Guillaume <gyom>
Wed 01 Apr 2015 08:01:55 PM UTC, comment #2: 
John Donoghue <lostbard>
Project MemberIn charge of this item.
Wed 01 Apr 2015 07:27:54 PM UTC, comment #1: 

Matlab also appears not to do the callback if it is an empty string in the text box, whereas in octave, it it has changed to an empty textbox, it will post once for the empty string.

John Donoghue <lostbard>
Project MemberIn charge of this item.
Wed 01 Apr 2015 04:57:42 PM UTC, original submission:  

In the code below, the callback is executed only after changing the content of the String and pressing Return, ie the callback will not be executed by just clicking in the box and pressing Return, or the second time you press Return after having modified the content of the box. In contrast, MATLAB executes the callback whenever Return is pressed while the uicontrol is the current object.

F = figure ();
H = uicontrol(F, "Style","edit",...
      "String","Default",...
      "callback","disp(get(gcbo,'String'))");

Guillaume <gyom>

 

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

Attach Files:
   
   
Comment:
   

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 lostbard (Posted a comment)
  • -email is unavailable- added by gyom (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-04-02 lostbard StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
    2015-04-01 lostbard Item GroupNone => Matlab Compatibility
        StatusNone => Ready For Test
        Assigned toNone => lostbard

    Back to the top


    Powered by Savane 3.5