View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0016020ParaView(No Category)public2016-03-04 16:152016-06-30 14:44
ReporterCory Quammen 
Assigned ToCory Quammen 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version5.0 
Target VersionFixed in Version5.1 
Summary0016020: Repeatable vector properties, such as color map annotations, are not restored to default.
DescriptionTo reproduce:
- Start PV, local server
- Load bake.e
- Open Color Map Editor. The annotations will be populated with block numbers.
- Click "Restore application default setting values for color map"
- The color map will change and the "Interpret Values As Categories" option will be unchecked, but the annotated values and labels will remain unchanged where they should be cleared.

Another way to reproduce:
- Start PV, local server
- Create wavelet
- Add Contour filter
- Add range of values to Contour filter (default settings are fine). Apply.
- Under "Properties (Contour1)", click the "Restore application default setting values". The range of contour values remains unchanged, but it should be reset to one value which is halfway between the data range.
TagsNo tags attached.
ProjectSandia
Topic Name16020_restore_repeatable_defaults
Typeincorrect functionality
Attached Files

 Relationships
child of 0015860closedCory Quammen Restore annotation is totally broken 

  Notes
(0036028)
Cory Quammen (developer)
2016-05-31 05:29

Oops, this was fixed a while ago:

commit 743036cec51232fc847438ce09ed85a9fcf7d822
Author: Cory Quammen <cory.quammen@kitware.com>
Date: Fri Mar 4 15:39:48 2016 -0500

    BUG 0016020: restore defaults for repeatable vector properties
    
    Repeatable vector properties were not being restored when
    vtkSMProperty::RestoreToXMLDefaults() was called because no defaults
    for such properties are typically defined in the proxy XML. This patch
    handles this case by clearing out the vector elements, setting the
    size to zero.

Note that the color map settings in particular are still not restored in a sensible way, but that is a separate issue from the repeatable property problem this commit fixes.
(0036128)
Alan Scott (manager)
2016-06-30 14:44

Tested master, Linux, remote server.

 Issue History
Date Modified Username Field Change
2016-03-04 16:15 Cory Quammen New Issue
2016-03-04 16:15 Cory Quammen Assigned To => Cory Quammen
2016-03-04 16:16 Cory Quammen Relationship added child of 0015860
2016-03-04 17:02 Cory Quammen Status backlog => active development
2016-05-31 05:29 Cory Quammen Note Added: 0036028
2016-05-31 05:30 Cory Quammen Topic Name => 16020_restore_repeatable_defaults
2016-05-31 05:30 Cory Quammen Status active development => gatekeeper review
2016-05-31 05:30 Cory Quammen Fixed in Version => 5.1
2016-05-31 05:30 Cory Quammen Resolution open => fixed
2016-06-17 00:00 Utkarsh Ayachit Status gatekeeper review => customer review
2016-06-30 14:44 Alan Scott Note Added: 0036128
2016-06-30 14:44 Alan Scott Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team