Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
[Low impact] The PR appears safe to merge. SummaryNotification icons now fall back to a valid icon name when an earlier choice is a file path.
The update since the previous review only changes documentation and matches the implementation. No new issues found. Reviews (4) · Last reviewed commit: "Document notification icon fallback orde..." · Reviewed by Greptile |
|
Reviewed at 61b8b40, and nothing found to change. Reproduced on a worker VM built from the Omarchy ISO, with the shell running from this branch. A real Tests on the worker: the new cases in Second opinion: Codex Medium and muse-spark-1.3-contributor (via pi, thinking high) each reviewed the diff and found no defects. Their agreement with my reading is not a guaranteed independent check. Between them they confirmed that candidate order is unchanged, so no notification gets a worse icon than before; that non-string candidates still come out empty; that replaced and restored notifications go through the same validation; and that inline reply really is gone from the plugin, so the manifest wording is right. The manifest edit is outside the icon fix, but it is one correct line and not worth splitting. No open issue reports this, and no other open pull request touches it. This waits on the maintainer. |
…con-path-fallback # Conflicts: # shell/plugins/notifications/manifest.json
…con-path-fallback
|
Reviewed again at c1ab0d4, after the two merges of Reproduced on a worker VM built from the Omarchy ISO, with the shell running from this branch. A real Tests on the worker: the new cases in Second opinion: Codex Medium and muse-wonder (via pi, thinking high) each reviewed the head against the current notification code and found no defects. They agree with my reading, but that is not a guaranteed independent check. They followed every reader of One small thing for @yamz8: the description still says this removes "and replies" from the plugin description. No open issue reports this, and no other open pull request changes icon selection. This waits on the maintainer. |
Clarify that file paths give way to the next valid icon name. Fold the documentation idea from omacom#19031, with the wording adjusted for this fix's intermediate image://icon/ candidate. Co-Authored-By: falkoro <39274208+falkoro@users.noreply.github.com> Co-Authored-By: GPT-6 High <noreply@openai.com> Co-Authored-By: Opus 5.5 High <noreply@anthropic.com>
|
Folded the documentation clarification from #19031 into Reproduced on a disposable worker built from the Omarchy ISO. A real My own check fails on base, passes here, and fails again with the icon selection line reverted. It also checks that a valid app icon keeps priority, the intermediate icon name beats the desktop-entry hint, and path-valued hints are rejected. The CLI suite and focused notification tests pass on both the PR head and its integration with current Codex High checked the source and documentation. Opus 5.5 High and muse-wonder via pi, thinking high found nothing left to change in the final review. That agreement is not a guaranteed independent check. The documentation contribution from #19031 is now included; both pull requests remain open for the maintainer's decision. This waits on the maintainer. |




The notification card's icon is the first non-empty of
app_icon, animage://icon/name, and thedesktop-entryhint (#15932).normalise()then blanks it when it isn't an icon name. So when a sender'sapp_iconis a file path (allowed by the spec, and some Electron and GTK apps do it), it is picked first, then blanked. The desktop-entry fallback is never tried, and the card shows a letter tile even though the hint names an app with a themed icon.This picks the first candidate that is a valid icon name, so a path in
app_iconpasses to the next candidate instead of hiding it.normalise()reuses the same pattern.Testing
test/shell.d/notifications-test.shpasses, with new cases for a plain path and afile://path inapp_iconwithdesktop-entry=chromium. They fail without the fix.app_icon=/usr/share/icons/hicolor/48x48/apps/chromium.pnganddesktop-entry=chromiumshowed a letter tile onquattro(rowappIcon: ""). With this branch it showed the Chromium icon (rowappIcon: "chromium"). The bug needs an app name that is not itself an icon name, becauseIcons.candidatesalso tries the app name; the review run on a worker VM usedpr16206-sender.🤖 Generated with Claude Code
Fixes #18912