not all icons shown #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
some icons are missing but in other menu drawer apps they have.
STATUS: DONE
Runbook: Icon Rendering Fix for emenu Circular Launcher
Goal
Investigate and fix missing icons in the emenu radial menu. Ensure all icon resources are properly loaded, rendered, and accessible across X11 and Wayland configurations without breaking existing functionality.
Analysis
Based on project documentation (
llm.md), the following hypotheses apply:main.gohandles window initialization and likely UI rendering loopgl_legacy.gofor OpenGL bindingstouch_wayland.so)Missing Information Assumptions:
assets/oricons/directory for static resources[{"name": "Label", "exec": "..."}]with optional"icon"fieldPotential Causes of Missing Icons:
Implementation Steps
STEP-01: Locate and inspect current rendering code for icon support in main.go
main.gofor icon/load/texture-related strings (case-insensitive)main.goin emenu rootSTEP-02: Review gl_legacy.go for texture/context initialization
-no-icons)gl_legacy.goaccessibleSTEP-03: Create icon asset directory and populate with default icons
assets/icons/at project root (or update existing assets directory)16x16to24x24scaled to resolution).gitignoreentry if this wasn't already handledSTEP-04: Implement icon loading helper function
icon_loader.go(or extend existing asset loader)func LoadIcons(ctx *glLegacyContext, path string) errorSTEP-05: Wire icon loading into main.go render preparation
main.goSTEP-06: Update command JSON schema to support optional icon field
"icon"field in each menu entrySTEP-07: Test icon rendering on X11 (default build)
make build(X11 defaults)-debugflag to verify texture statusSTEP-08: Test icon rendering on Wayland
make build-wayland(or equivalent target)-tags waylandbuild tag understood; STEP-07 complete (X11 verified)STEP-09: Add CLI flag to control icon loading behavior
-no-iconsor--icon-modeflag for toggling/offloading icon renderingSTEP-10: Commit changes and draft CHANGELOG entry
CHANGELOG.mdfollowing existing format (next minor/beta version)Acceptance Criteria
After all steps complete:
-no-iconsflag disables icon rendering if needed (for performance cases)Risks/Notes
-debugflagtouch_wayland.soif neededBuild Instructions:
Debug Mode:
Questions for Human Reviewers:
This runbook provides actionable steps for the developer agent to implement icon rendering fixes in one invocation per step. Each step has stable verification and prerequisites ensuring repository coherence.
wrong project - ups 🗡️