View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0025359 | Open CASCADE | OCCT:DRAW | public | 2014-10-13 14:29 | 2014-11-12 09:53 |
Reporter | Assigned To | bugmaster | |||
Priority | normal | Severity | trivial | ||
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | VC++ 2010 | ||
Product Version | 6.8.0 | ||||
Target Version | 6.8.0 | Fixed in Version | 6.8.0 | ||
Summary | 0025359: In Draw Test Harness: content of menu-items "Curves" and "Surfaces" is increased after each sample launching | ||||
Description | Content of menu-items "Curves" and "Surfaces" is increased after each demonstration launching from window "Samples" | ||||
Steps To Reproduce | 1. Run Draw Test Harness 2. Select menu-item "Samples" - "View samples" 3. In window "Samples" select "Modeling" - "CAD shape" and click "Run sample" 4. Verify content of menu-items "Curves" and "Surfaces" 5. Repeat steps 3-4 | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
|
Branch CR25359 has been created by isz. SHA-1: 17e6aefcc7d93f7ee1169e0f724ebfff3246ddcc Detailed log of new commits: Author: isz Date: Mon Oct 13 15:52:14 2014 +0400 0025359: In Draw Test Harness: content of menu-items "Curves" and "Surfaces" is increased after each sample launching Menus "Curves" and "Surfaces" are destroyed now (if they exist) before displaying. |
|
Dear Andrey, branch CR25359 is ready for review. Please note, that this problem can be reproduced even in master branch by calling "pload MODELING" several times. So it seems to me, it is not the child of 0025231. Thank you! |
|
The fix seems Ok, just could you avoid instantiating global variable? I mean the line "set m $theMenus(Curves)" I confirm that the problem can be reproduced by calling several times 'pload MODELING' on earlier releases of OCCT (I have tried 6.7.1). |
|
Branch CR25359 has been updated forcibly by isz. SHA-1: 1c9fccff944c9e2b63fe22e99011ee2da3b90828 |
|
"Avoid instantiating global variable" like this? |
|
No remarks, please integrate (no compilation nor grid testing is required) |
|
Branch CR25359 has been deleted by inv. SHA-1: 1c9fccff944c9e2b63fe22e99011ee2da3b90828 |
occt: master 196b0148 2014-10-13 12:41:00
Committer: bugmaster Details Diff |
0025359: In Draw Test Harness: content of menu-items "Curves" and "Surfaces" is increased after each sample launching Menus "Curves" and "Surfaces" are destroyed now (if they exist) before displaying. |
Affected Issues 0025359 |
|
mod - src/DrawResources/CURVES.tcl | Diff File | ||
mod - src/DrawResources/SURFACES.tcl | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-10-13 14:29 |
|
New Issue | |
2014-10-13 14:29 |
|
Assigned To | => isz |
2014-10-13 14:30 |
|
Test case number | => Not needed |
2014-10-13 14:30 |
|
Relationship added | child of 0025231 |
2014-10-13 14:53 |
|
Status | new => assigned |
2014-10-13 14:53 |
|
Target Version | => 6.8.0 |
2014-10-13 15:57 | git | Note Added: 0033018 | |
2014-10-13 16:06 |
|
Note Added: 0033019 | |
2014-10-13 16:06 |
|
Assigned To | isz => abv |
2014-10-13 16:06 |
|
Status | assigned => resolved |
2014-10-13 16:24 |
|
Note Added: 0033021 | |
2014-10-13 16:24 |
|
Assigned To | abv => isz |
2014-10-13 16:24 |
|
Status | resolved => assigned |
2014-10-13 16:41 | git | Note Added: 0033022 | |
2014-10-13 16:41 |
|
Assigned To | isz => abv |
2014-10-13 16:41 |
|
Status | assigned => resolved |
2014-10-13 16:43 |
|
Note Added: 0033023 | |
2014-10-16 21:25 |
|
Note Added: 0033235 | |
2014-10-16 21:25 |
|
Assigned To | abv => bugmaster |
2014-10-16 21:25 |
|
Status | resolved => reviewed |
2014-10-17 15:27 |
|
Status | reviewed => tested |
2014-10-24 15:38 | bugmaster | Changeset attached | => occt master 196b0148 |
2014-10-24 15:38 | bugmaster | Status | tested => verified |
2014-10-24 15:38 | bugmaster | Resolution | open => fixed |
2014-11-11 12:43 |
|
Fixed in Version | => 6.8.0 |
2014-11-11 13:02 |
|
Status | verified => closed |
2014-11-12 09:53 | git | Note Added: 0034316 |