bugGNU Octave - Bugs: bug #56599, ginput returns a different value...

 
 

bug #56599: ginput returns a different value for numpad "enter" than Matlab

Submitted by:  Marcel Geers <mpageers>
Submitted on:  Tue 09 Jul 2019 09:17:35 AM UTC  
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Wed 10 Jul 2019 12:52:30 AM UTC, comment #2: 

I checked in a fix here (https://hg.savannah.gnu.org/hgweb/octave/rev/57bb8f531707).  This is on the development branch of Octave and will be part of the 6.1 release.  Of course, since this is just a change to an m-file you can download ginput.m from the Mercurial repository and replace your local copy if you want to see the fix earlier.

Rik <rik5>
Project Administrator
Wed 10 Jul 2019 12:38:23 AM UTC, comment #1: 

Confirmed.  The issue appears to be that the struct which holds information on the key that was pressed contains "return" when the enter key on the main keyboard was pressed and "enter" when the enter key on the numeric keypad was touched.

Rik <rik5>
Project Administrator
Tue 09 Jul 2019 09:17:35 AM UTC, original submission:  

In Matlab, the function ginput returns an empty array for both "enter" keys. Octave returns ASCII carriage return (13) when the numpad enter key is pressed.

Marcel Geers <mpageers>

 

(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 rik5 (Posted a comment)
  • -email is unavailable- added by mpageers (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
    2019-07-10 rik5 StatusConfirmed => Fixed
        Open/ClosedOpen => Closed
        Release5.1.0 => dev
    2019-07-10 rik5 StatusNone => Confirmed
        Operating SystemMicrosoft Windows => Any

    Back to the top


    Powered by Savane 3.5