Commit a7b4e5f
fix: click-outside polling, adaptive height, section reorder, Wayland crash fix
Python (launcher.pyw):
- Replace unreliable <FocusOut> with click-outside polling (150ms, atomic tuple)
- Adaptive window height from content (no hardcoded 400)
- Add Linux recent files support (recently-used.xbel)
- Move Clipboard section below Shortcuts
- Fix keyboard shortcut order to match visual layout
- Fix bare except: → except Exception: (known bug pattern)
Rust (app.rs):
- Move viewport resize outside CentralPanel closure (fixes SIGABRT on Wayland)
- Add 5-frame resize cooldown to prevent oscillation
- Replace frame-count focus threshold with has_been_focused flag
- Move Clipboard section below Shortcuts
- Apply dark_theme() only on first frame (was allocating every frame)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 091ecc0 commit a7b4e5f
4 files changed
Lines changed: 457 additions & 326 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
10 | 32 | | |
11 | 33 | | |
12 | 34 | | |
| |||
91 | 113 | | |
92 | 114 | | |
93 | 115 | | |
94 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
95 | 121 | | |
96 | 122 | | |
97 | 123 | | |
| |||
114 | 140 | | |
115 | 141 | | |
116 | 142 | | |
117 | | - | |
| 143 | + | |
118 | 144 | | |
119 | 145 | | |
120 | 146 | | |
| |||
182 | 208 | | |
183 | 209 | | |
184 | 210 | | |
185 | | - | |
186 | | - | |
187 | | - | |
| 211 | + | |
| 212 | + | |
188 | 213 | | |
189 | 214 | | |
190 | 215 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
24 | | - | |
25 | | - | |
26 | | - | |
| 22 | + | |
| 23 | + | |
27 | 24 | | |
28 | 25 | | |
29 | 26 | | |
| |||
63 | 60 | | |
64 | 61 | | |
65 | 62 | | |
66 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
0 commit comments