Prevent automatically switching between desktops while clicking on the application icon on the dock.
I didn't get what is the use of this option. When I turn it off if I click the application icon(on the dock) it's still switching to the other desktop(in which I have another open window of this app) instead of opening a new window on the current desktop. This behavior drives me crazy because sometimes I work on desktop #1 and throws me on desktop #N which can be somewhere at the end(If I use multiple desktops). Also, when I am sharing my screen it's very awkward because accidentally I am forced to share some unfamiliar content with people that are not related to it.
Is there any way to prevent such behavior?
MacBook Pro 16″, macOS 13.2