bugGNU Octave - Bugs: bug #45848, uicontrol listbox does not move...

 
 

bug #45848: uicontrol listbox does not move the list/scrollbar when a selection is made programatically

Submitted by:  jsh <jsh>
Submitted on:  Mon 31 Aug 2015 07:21:58 AM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: Pantxo Diribarne <pantxo>
Originator Name: Open/Closed: Closed
Release: 4.0.0Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 01 Sep 2015 05:24:07 PM UTC, comment #2:

I have pushed a simple patch on the default branch:

http://hg.savannah.gnu.org/hgweb/octave/rev/7d8ec197b08b

Closing report.

Pantxo Diribarne <pantxo>
Project MemberIn charge of this item.
Tue 01 Sep 2015 07:02:58 AM UTC, comment #1:

Thanks for the report. I can confirm the bug and I have a one liner patch that I will push soon.

Pantxo Diribarne <pantxo>
Project MemberIn charge of this item.
Mon 31 Aug 2015 07:21:58 AM UTC, original submission:

In Matlab an uicontrol listbox always tries to show the selected entry. If a listbox is made and a value is selected like in the example, the bottom of the visible listbox will show the selected entry

If an earlier selection is made, the visible area of the listbox will move to show the top entry selected

It seems it is not programatically possible yet to move the listbox visible area.

jsh <jsh>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 01 Sep 2015 05:24:07 PM UTCpantxoStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Tue 01 Sep 2015 07:03:44 AM UTCpantxoStatusNone=>Confirmed
    Tue 01 Sep 2015 07:02:58 AM UTCpantxoItem GroupNone=>Incorrect Result
      Assigned toNone=>pantxo

    Back to the top


    Powered by Savane 3.1-cleanup1