ID 241826 - MARI_CHANNEL_PRESETS_SEARCHPATHS does not override preferences as expected

Follow

Problem summary
If you set the environment variable MARI_CHANNEL_PRESETS_SEARCHPATHS to point to a DefaultChannels.mtd file that has been customized, when creating a new channel and managing channels presets the default value still defaults to 'General' as opposed to the custom preset you specify

Customer reported version
3.1v3
Customer reported platform
Linux
Steps to reproduce

1) Assign the environment variable MARI_CHANNEL_PRESETS_SEARCHPATHS to the directory pointing to a custom channel presets file (see attached)

2) Launch Mari

3) On project creation note that the under the 'Category' the default is the standard shipped with Mari

Workaround
Delete your Default Channels file bundled with your Mari version and replace it with your custom one.

Reproduced by support
3.1v3, 3.1v2 and 3.1v1 on Centos 6.2

Expected behaviour
To default to my specified file

    We're sorry to hear that

    Please tell us why