If you click the taskbar button of the minimized window, does it
unminimize on the workspace you are currently on, or does it unminimize
on the workspace it was minimized from? (And if the latter, are you
switched to this workspace automatically?)
Since it's minimized, and thus not on any workspace currently, when it's restored it should be restored on the current workspace.