Skip to content

[Bug]: g502x_plus variant and side renders never download (manifest uses images/device/ sub-paths) #2457

Open

Description

@21omen

Pre-flight checklist

  • I searched existing issues and this is not a duplicate.
  • I am on the latest release or a recent master build.
  • I quit Logi Options+ before running OpenLogi (the two apps fight over HID++ access and only one can own a receiver at a time).

Which part of OpenLogi?

GUI (desktop app)

OpenLogi version

master build (branch g502x-plus-layout, based on master of 2026-11-08)

Operating system

Linux

OS version & architecture

CachyOS (Arch Linux), x86_64

Device model

G502 X PLUS (wpid 4099, white variant, model key 14099)

How is the device connected?

Lightspeed receiver

Affected area(s)

  • Device discovery / detection
  • Button remapping
  • DPI control
  • SmartShift
  • Per-application profiles
  • Battery status
  • Settings / configuration (TOML)
  • Auto-update
  • Menu bar / tray
  • Other

What happened?

The desktop app never downloads the colour-variant renders of the g502x_plus depot, including the side view (device_side). The depot's manifest.json points every variant resource at a sub-path (images/device/<uuid>), and the asset sync rejects any file name that is not a single path component. So only the baseline files land (front.png, manifest.json, metadata.json).

Effect for a G502 X PLUS:

  • The Buttons tab shows the base (black) render even for the white variant (g502x_plus_ext1, extended model id 1).
  • With no side view, the side buttons (sniper, back, forward) get no hotspots in the Buttons tab.

The variant selection itself is correct: the two rejected files are exactly the ext1 front and side renders. Any depot whose manifest uses sub-paths is probably affected the same way.

Expected: manifest resources with a relative sub-path inside the depot (no .., not absolute) are fetched, or the mirror's manifests are rewritten to flat names.

Steps to reproduce

  1. Connect a G502 X PLUS (white, 14099) over its Lightspeed receiver.
  2. Start the desktop app with an empty asset cache.
  3. Look at the log of openlogi-desktop and at the asset depot ~/.local/share/openlogi*/assets/g502x_plus/: only front.png, manifest.json and metadata.json are there, no images/device/ folder.
  4. Open the device's Buttons tab: base render, no side view.

Diagnostics report

openlogi list output


Logs

INFO  openlogi_assets::source: asset source selected source=https://v0-1.openlogi-assets.pages.dev
INFO  openlogi_desktop::services::assets::sync: downloaded file="metadata.json" bytes=7783
INFO  openlogi_desktop::services::assets::sync: downloaded file="manifest.json" bytes=2880
INFO  openlogi_desktop::services::assets::sync: downloaded file="front.png" bytes=3023021
WARN  openlogi_desktop::services::assets::sync: variant fetch failed depot="g502x_plus" variant=images/device/e0e9dacc-b5c0-4434-8b8d-410a7aa81d2f error=asset file name must be a single safe path component, got "images/device/e0e9dacc-b5c0-4434-8b8d-410a7aa81d2f"
WARN  openlogi_desktop::services::assets::sync: variant fetch failed depot="g502x_plus" variant=images/device/22c9ac7a-43ed-48b7-8771-72ca4ae2a6bb error=asset file name must be a single safe path component, got "images/device/22c9ac7a-43ed-48b7-8771-72ca4ae2a6bb"

Manifest layout (devices[n].modelId → resources):
g502x_plus       device_image images/device/85641870-…  device_side images/device/55d70c6f-…
g502x_plus_ext1  device_image images/device/e0e9dacc-…  device_side images/device/22c9ac7a-…
g502x_plus_ext2  device_image images/device/3253a30b-…  device_side images/device/1b909bb1-…

macOS permissions (if applicable)

  • OpenLogi has Accessibility permission (needed to remap buttons via the event tap).
  • OpenLogi has Input Monitoring permission (needed for Bluetooth-direct devices and capture).

Activity

  1. added
    type: bug
    needs: triage
    on Nov 8, 2026
  2. added
    area: assets
    area: gui
    platform: all
    and removed
    needs: triage
    on Nov 8, 2026
  3. AprilNEA commented on Nov 8, 2026

    @AprilNEA
    Owner

    Thanks for the precise report. #2461 fetches and reads manifest files under depot sub-directories such as images/device/, and looks up the variant's side render by the depot name, so the white G502 X PLUS gets its own front and side view. The ext2 side render is WebP and still has no side view; that is tracked in #2460.

  4. added a commit that references this issue on Nov 8, 2026
    ee9d52c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: assetsarea: guiplatform: alltype: bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions