ID 518225 - Check Selected/Uncheck Selected in the Export Manager doesn't work on multi-selections and can crash Mari

Follow

Problem summary
Check Selected/Uncheck Selected in the Export Manager doesn't work on multi-selections and can crash Mari
 
The crash occurs much more frequently on Windows than Linux, but affects both OSs
 
Customer reported version
Mari 5.0v4
 
Customer reported platform
n/a
 
Steps to reproduce
 
1) Open an Example Project 
 
On Windows:
2) Open the Export Manager
 
3) Press Ctrl+A to select all Export Items
 
4) Right-click and select 'Check Selected'
 
On Linux:
2) Create 10 new Channels
 
3) Open the Export Manager
 
4) Add all the Channels as Export Items if they are not already present
 
5) Press Ctrl+A to select all Export Items
 
6) Right-click and select 'Uncheck Selected'
 
7) If Mari does not crash, repeat steps 2-7
 
NOTE: On Linux, the steps above seem to be the most reliable way to cause the crash, but it also sporadically occurs while running either 'Uncheck Selected' or 'Check Selected' on any multi-selection of Export Items. 
 
Expected behaviour
When running 'Uncheck Selected' on a multi-selection, all selected Export Items should be unchecked. 
Mari should not crash.
 
Actual behaviour
Running 'Uncheck Selected' on a multi-selection of Export Items only unchecks one Item. 
Mari often crashes while running 'Check Selected or 'Uncheck Selected'.
 
Workaround
Unknown.
 
Reproduced by support
This bug has been reproduced in:
Mari 5.0v4 - Windows 10 - CentOS 7.9
Mari 4.8v1 - Windows 10 - CentOS 7.9 - regression
 
Unable to reproduce bug in:
Mari 4.7v7 - Windows 10 - CentOS 7.9
 
 
Earliest version tested
Mari 4.7v7 - This issue doesn't appear in this version and has regressed
 
 

    We're sorry to hear that

    Please tell us why