Bug 380681

Summary: Failure to update nested enabledness properly
Product: [Applications] rkward Reporter: Thomas Friedrichsmeier <thomas.friedrichsmeier>
Component: generalAssignee: RKWard Team <rkward-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Testcase

Description Thomas Friedrichsmeier 2007-03-08 17:49:08 UTC
-- This ticket was imported from http://sourceforge.net/p/rkward/bugs/14 on 2017-05-30 15:26:36 +0100 --
Originally reported by pkapat. Relevant mail excerpt:

&gt;&gt; Lastly, the "addRugtoplot" checkbox on binomial\_clt.xml is behaving funny.
&gt;&gt; I have connected all the rug related options to be enabled based on
&gt;&gt; addRugtoplot.state. But it does not work the first time the plugin is
&gt;&gt; started \(when the rug checkbox is not checked but still all the options is
&gt;&gt; enabled\). I will look into it again, today.

&gt; That's strange, indeed. Interestingly, if you set ECDF to be the default
&gt; mode, it works correctly. Almost certainly a bug on the C++ side. I'll look
&gt; into it later \(remind me, if I don't\).

I hope you remember this issue. Having removed the rug options from clt 
plugin, I needed to keep a track of this. I am attaching three files. Save 
them in the plugins directory and you will still be able to see this bug.
Comment 1 Thomas Friedrichsmeier 2007-03-08 17:49:09 UTC
Testcase
-- Created an attachment --
Comment 2 Thomas Friedrichsmeier 2007-05-16 18:10:17 UTC
Logged In: YES 
user\_id=300591
Originator: YES

Finally figured it out and fixed it. It came from the fact that in the case of tabs, the parent component is not equal to the parent QWidget. A misunderstanding of what "isEnabled" returns for the latter, resulted in this not getting properly updated in all cases.
Comment 3 Thomas Friedrichsmeier 2007-05-16 18:10:17 UTC
- **assigned_to**: nobody --> tfry
- **status**: open --> closed-fixed