Skip to content

Pak launched from an assigned button returns to the system folder instead of the collection #844

Open

Description

@dennougorilla

What happened

When a pak is launched from an assigned button (Settings > Assignments) while browsing a collection, NextUI comes back to the game's system folder after the pak exits, not to the collection.

Expected

NextUI returns to the same row in the collection, like it does after playing a game from that collection.

Steps to reproduce

  1. Assign any Tools pak to FN1 (L3 on the Brick)
  2. Open Collections > any collection and highlight a game
  3. Press FN1 and exit the pak
  4. NextUI now shows the game inside its system folder (e.g. Roms/Game Boy Advance), not the collection

Cause

runFnAction() saves entry->path, the game's real path under /Roms. Entry_open() saves <collection>.txt/<file name> for collection rows, and loadLast() already knows how to restore that form.

This matters most for paks that act on the highlighted game. With a favorites toggle pak, removing games from inside Favorites throws you out of the list after every removal.

Device

TrimUI Brick, NextUI-20260719-0 (73e160c)

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions