bugGNU Octave - Bugs: bug #58907, 'parent' property of ui element...

 
 

bug #58907: 'parent' property of ui element keeps being attached to uipanel re: visibility

Submitted by:  None
Submitted on:  Thu 06 Aug 2020 03:44:28 PM UTC  
 
Category:  Octave Function Severity:  3 - Normal
Priority:  4 Item Group:  Incorrect Result
Status:  Confirmed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Open 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.

 

Fri 07 Aug 2020 05:43:39 AM UTC, comment #2: 

OP here again - maybe it's worth mentioning that this doesn't happen with an axes, only uicontrol elements, if that helps.

Anonymous
Thu 06 Aug 2020 07:01:13 PM UTC, comment #1: 

I think you're right.  There seems to be a problem with re-parenting the uicontrol element from the panel to the figure.  I used a slightly modified test script attached as tst_panel.m

(file #49641)

Rik <rik5>
Project Administrator
Thu 06 Aug 2020 03:44:28 PM UTC, original submission:  

Hi,

I've noticed a (suspected) bug regarding the child container of a uipanel. I'm working with a GUI with predefined uicontrol elements, on a panel, and I wanted to untangle that so that the parent object of the uicontrol elements is the figure itself. Then I set the panel's visibility off and my uicontrol elements vanished, too.

I've attached a minimal example. I expected to see the 2nd pushbutton still in the figure when I run the code ...
I tested this in the current Octave dev (as of May 2020), 5.1, Matlab 2010a and 2015b. It's all the same.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #49641:  tst_panel.m added by rik5 (402B - text/x-matlab)
file #49639:  testpanel.m added by None (380B - text/x-objcsrc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by None (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-08-06 rik5 Attached File- => Added tst_panel.m, #49641
        Priority5 - Normal => 4
        StatusNone => Confirmed
    2020-08-06 None Attached File- => Added testpanel.m, #49639

    Back to the top


    Powered by Savane 3.5