Commit 20be0c3
committed
Fix Linux window controls, menus, and shortcuts
- Move titleBarStyle: Overlay to runtime macOS-only code (was breaking GTK window controls)
- Build Linux menus from scratch instead of patching Menu::default()
- Add toPlatformShortcut() to convert ⌘⇧P → Ctrl+Shift+P on Linux
- Implement show_in_finder and open_in_editor for Linux via xdg-open
- Platform-aware labels ("Show in Finder" → "Show in file manager")
- Hide macOS-only menu items (Quick Look, Get Info) on Linux
New files: key-capture.test.ts, docs/specs/linux-ui-foundations.md1 parent b6e80f6 commit 20be0c3
10 files changed
Lines changed: 589 additions & 45 deletions
File tree
- apps/desktop
- src-tauri
- src
- commands
- src
- lib
- commands
- shortcuts
- routes/(main)
- docs/specs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
105 | 118 | | |
106 | | - | |
| 119 | + | |
107 | 120 | | |
108 | 121 | | |
109 | 122 | | |
| |||
170 | 183 | | |
171 | 184 | | |
172 | 185 | | |
173 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
174 | 194 | | |
175 | | - | |
| 195 | + | |
176 | 196 | | |
177 | 197 | | |
178 | 198 | | |
| |||
223 | 243 | | |
224 | 244 | | |
225 | 245 | | |
226 | | - | |
| 246 | + | |
227 | 247 | | |
228 | 248 | | |
229 | 249 | | |
230 | 250 | | |
231 | 251 | | |
232 | | - | |
| 252 | + | |
233 | 253 | | |
234 | 254 | | |
235 | 255 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
288 | 297 | | |
289 | 298 | | |
290 | 299 | | |
| |||
0 commit comments