diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-25 03:03:15 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-25 03:03:15 -0500 |
| commit | 0a0238b41467d769dfc1a9aed8a77eaf1b761892 (patch) | |
| tree | fa7f61c871b144b8457b6c7cee33c9f6ad4ee99a | |
| parent | 46baacb963938cac4b657486f14fda0ca6d00f91 (diff) | |
| download | archsetup-0a0238b41467d769dfc1a9aed8a77eaf1b761892.tar.gz archsetup-0a0238b41467d769dfc1a9aed8a77eaf1b761892.zip | |
docs(todo): log verified worldclock bad-timezone-row bug
Sentry found that waybar-worldclock crashes its whole tooltip render on a single malformed timezone row in worldclock.conf. Graded P4 [#D] (minor x rare), with repro and fix sketch.
| -rw-r--r-- | todo.org | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -751,6 +751,14 @@ From the roam inbox (Craig, 2026-07-25). Screenshot: =~/pictures/screenshots/202 2. Highlight that wallpaper as selected in the scrollable pane while it shows in the preview. 3. Keep the scroll position when a picture is selected. Today selecting a picture snaps the scroll back to the top, which is the bug half of this. Grade: minor scroll-reset defect x every panel selection = P3 = [#C]; the open-at-current and select-current behaviors are enhancements at the same level. One type tag, so filed =:feature:= with the scroll-reset called out as the bug. Solo: buildable in the settings GTK panel, agent-verifiable via headless capture plus the wallpaper.py tests, no design call — swww query gives the current wallpaper, and scroll-position preservation and row selection are standard GTK. +** TODO [#D] Worldclock tooltip blanks on one bad timezone row :bug:dotfiles:waybar:quick:solo: +:PROPERTIES: +:LAST_REVIEWED: 2026-07-25 +:END: +Found by sentry (2026-07-25), verified by exercising. =hyprland/.local/bin/waybar-worldclock= builds each zone with =ZoneInfo(tz)= inside the loop (line ~99) with no guard, so a single malformed timezone row in =worldclock.conf= raises =ZoneInfoNotFoundError= and crashes the whole python pass. The tooltip then renders empty and *every* zone is lost, not just the bad row; the traceback only reaches stderr, where waybar never surfaces it. +Repro: a conf with =America/Chicago|Home=, =Not/AZone|Bad=, =Europe/London|London= renders =tooltip: ""= (Home and London gone too). +Grade: minor severity (one module's tooltip blanks, no data loss) x rare edge case (a malformed conf row) = P4 = [#D]. +Fix: wrap the per-row =ZoneInfo=/=datetime= in a try/except and =continue=, so a typo drops only that row and the valid zones still render. Solo + quick: the script already has an env-override test harness (=WAYBAR_TIME_EPOCH=, =WAYBAR_WORLDCLOCK_CONF=), so a red-first test is cheap. ** DONE [#C] Floating layout — should we? :feature:hyprland: CLOSED: [2026-07-24 Fri] :PROPERTIES: |
