bugGNU Octave - Bugs: bug #63423, uitable cellselectioncallback does...

 
 

bug #63423: uitable cellselectioncallback does not work in a user case

Submitter:  Liang Tang <lt1234>
Submitted:  Sat 26 Nov 2022 03:18:47 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  lt1234 Open/Closed:  * Closed
Release:  * 7.1.0 Operating System:  * Microsoft Windows
Fixed Release:  10.3.0 Planned Release:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Mon 27 Oct 2025 07:37:54 AM UTC, comment #3: 

Great.  Closing report.

Rik <rik5>
Group administrator
Sun 26 Oct 2025 08:01:47 PM UTC, comment #2: 

This issue has been fixed in 10.3.0 window 11.  Thanks.

Liang Tang <lt1234>
Sun 26 Oct 2025 07:34:07 PM UTC, comment #1: 

I tested example sequence in original submission and CellSelectionCallback is called correctly.  This is with current stable version of Octave (10.3).    I tested on Linux.

Can you verify that the bug is fixed?

Rik <rik5>
Group administrator
Sat 26 Nov 2022 03:18:47 PM UTC, original submission:  

uitable is a mechanism to work with excel worksheets.  Bug report #63388 can be looked at as displaying different worksheets on
a same uitable.

This report is about an issue detected from implementing a basic row operation within a worksheet, given that the functionality
to add/delete uitable row/column is unavailable.  

Octave uitable syntax follows an older version of matlab uitable that matlab still supports. To detect the cell selection,
'cellselectioncallback' is the only method I know in this older syntax.  A user case below shows that, in this user case, 
'cellselectioncallback' is not exercised when the cells of a row are selected.  Please use the steps below to illustrate
the issue at step (e).  uitable_delete.m is attached. 


(a)uitable_delete in command window
(b)click on 5 of the row name.  All row 5 cells highlighted.  'cellselectioncallback' displays 'Row(s) 5 Selected' in command window.
(c)click on 3 of the row name.  All row 3 cells highlighted.  'cellselectioncallback' displays 'Row(s) 3 Selected' in command window.
(d)click 'delete row' push button on the right of the figure.  Row 3 is deleted.  Table contents below Row 3 move up. 
(e)click on 3 of the row name.  All row 3 cells highlighted but 'cellselectioncallback'  displays nothing. 'cellselectioncallback' is not exercised when the cells are highlighted/selected.  <== THIS IS THE ISSUE
(f)(optional) click 'delete row' push button. Nothing happens because the selected row is not defined by 'cellselectioncallback'. 
(g)click on 3 of row name.  All row 3 cells highlighted again but 'cellselectioncallback'  still displays nothing. 'cellselectioncallback' is not exercised. 
(h)(optional) click delete row push button. Nothing happens because the selected row is not active through 'cellselectioncallback'. 
(i)click on any other row or any cell. Everything is back to normal. Then click 3 of the row name. Row 3 works again.

Thanks,

Liang Tang <lt1234>

 

Attached Files

Attached Files
file #54024:  uitable_delete.m added by lt1234 (3.9KiB - application/octet-stream)

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    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.

     

    History

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-10-27 rik5 StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2025-10-26 rik5 StatusNone Need Info
        Fixed ReleaseNone 10.3.0
    2022-11-26 lt1234 Attached File- Added uitable_delete.m, #54024

    Back to the top

    Powered by Savane 3.16-ed84.
    Corresponding source code