[Paraview] Fwd: Problem with all in one/separated panels

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Thu Nov 13 11:01:40 EST 2014


Here's the bug: http://www.paraview.org/Bug/view.php?id=15126
Patch attached. Thanks for reporting this.

Utkarsh

On Thu, Nov 13, 2014 at 10:31 AM, Utkarsh Ayachit
<utkarsh.ayachit at kitware.com> wrote:
> Found it...I'll send a patch soon.
>
> On Thu, Nov 13, 2014 at 10:15 AM, Utkarsh Ayachit
> <utkarsh.ayachit at kitware.com> wrote:
>> I can reproduce it. I am flummoxed too. Looking into it.
>>
>> On Thu, Nov 13, 2014 at 6:03 AM, Federico Veronesi
>> <f.veronesi at scsitaly.com> wrote:
>>> Dear Paraview users,
>>>
>>> I found an unexpected behavior in Paraview 4.2.
>>> When I set separated panels or other options except the combined one, I
>>> don't get what it is expected and 6 grayed button (restore, update) appear.
>>>
>>> I think I fixed it by adding the following lines to pqPropertiesPanel.cxx in
>>> the setPanelMode method:
>>>
>>>   // added to avoid unwanted update restore buttons
>>>
>>>   this->Internals->Ui.PropertiesSaveAsDefaults->setVisible(has_source);
>>>
>>>   this->Internals->Ui.PropertiesRestoreDefaults->setVisible(has_source);
>>>
>>>   this->Internals->Ui.DisplaySaveAsDefaults->setVisible(has_display);
>>>
>>>   this->Internals->Ui.DisplayRestoreDefaults->setVisible(has_display);
>>>
>>>   this->Internals->Ui.ViewSaveAsDefaults->setVisible(has_view);
>>>
>>>   this->Internals->Ui.ViewRestoreDefaults->setVisible(has_view);
>>>
>>>
>>> Moreover I modified the paraview main window to setup the panels. i.e. for
>>> ALL_SEPARATE:
>>>
>>>     case vtkPVGeneralSettings::ALL_SEPARATE:
>>>
>>>         this->Internals->propertiesPanel->setPanelMode(
>>> pqPropertiesPanel::SOURCE_PROPERTIES);
>>>
>>> // added
>>>
>>>         this->Internals->viewPropertiesPanel->setPanelMode(
>>> pqPropertiesPanel::VIEW_PROPERTIES);
>>>
>>>
>>> this->Internals->displayPropertiesPanel->setPanelMode(pqPropertiesPanel::DISPLAY_PROPERTIES);
>>>
>>>
>>>
>>> It works at start up, but when I use more than one source the display panel
>>> doesn't show any property when switching from one source to another.
>>>
>>> Do you know what can cause this behavior and how to possibly solve it?
>>>
>>>
>>> Thank you
>>>
>>>
>>> Federico
>>>
>>>
>>> P.S. sorry if I sent this mail previously on paraview-developers, but may be
>>> it was the wrong list.
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the ParaView Wiki at:
>>> http://paraview.org/Wiki/ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/paraview
>>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-BUG-15126-Fix-issues-with-separated-properties-displ.patch
Type: text/x-patch
Size: 2654 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20141113/1d0e9f49/attachment.bin>


More information about the ParaView mailing list