On master branch, Cmd+Q doesn't quit app, but emits warning instead
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 9.7k
- Forks
- 565
- PR merge metrics
- No merged PRs in 30d
Description
I recently switched from v0.7.0 to master. I recognized that Cmd+Q does not quit the app anymore. This happens not only in my project but also in the example (at least, flex example). Instead, it emits a warning every time I submit the keystroke, apparently related to OS layer:
cargo run --example flex
2021-04-10 13:37:22.456 flex[74291:7719784] +[NSView doCommandBySelector:]: unrecognized selector sent to class 0x7fff885efa08
This happens only in master. In v0.7.0, I can quit the app with Cmd+Q without any warning.
Environment
- druid master (2c5d73c8426f90d2a1ede9fdd3b5cb7bee57f108)
- macOS Big Sur 11.2.3 (Intel)
I can provide further environmental information if needed.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Run cargo run --example flex on macOS and reproduce the Cmd+Q behavior, comparing it with v0.7.0. Trace the macOS event handling reached by the flex example; done means Cmd+Q quits the app without emitting the reported warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100