When opening or closing a file in MacDown on a secondary monitor while there's an application in full-screen on the primary monitor, macOS will switch to desktop on the monitor with the full-screen app, but only if it's the primary monitor.
Steps to Reproduce:
multi-monitor setup.
put any application into full-screen on primary monitor (my primary monitor is monitor 3. I used Sketch)
have a finder window open in non-fullscreen on the secondary monitor (my ID flor this is 1)
In Finder, make sure that .md files open with MacDown (⌘ + I a .md file, select MacDown under "Open with:" and click "Change All..."
double-click a MacDown file that's not already open
→ You'll see that it'll change the stage on the other monitor to the desktop
swipe back to whatever application you had open in full-screen on the primary monitor.
close the .md file again on the secondary monitor
→ you'll see that the main monitor will switch to desktop again.
Expected Behavior:
behavior should be like TextEdit where it doesn't affect other spaces and window will just open on whatever the display the finder window was that the file was opened from. Closing a window shouldn't affect any spaces.
When opening or closing a file in MacDown on a secondary monitor while there's an application in full-screen on the primary monitor, macOS will switch to desktop on the monitor with the full-screen app, but only if it's the primary monitor.
Steps to Reproduce:
→ You'll see that it'll change the stage on the other monitor to the desktop
→ you'll see that the main monitor will switch to desktop again.
Expected Behavior:
behavior should be like TextEdit where it doesn't affect other spaces and window will just open on whatever the display the finder window was that the file was opened from. Closing a window shouldn't affect any spaces.
Tested On:
MacDown 0.7.2 (1008) macOS Sonoma 14.1.1