ID 486549 - If Mari is exited with an expanded Canvas, the [SPACE] hotkey appears to 'reset' the layout

Follow

Problem summary
If Mari is exited with an expanded Canvas, the [SPACE] hotkey appears to 'reset' the layout

Customer reported version
Mari 4.7v4

Customer reported platform
Multiple

Steps to reproduce

1) Open any project

2) Move the mouse cursor over the Canvas and press [SPACE] to expand it

3) Save the Project and exit Mari

4) Launch Mari and open the Project

5) Spawn and dock some Palettes to create a custom layout

6) Move the mouse cursor over the Canvas and press [SPACE]

7) Press [SPACE] again

Expected behaviour
The Canvas should be maximised after pressing space in step 6. Pressing [SPACE] again should then revert to the custom layout.

Actual behaviour
Step 6 maximises the Canvas, but pressing [SPACE] again has no effect.

Workaround
The layout can be reset to default by clicking View > Default Layout

Reproduced by support
This bug has been reproduced in:
Mari 4.7v4 - Windows 10 - CentOS 7.7
Mari 4.7v3 - Windows 10 - CentOS 7.7 - regression

Unable to reproduce bug in:
Mari 4.7v2 - Windows 10 - CentOS 7.7

Earliest version tested
Mari 4.7v2 - This issue doesn't appear in this version and has regressed


    We're sorry to hear that

    Please tell us why