bugGNU Octave - Bugs: bug #55211, Change of a togglebutton...

 
 

bug #55211: Change of a togglebutton uicontrol's value not reflected graphically

Submitted by:  Guillaume <gyom>
Submitted on:  Wed 12 Dec 2018 11:39:11 AM UTC  
 
Category:  Plotting Severity:  4 - Important
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Guillaume 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.

 

Thu 13 Dec 2018 07:58:28 PM UTC, comment #4: 

This uncovered another bug with the "String" property of pushbuttons so I guess it was useful.

I fixed things in this cset https://hg.savannah.gnu.org/hgweb/octave/rev/1a12d4369beb.

Closing report.

Rik <rik5>
Project Administrator
Thu 13 Dec 2018 04:40:32 PM UTC, comment #3: 

Oops, I somehow introduced this bug.  Well, I'll take a look at it.

Rik <rik5>
Project Administrator
Thu 13 Dec 2018 12:16:09 PM UTC, comment #2: 

I didn't realize it was a regression. Bisect found the bug was introduced with this changeset:

https://hg.savannah.gnu.org/hgweb/octave/rev/88e87c69c8b8

Guillaume <gyom>
Wed 12 Dec 2018 07:30:57 PM UTC, comment #1: 

Confirmed.  This is a regression from 4.4.1 where this worked.

Could you use hg bisect or look through the Mercurial logs to help pinpoint the changeset that introduced this bug?

Rik <rik5>
Project Administrator
Wed 12 Dec 2018 11:39:11 AM UTC, original submission:  

If one runs the following:

h = figure;
u = uicontrol(h,'Style','togglebutton','String','Octave');
set(u,'Value',~get(u,'value'));
set(u,'Value',~get(u,'value'));
set(u,'Value',~get(u,'value'));
set(u,'Value',~get(u,'value'));

one would expect the togglebutton to change its appearance to reflect its new value.

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 rik5 (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
    2018-12-13 rik5 StatusConfirmed => Fixed
        Open/ClosedOpen => Closed
    2018-12-12 rik5 Severity3 - Normal => 4 - Important
        Item GroupNone => Regression
        StatusNone => Confirmed

    Back to the top


    Powered by Savane 3.5