Commit ab3454e
committed
fix(window,onboarding): enforce min window size; add relaunch from welcome check
- Narrow-window layout breakage: the borderless window (decorations:false) was
not getting the OS WM_GETMINMAXINFO clamp, so live resizing dragged it below
the 900px design width and triggered the broken <=860 fallback layout. Assert
the minimum explicitly via set_min_size after the decorations are finalized so
the OS clamps interactive resizes (config minWidth alone wasn't honored for the
borderless window). Keeps the startup restored-size clamp as defense.
- Onboarding: the welcome 'running as administrator' check showed red with no
remedy. Added an inline 'Restart as admin' action on that row (reuses the
existing relaunch_as_admin command + handleRelaunch), so it can be fixed right
from the welcome step. CheckRow gained an optional inline action slot.1 parent cada7d8 commit ab3454e
4 files changed
Lines changed: 73 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
11 | 18 | | |
12 | 19 | | |
13 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2316 | 2316 | | |
2317 | 2317 | | |
2318 | 2318 | | |
| 2319 | + | |
| 2320 | + | |
| 2321 | + | |
| 2322 | + | |
| 2323 | + | |
| 2324 | + | |
| 2325 | + | |
| 2326 | + | |
| 2327 | + | |
| 2328 | + | |
2319 | 2329 | | |
2320 | 2330 | | |
2321 | 2331 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
265 | | - | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
266 | 281 | | |
267 | 282 | | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
268 | 288 | | |
269 | 289 | | |
270 | 290 | | |
| |||
395 | 415 | | |
396 | 416 | | |
397 | 417 | | |
398 | | - | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
399 | 430 | | |
400 | 431 | | |
401 | 432 | | |
402 | 433 | | |
403 | 434 | | |
404 | | - | |
| 435 | + | |
405 | 436 | | |
406 | 437 | | |
407 | 438 | | |
| |||
432 | 463 | | |
433 | 464 | | |
434 | 465 | | |
| 466 | + | |
435 | 467 | | |
436 | 468 | | |
437 | 469 | | |
| |||
469 | 501 | | |
470 | 502 | | |
471 | 503 | | |
| 504 | + | |
472 | 505 | | |
473 | 506 | | |
474 | 507 | | |
| |||
524 | 557 | | |
525 | 558 | | |
526 | 559 | | |
| 560 | + | |
527 | 561 | | |
528 | 562 | | |
529 | 563 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
165 | 183 | | |
166 | 184 | | |
167 | 185 | | |
| |||
0 commit comments