View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0022974 | Open CASCADE | OCCT:Visualization | public | 2012-02-02 13:58 | 2014-05-05 13:38 |
Reporter | vro | Assigned To | |||
Priority | low | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | VC++ 2005 | ||
Product Version | 6.5.0 | ||||
Target Version | 6.7.1 | Fixed in Version | 6.7.1 | ||
Summary | 0022974: A crash on dragging a dimension for an object with a big coordinate | ||||
Description | A diameter or a radius dimension crashes on attempt to drag it if a coordinate of the dimension is very great, for example X = 1e18 mm. | ||||
Steps To Reproduce | A scenario to reproduce: 1. Create a circle with radius = 1 and X = 1e18; 2. Display a diameter or a radius dimension in the viewer 3d; 3. Drag the dimension by mouse -> Crash. The test case for diameter and radius dimensions: vpoint p1 0 0 30 vpoint p2 30 0 0 vpoint p3 60 0 30 vcircle circle p1 p2 p3 0 # create radius dimension vdimension radius name=dim circle # For diameter dimension use command below #vdimension diameter name=dim circle vdisplay dim vzoom 0.05 vpan -150 150 vmovedim dim # press ctrl and press new text position vfit | ||||
Tags | No tags attached. | ||||
Test case number | No opportunity to create test case | ||||
|
Dear Kirill, Review please my changes in 22974. There are some minor changes in: AIS_RadiusDimension.cxx AIS_DiameterDimension.cxx DsgPrs_DiameterPresentation.cxx Select3D_SensitiveTriangulation.cxx There are just small checks on validity of data (null vector, colinear vectors, ...). |
|
2vro, please avoid meaningless commit description like 'A fix of the bug' and emotional comments in it like 'Code duplication is removed. Thank you! :-)'! Dear Bugmaster, please test the patch. |
|
Dear BugMaster, Workbench KAS:dev:apn-22974-occt was created from SVN branch http://svn/svn/occt/branches/22974 (and apn-22974-products from trunk) and compiled on Linux and WIndows platforms. There are not regressions in apn-22974-products regarding to KAS:dev:products-20120203-opt Unstable test cases: che 003 C3 chl 929 L5 Commands "vradiusdim" and "vdiameterdim" dont'work. That's why we don't have any opportunity to reproduce and check this fix. See results in /QADisk/occttests/results/KAS/dev/ apn-22974-products_06022012/lin See reference results in /QADisk/occttests/results/KAS/dev/products-20120203-opt_03022012/lin See test cases in /QADisk/occttests/tests/ED |
|
Fix will not be verified till DRAW command vradiusdim, vdiameterdim and etc will be debugged. |
|
Vlad, DRAW command vradiusdim, vdiameterdim and etc must be debugged in order to check fix |
|
Dear bugmaster, What time in HRMT might I use to perform this job? |
|
Usually it is the same as for the bug correction itself. Creation/debugging of necessary DRAW commands is always implied. |
|
Dear Vlad, Please finalize the fix during this week to ensure it can be taken to OCCT 6.5.3 |
|
The draw-command vradiusdim is corrected. The modified file ViewerTest_ViewerCommands.cxx is put into a branch http://svn/svn/occt/branches/22974 |
|
Please move the changes to Git and correct comparisons of vector to zero in AIS_DiameterDimension.cxx:193 and DsgPrs_DiameterPresentation.cxx:60: square distance should be compared to squared tolerance |
|
The branch is successfully moved to Git + the comparison operation is corrected. |
|
The branch name in Git is CR22974. |
|
No remarks, please test |
|
Dear BugMaster, Workbench KAS:dev:apn-22974-1-occt was created from git branch CR22974(and apn-22974-1-products from svn trunk) and compiled on Linux platform. There are not regressions in apn-22974-1-products regarding to KAS:dev:products-20120415-opt There are not improvements in apn-22974-1-products regarding to KAS:dev:products-20120415-opt Draw commands vradiusdim, vdiameterdim and etc still crash on dragging a dimension for an object even with a small coordinate See results in /QADisk/occttests/results/KAS/dev/apn-22974-1-products_14052012/lin See reference results in /QADisk/occttests/results/KAS/dev/products-20120415-opt_13042012/lin See test cases in /QADisk/occttests/tests/ED |
|
Selection of circles is corrected so that the draw-commands vradiusdim and vdiameterdim are able to select the edges for visualization of the dimensions. |
|
The bug depends on 23159. Just it is fixed, testing will be possible. |
|
More than an year has passed since this bug was registered. Even more, the fix was put immediately the same date, but... the fix is not integrated into Open CASCADE yet. What do we wait, the end of the world? |
|
Vlad, the last report by apn (0022974:0020535) indicate that the reported problem has not been fixed ("commands vradiusdim, vdiameterdim and etc still crash"), and you indicated in 0022974:0020616 that this fix requires 0023159. The latter has not been fixed yet due to low priority. If this issue is important for you, you are welcome to provide the fix. |
|
Dear Bugmaster, This issue was fixed in the scope of the issue 0024412. Please test it. |
|
The issue was fixed in the scope of the issue 0024412. |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-02-02 13:58 | vro | New Issue | |
2012-02-02 13:58 | vro | Assigned To | => vro |
2012-02-02 15:15 | vro | Note Added: 0019359 | |
2012-02-02 15:15 | vro | Assigned To | vro => kgv |
2012-02-02 15:15 | vro | Status | new => resolved |
2012-02-02 16:47 | kgv | Note Added: 0019363 | |
2012-02-02 16:47 | kgv | Assigned To | kgv => bugmaster |
2012-02-02 16:47 | kgv | Status | resolved => reviewed |
2012-02-07 13:28 | apn | Note Added: 0019432 | |
2012-02-07 15:29 | apn | Note Edited: 0019432 | |
2012-02-07 15:30 | apn | Test case number | => No opportunity to create test case |
2012-02-07 15:30 | apn | Status | reviewed => tested |
2012-02-10 17:34 | bugmaster | Note Added: 0019519 | |
2012-02-22 11:31 | bugmaster | Note Added: 0019716 | |
2012-02-22 11:31 | bugmaster | Assigned To | bugmaster => vro |
2012-02-22 11:31 | bugmaster | Status | tested => feedback |
2012-02-22 11:35 | vro | Note Added: 0019718 | |
2012-02-22 11:35 | vro | Status | feedback => assigned |
2012-02-22 16:13 |
|
Note Added: 0019737 | |
2012-03-12 07:40 |
|
Note Added: 0019922 | |
2012-03-12 07:40 |
|
Status | assigned => feedback |
2012-03-14 10:21 | vro | Note Added: 0019963 | |
2012-03-14 10:21 | vro | Status | feedback => assigned |
2012-03-14 10:21 | vro | Assigned To | vro => bugmaster |
2012-03-14 10:21 | vro | Status | assigned => resolved |
2012-05-12 17:17 |
|
Assigned To | bugmaster => abv |
2012-05-12 17:29 |
|
Note Added: 0020522 | |
2012-05-12 17:29 |
|
Assigned To | abv => vro |
2012-05-12 17:29 |
|
Status | resolved => assigned |
2012-05-14 12:13 | vro | Note Added: 0020525 | |
2012-05-14 12:14 | vro | Assigned To | vro => |
2012-05-14 12:14 | vro | Assigned To | => abv |
2012-05-14 12:15 | vro | Note Added: 0020526 | |
2012-05-14 15:10 | vro | Status | assigned => resolved |
2012-05-14 15:14 |
|
Note Added: 0020528 | |
2012-05-14 15:14 |
|
Assigned To | abv => vro |
2012-05-14 15:14 |
|
Status | resolved => reviewed |
2012-05-14 16:58 | apn | Assigned To | vro => apn |
2012-05-15 12:06 | apn | Note Added: 0020535 | |
2012-05-15 12:07 | apn | Assigned To | apn => vro |
2012-05-15 12:07 | apn | Status | reviewed => assigned |
2012-05-16 10:11 | vro | Note Added: 0020538 | |
2012-05-16 16:26 | vro | Relationship added | parent of 0023159 |
2012-05-31 09:42 |
|
Target Version | 6.5.3 => 6.5.4 |
2012-05-31 09:43 | vro | Note Added: 0020616 | |
2012-09-03 09:18 | vro | Assigned To | vro => san |
2012-10-02 14:56 | bugmaster | Project | Internal => Open CASCADE |
2012-10-21 11:41 |
|
Target Version | 6.5.4 => 6.6.0 |
2013-02-26 18:43 |
|
Target Version | 6.6.0 => 6.7.0 |
2013-04-18 15:10 | vro | Note Added: 0024207 | |
2013-04-18 15:39 |
|
Note Added: 0024208 | |
2013-11-28 16:17 |
|
Target Version | 6.7.0 => 6.7.1 |
2013-11-29 18:41 |
|
Assigned To | san => aba |
2014-02-12 11:50 |
|
Steps to Reproduce Updated | |
2014-02-12 11:53 |
|
Note Added: 0027853 | |
2014-02-12 11:53 |
|
Assigned To | aba => bugmaster |
2014-02-12 11:53 |
|
Status | assigned => feedback |
2014-02-27 18:05 | bugmaster | Assigned To | bugmaster => aba |
2014-02-27 18:05 | bugmaster | Status | feedback => tested |
2014-02-27 18:05 | bugmaster | Note Added: 0028055 | |
2014-02-27 18:05 | bugmaster | Status | tested => verified |
2014-02-27 18:05 | bugmaster | Resolution | open => fixed |
2014-05-05 13:34 |
|
Status | verified => closed |
2014-05-05 13:38 |
|
Fixed in Version | => 6.7.1 |