https://bugs.winehq.org/show_bug.cgi?id=50424
--- Comment #4 from David Paradis david.paradis@us.abb.com --- (In reply to Piotr Caban from comment #3)
It's fixed in git://source.winehq.org/git/wine.git repository (master branch). The fix will be available in upcoming wine 6.2 release (to be released on Feb 12th).
ok. That won't help me as we are not upgrading our devices to use the latest version of Wine as it is a huge deal to do that. I will just leave the fix that I have implemented as it is working for what we need.
If we do ever upgrade to the latest at least I know it will be fixed and I won't encounter this issue again.
Again, thank you.