ID 457390 - The mari.palette.setVisibility() deprecation message suggests using setVisibile()

Follow

Problem summary
The mari.palette.setVisibility() deprecation message suggests using setVisibile() instead, which is spelt incorrectly. 

"DeprecatedWarning: [mari.Palette.setVisibility()] This function will be removed in a future version. Please use setVisibile() instead."


The correct function to use is setVisible().


Customer reported version
Mari 4.6v4


Customer reported platform
CentOS 7


Steps to reproduce

1) Open Mari.


2) Open the Python Console. 

3) Paste the following code into the Python Console and click Evaluate:

mari.palettes.list()[0].setVisibility(0)


Expected behaviour
The deprecation message should suggest using  setVisible() instead.


Actual behaviour
The deprecation message suggests using setVisibile() instead, which is spelt incorrectly.

"DeprecatedWarning: [mari.Palette.setVisibility()] This function will be removed in a future version. Please use setVisibile() instead."


Workaround
Use the setVisible() function instead.


Reproduced by support

This bug has been reproduced in:
Mari 4.6v2 - Windows 10

Mari 4.5v1 - Windows 10

Mari 4.2v2 - Windows 10


Unable to reproduce bug in:
4.0v1 - Windows 10


Earliest version tested
Mari 4.0v1 
- The setVisibility() function was not deprecated in this version.


    We're sorry to hear that

    Please tell us why