Commit 011b6ac
committed
🤖 fix: Cmd+Q now properly quits app on macOS
The menu structure was not following Electron's standard pattern for macOS,
causing Cmd+Q to not trigger the quit action.
On macOS, the standard pattern is:
- App menu: Contains 'quit' (Cmd+Q)
- File menu: Contains 'close' (Cmd+W)
- Window menu: Contains 'minimize', 'zoom', 'front' (NOT 'close')
Previously we had 'close' in the Window menu which may have interfered with
Electron's accelerator registration. Now we follow the official Electron
documentation pattern, placing 'close' in the File menu on macOS.
Fixes #11001 parent e9d5a93 commit 011b6ac
1 file changed
+24
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
146 | 159 | | |
147 | 160 | | |
148 | 161 | | |
| |||
182 | 195 | | |
183 | 196 | | |
184 | 197 | | |
185 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
186 | 209 | | |
187 | 210 | | |
188 | 211 | | |
| |||
0 commit comments