Skip to content

[Bug] Applications/Catalog search results fail to render (Blank screen) despite successful backend requests (Flatpak/Ubuntu) #4252

@ninhngochieu

Description

@ninhngochieu

Description
When searching for applications (Helm charts) in the Catalog/Applications view, the grid of application cards fails to render, resulting in a blank screen.

However, the search functionality itself seems to be working because:

  1. Pagination updates correctly: It shows a high number of pages (e.g., 55 pages for the keyword "po").
  2. Backend logs show success: The logs indicate Request completed successfully for the API calls.

Steps to Reproduce

  1. Install Headlamp via Flatpak on Ubuntu (io.kinvolk.Headlamp).
  2. Navigate to the Applications (Catalog) section.
  3. Type a keyword in the search bar (e.g., "po" for postgres/portal).
  4. Notice that the pagination footer updates (showing results exist), but the main content area remains completely black/empty.

Expected Behavior
The application cards (Helm charts) should appear in the main content area matching the search query.

Actual Behavior
The content area is blank. No cards are rendered.

Screenshots

Image

Environment

  • OS: Ubuntu 24.04.3 LTS
  • Hardware (CPU/GPU): AMD Ryzen 5 5600G (with Radeon Graphics)
  • Installation Method: Flatpak (io.kinvolk.Headlamp)
  • Window System: Wayland (Default on Ubuntu 24.04) / X11

Logs / Troubleshooting Attempts
I suspect this is related to GPU acceleration on the AMD APU with Electron. I have tried the following workarounds, but the issue persists:

  • Running with GPU disabled: flatpak run io.kinvolk.Headlamp --disable-gpu
  • Running with in-process GPU: flatpak run io.kinvolk.Headlamp --in-process-gpu
  • Clearing cache directories.

Backend Logs:
The terminal shows successful requests, suggesting the issue is a frontend rendering bug rather than a network/API failure:

server process stderr: {"level":"info","duration_ms":"0.65","source":"/home/runner/work/headlamp/headlamp/backend/cmd/headlamp.go","line":1483,"time":"2025-12-07T02:07:05+07:00","message":"Request completed successfully"}
server process stderr: {"level":"info","duration_ms":"51.47","source":"/home/runner/work/headlamp/headlamp/backend/cmd/headlamp.go","line":1483,"time":"2025-12-07T02:07:08+07:00","message":"Request completed successfully"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions