logseq / logseq/db-test

Window minimising doesn't work on Mac `Command + M`

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

Nobody has claimed this yet.

Dominant language
No language data
Stars
28
Forks
2
PR merge metrics
No merged PRs in 30d

Description

### Search first

- [x] I searched and no similar issues were found

### What Happened?

minimising a window, ie with `Command + M` doesnt seem to work with Logseq DB. I tried to reset the hotkey (it has a different function in the keymap and got this error)

original keybind -
Image

when i tried to clear it to let the system command work -
Image

This was done on a fresh install of Logseq 2.0.1 on macOS Tahoe 26.5.2, with an empty graph.

### Reproduce the Bug

1. Make sure the Logseq windows is active, and the menu bar show logseq next to the Apple Logo
2. Press `Command + M` on your keyboard. The window should not minimise.
3. Hit `Command + ,` to open logseq settings
4. Scroll to keybinds and then filter by keybind `Command + M`
5. It should be used by 'Open publish dialogue for current page'
6. Try to clear it by clicking on the keybind and hitting `Backspace`
7. It should give you a write error in config/config.edn, saying it doesnt exist

Even if you navigate to settings and click `edit config.edn`, in an attempt to create the file to mitigate the file not found error, it still does not cause the keybind issue to be solvable.

### Expected Behavior

The window should minimise into the dock when i press `Command + M`, like all macOS apps.

### Screenshots

_No response_

### Desktop or Mobile Platform Information

macOS Tahoe 26.5.2
Logseq DB 2.0.1

### Additional Context

_No response_

### Are you willing to submit a PR? If you know how to fix the bug.

- [ ] I'm willing to submit a PR (Thank you!)

Contributor guide

No contributing guide indexed for this repository

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

Start by reproducing the Command+M behavior on macOS Tahoe with Logseq DB 2.0.1 and an empty graph. Inspect the Command+M keybind for “Open publish dialogue for current page” and the mentioned config/config.edn editing path. Done means Command+M minimizes the window and clearing the conflicting binding no longer produces a config file write error.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.