MacDownApp / MacDownApp/macdown

forced to desktop when opening or closing app in MacDown

Open
#1,330 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rich Text Format
Stars
9.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

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.

# Tested On:

MacDown 0.7.2 (1008)
macOS Sonoma 14.1.1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with MacDown 0.7.2 on macOS Sonoma using a primary-monitor full-screen app and a secondary-monitor Finder window. Investigate the app's window-opening and window-closing behavior across displays and Spaces. Done means opening and closing a Markdown file leaves other displays and full-screen Spaces unchanged, like TextEdit.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, objective-c
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.