MantisBT - ParaView | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0013833 | ParaView | (No Category) | public | 2013-01-29 19:21 | 2016-08-12 09:59 | |||||
Reporter | Alan Scott | |||||||||
Assigned To | Kitware Robot | |||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | |||||
Status | closed | Resolution | moved | |||||||
Platform | OS | OS Version | ||||||||
Product Version | git-master | |||||||||
Target Version | Fixed in Version | |||||||||
Project | Sandia | |||||||||
Topic Name | ||||||||||
Type | incorrect functionality | |||||||||
Summary | 0013833: ProgressHandler - spyPlotReader is broken | |||||||||
Description | Progress handler code in the spyplot (CTH) reader is broken. In files vtkSpyPlotReader.cxx and vtkSpyPlotBlockIterator.cxx, the calls to UpdateProgress do not coordinate with each other. This means that progress goes from 0.0 to 0.2, then from 0.04 to 0.4, then from 0.6 to 1.0. This is obviously incorrect. Another related bug, in the same code, is that for multiple servers, the code counts wrong. In the following code: this->Parent->UpdateProgress(0.2 * (file_index+1.0)/numFiles); numFiles is the number of files handled by this process, and file_index is the file number that all processes are handling. For instance, if the second pvserver is handling 4 files, numFiles will == 4, and file_index will go 5,6,7 and then 8. This gives a progress that is over 1.0 (and is illegal). Suggested correction (just fixing the file_index issue) would be: vtkSpyPlotBlockIterator.cxx, line 227, should be: this->Parent->UpdateProgress(0.2 * (file_index+1.0)/numFiles); to this->Parent->UpdateProgress(0.2 * (file_index-this->FileStart+1.0)/ numFiles); Be sure to check the rest of the two SpyPlot reader files for the same bug. | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | ||||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2013-01-29 19:21 | Alan Scott | New Issue | ||||||||
2013-01-29 21:49 | Alan Scott | Relationship added | child of 0013831 | |||||||
2013-02-07 16:11 | Alan Scott | Note Added: 0030324 | ||||||||
2016-08-12 09:59 | Kitware Robot | Note Added: 0038324 | ||||||||
2016-08-12 09:59 | Kitware Robot | Status | backlog => closed | |||||||
2016-08-12 09:59 | Kitware Robot | Resolution | open => moved | |||||||
2016-08-12 09:59 | Kitware Robot | Assigned To | => Kitware Robot |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|