Repository navigation
Store sweep: land #222 #224 #229 #226 #223 #221 #228 and Tegami 1.0.1 - #230
Merged
Merged
Conversation
backdropComp is declared inside the menu-bar window (`win`) but is also
instantiated by the Loaders in swWin, wpWin and spotWin. Its Niri path
had `ShaderEffectSource { sourceItem: screenSnap }`, and screenSnap (a
ScreencopyView) lives in `win`, so every copy outside `win` was a
cross-window ShaderEffectSource. It was attached even on Hyprland, where
it is never drawn (visible was false, sourceItem was not).
When an output goes away (unplugged, disabled, or a monitor that drops
hotplug in DPMS standby, which some HDMI panels do seconds after the idle
daemon blanks them), Variants tears the per-screen windows down in an
arbitrary order. Once `win` is gone, destroying a foreign copy derefs its
source in a dead window and Quickshell segfaults:
QQuickWindowPrivate::dirtyItem
QQuickItemPrivate::dirty
QQuickItemPrivate::derefFromEffectItem
QQuickShaderEffectSource::~QQuickShaderEffectSource
(or ~QQuickItem -> setParentItem -> dirty / Qt::endPropertyUpdateGroup)
Gate the snapshot behind `snapUsable`: Niri backdrop, snapshot present,
and the backdrop instance sits in the same QQuickWindow as screenSnap.
Copies in other windows fall back to the wallpaper Image, which is what
they showed when no snapshot existed.
Repro: disable/enable a secondary output a few times while Gokko is the
active bar. Before: 2 crashes in 3 cycles. After this commit alone:
0 crashes in 15 cycles. The default bar (orpheus) does not crash in
the same test.
`font.family: fontForWeight(font.weight, fam)` (and the same call through `Fonts.forWeight`) reads the `font` group to compute a member of that same group. Every write to `font` re-triggers the binding and Qt logs "Binding loop detected for property font.family", which on a normal session is thousands of warnings per minute (6 rows of the Bluetooth device list alone produced 1254 each across two crash logs). This is the spam reported upstream in 0-ss/MacShell#41. Upstream MacShell fixed it the same way on 2026-10-31 (b4d9e6e), after Gokko's pinned revision. Pass the weight each object actually sets: its own `font.weight:` binding, `font.bold` mapped to Font.Bold/Font.Normal, or Font.Normal (Qt's default) when neither is set. 214 call sites in 15 files; the rewrite is mechanical and was done with a script that reads each object's own properties (nested objects excluded). After: 0 binding-loop warnings at startup and after 15 hotplug cycles.
The per-screen windows in MacBar, MacDock and MacWidgets bound sizes and positions straight to `win.modelData.width/height/x/y/name`. While an output is being removed the ShellScreen is destroyed (or reports 0x0 after screenDestroyed), so every one of those bindings re-ran on the way out: they threw "Cannot read property 'width'/'height'/'name' of null" (MacBar.qml:4965, 5059-5123, about 390 times per hotplug burst) and wrote new sizes into items whose window was already going away. Add ScreenGeom.qml, a small invisible helper that copies x/y/width/height/ name from its screen on geometryChanged and simply stops updating when the screen goes null or 0x0, and read geometry from it (barGeo, dockGeo, widgetGeo) instead of from modelData. A window is now destroyed with the geometry it had instead of being resized to nothing first. This does not fix the crash on its own (that is the ShaderEffectSource change), but it removes the TypeError spam and the resize writes during teardown. After: 0 gokko TypeErrors across 15 hotplug cycles.
Bump the version, add the 0.3.5 changelog line to PROVENANCE.txt, regenerate manifest.json with tools/pack-product.py --touch (adds upstream/ScreenGeom.qml) and refresh the registry hash. tests/validate-catalogue.sh passes.
Review follow-up (Mika nitpick 2). In MacWidgets the bound screen can switch to another output; if that screen was still 0x0, sync() returned early and sname kept the previous screen's name. ShellScreen.name is a constant property, readable at once, so onScreenChanged now copies it before sync(); geometry still waits for a valid size. Manifest regenerated.
The Wi-Fi/Bluetooth and extensions pages are supposed to slide in while the overview slides out. Both pages used anchors.fill: parent together with an x binding for the slide, but with both left and right anchors set the anchor layout owns x and the binding is discarded. Both pages stayed at x=0, so the detail page (transparent background) drew on top of the overview and the texts overlapped. Size both pages with explicit width/height bindings instead so the slide transition works as designed. Verified locally on the installed view: qmllint clean, shell reload, Super+Esc -> Wi-Fi now shows the Wi-Fi page alone and Back returns to the overview.
pack-product.py after the Sidebar.qml fix: refreshes the file sha256/size, the registry manifestSha256 and lastUpdated, and moves the version so installed copies are offered the update.
Pin any URL as a QR code on the wallpaper until cleared. CLEAR during encode is queued so a finishing encode cannot restore the pin; EDIT shows the field before focus; Enter commits through the URL box. Note: New: QR Pin — pin any URL as a QR code on the wallpaper. Co-authored-by: Cursor <cursoragent@cursor.com>
Add native sort order (newest/oldest/name/size), a configurable row limit and a working count badge. Add name search, type filters, per-type glyphs and a status line. Bound the scanner, keep settings allowlisted, render filenames as plain text and guard xdg-open paths. Refresh the preview and product manifest.
Keep the 4,000-entry scan bound but expose the helper's truncated flag in the service and panel status. Report the number of eligible files separately from the 60-row display cap so the badge and status are accurate.
The helper now emits scanCap alongside truncated and total; the service stores it and the panel renders the cap from data instead of a hard-coded string. This makes a capped scan verifiable from the helper output and keeps helper and UI in sync.
Scan every eligible Downloads entry and select the newest 60 after sorting. Directory order can no longer hide a new file, so no truncation flag or UI disclosure is needed; total remains the true eligible-file count.
A topbarGlyph plugin driven by the public alfa-leetcode-api used in the portfolio. An editable username setting means every installer sees their own LeetCode summary. Complete snapshots are cached under stateDir and partial outages never overwrite a good cache.
A result for a username changed while its process ran is consumed but ignored, settings and panel changes queue a refresh, and the timeout path finishes through the same queue.
The timeout path now calls finishRefresh() instead of clearing loading directly, so a queued username change starts as soon as the stalled process is stopped.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…olour The preview was the bare QR code. It is now an offscreen render of the widget itself (QT_QPA_PLATFORM=offscreen, the shipped PluginKit theme): a pinned tile next to the empty composer. The URL field's selected text read Theme.ink, which the PluginKit theme does not define, so it fell back to undefined; it uses the card colour now.
…y 2 min The username defaulted to the author's own handle, so every install showed one person's profile. It now starts empty: the panel asks you to set your username, the bar tooltip says so, and nothing is fetched until one is set. The helper refuses to run without a username. The shortest refresh interval goes from 60 to 120 seconds to spare the shared public API.
… images The round image seal used Qt5Compat's OpacityMask, which could freeze the whole shell when a notification carried an app icon or image (Ryoku #917). It now masks with QtQuick.Effects MultiEffect, which ships with Qt itself. Tegami 1.0.1.
neur0map
commented
Nov 29, 2026
neur0map
left a comment
Member
Author
There was a problem hiding this comment.
🔍 mika reviewed this change; details in the walkthrough comment.
🧹 Nitpicks (2) — optional, not blocking
plugins/leetcode-summary/service/Main.qml:41-49— Possible Bug — Changing or clearing the username leaves the previous user'sstatsvisible while the new request is pending or fails. Clearing the setting never starts a replacement request, so the old account remains displayed indefi…plugins/recent-downloads/content/Panel.qml:54-60— Possible Bug — Submitting a search assigns directly toroot.query, breaking its binding to the persisted service setting. Subsequent edits no longer update the local filter until Enter is pressed, despite the documented immediate fil…
Member
Author
🦊 mika's reviewSummary
Estimated review effort: 3/5 · risk: high 📁 Walkthrough details
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
One landing PR for the store sweep. Every contributor PR is merged with a real merge commit, so each shows as merged once this lands.
Contributor PRs
Maintainer fixes on top
QT_QPA_PLATFORM=offscreen, using the shipped PluginKit theme): a pinned tile next to the empty composer, where before it was a bare QR code. The URL field's selection colour readTheme.ink, which PluginKit doesn't define, so it now uses the card colour.Not included: #227 (waiting on its author), #218, and #216.
Gates (main's tools;
.githooks,tools,securityandtestsare unchanged from main), run on agit archiveof the tip:security-screen.py: 0 blocking. The only warnings not already on main are two false positives on qrpin's local shell variables (raw,url).validate-store.py: OK, 16 categories.validate-catalogue.sh: OK.pack-product.pyre-run on every touched item: no drift.test_validate_store.py+test_security_screen.py: 135 passed.navMaid is also on main.qrpin: clean.🤖 Generated with Claude Code