Bug 380681 - Failure to update nested enabledness properly
Summary: Failure to update nested enabledness properly
Status: RESOLVED FIXED
Alias: None
Product: rkward
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified All
: NOR normal
Target Milestone: ---
Assignee: RKWard Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-08 17:49 UTC by Thomas Friedrichsmeier
Modified: 2007-05-16 18:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Testcase (1.42 KB, application/x-tar)
2007-03-08 17:49 UTC, Thomas Friedrichsmeier
Details

Note You need to log in before you can comment on or make changes to this bug.
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:

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

> That's strange, indeed. Interestingly, if you set ECDF to be the default
> mode, it works correctly. Almost certainly a bug on the C++ side. I'll look
> 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