# Buttons in Plugin property panel disapear in ParaView5.10

**URL:** https://discourse.paraview.org/t/buttons-in-plugin-property-panel-disapear-in-paraview5-10/8777
**Category:** Development
**Created:** [January 14, 2022, 6:34am UTC](https://discourse.paraview.org/t/buttons-in-plugin-property-panel-disapear-in-paraview5-10/8777 "2022-01-14T06:34:21Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![ymjia](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/ccd318/32.png) [@ymjia](https://discourse.paraview.org/u/ymjia)
#### Post date: [January 14, 2022, 6:34am UTC](https://discourse.paraview.org/t/buttons-in-plugin-property-panel-disapear-in-paraview5-10/8777/1 "2022-01-14T06:34:21Z")

</div>

I have a plugin Reader reading file and running some algorithm, in the property panel, there is a button to reload some value, servermanager xml like this:

```auto
<SourceProxy name="MyDecoder" class = "MyDecoder" label="MyDecoder">
...

<Property command="Modified" label="ReRun" 
          panel_widght="command_button" panel_visibility="always">
  <Documentation> Re run algorithm to reload parameter </Documentation>
</Property>

...
</SourceProxy>

```

This plugin works well in ParaView5.7，I have just update to ParaView5.10，Plugin compile pass and all works as expected except the “ReRun” button does not show on the property panel.

So, Is there some update for Servermanager XML I need to adjust?

Thanks!

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [January 14, 2022, 8:55am UTC](https://discourse.paraview.org/t/buttons-in-plugin-property-panel-disapear-in-paraview5-10/8777/2 "2022-01-14T08:55:37Z")

</div>

This is a bug: [https://gitlab.kitware.com/paraview/paraview/-/issues/21173](https://gitlab.kitware.com/paraview/paraview/-/issues/21173)

A work around is to use this syntax instead, the behavior is not exactly the same.

```
  <Property command="Modified"
            name="Rerun"></Property>
```

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [January 14, 2022, 4:16pm UTC](https://discourse.paraview.org/t/buttons-in-plugin-property-panel-disapear-in-paraview5-10/8777/3 "2022-01-14T16:16:44Z")

</div>

`panel_visibility="always"` is invalid. The old code was more forgiving, the new one isn’t. Use `panel_visibility="default"` or just remove that attribute.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [January 14, 2022, 4:21pm UTC](https://discourse.paraview.org/t/buttons-in-plugin-property-panel-disapear-in-paraview5-10/8777/4 "2022-01-14T16:21:16Z")

</div>

Easy fix then, MR incoming.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [January 17, 2022, 9:21am UTC](https://discourse.paraview.org/t/buttons-in-plugin-property-panel-disapear-in-paraview5-10/8777/5 "2022-01-17T09:21:21Z")

</div>

[https://gitlab.kitware.com/paraview/paraview/-/merge\_requests/5458](https://gitlab.kitware.com/paraview/paraview/-/merge_requests/5458)
