Skip to content

feat(launcher): add flatpak uninstall option in context menu - #3340

Merged
bbedward merged 2 commits into
duxlabs-dev:masterfrom
hthienloc:feat/launcher-flatpak-uninstall
Sep 10, 2026
Merged

bbedward merged 2 commits into
duxlabs-dev:masterfrom
hthienloc:feat/launcher-flatpak-uninstall

Conversation

@hthienloc

Copy link
Copy Markdown
Member

Provides an intuitive, integrated way to uninstall Flatpak applications directly from the Launcher without opening a terminal or separate software center.

  • Adds an "Uninstall…" action to the Launcher context menu for Flatpak applications.
  • Displays Toast notifications for progress, success, and failure.
  • Automatically unpins the app from SessionData (if pinned) and refreshes the application list upon completion.
Screenshot-2026-09-06_12-32-51 image

@hthienloc
hthienloc force-pushed the feat/launcher-flatpak-uninstall branch from c49a469 to 3bc21df Compare September 6, 2026 05:41
@hthienloc

Copy link
Copy Markdown
Member Author

/claude review

@claude

claude Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Claude review

Looks solid — one i18n term-reuse nit, no correctness issues found.

  • Three uninstall toast strings duplicate already-translated catalog terms, quickshell/Services/AppSearchService.qml:1038

Checked: flatpak id extraction against real flatpak run Exec forms, the confirm-modal signal/LazyLoader path against the existing empty-trash pattern, stderr capture + onExited ordering against the UsersService convention, pin removal id consistency with togglePin/addPinnedApp, argv (no shell, no injection), the destructive-item delegate bindings, and that en.json/template.json were left untouched. Model: claude-opus-5.

@hthienloc

Copy link
Copy Markdown
Member Author

/claude review

@claude

claude Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Claude review

No issues found.

Checked: flatpak id extraction (command argv walk + Exec regex) against real flatpak run desktop-entry forms including --file-forwarding/--command= and the .desktop-id fallback; the uninstallAppConfirmRequested signal + LazyLoader/ConfirmModal path against the existing empty-trash precedent, and showWithOptions option keys; Process argv (no shell, no injection) and the StdioCollector.onStreamFinished → onExited stderr convention used by SessionsService; the in-flight guard and state reset in uninstallFlatpak; pin-id consistency between removePinnedApp/removeBarPinnedApp and the launcher appId/togglePin; the reordered destructive-item color binding (behaviour preserved for the non-destructive case) and isDestructive propagation through icon/text/ripple; separator handling in menuItemsHeight/activateSelected; Theme.withAlpha, refreshApplications, ToastService.showError(message, details) signatures; the new Quickshell.Io import; and that the three toast terms now reuse the existing catalog entries (en.json:26622/26631/26640) with en.json and template.json untouched. Model: claude-opus-5.

@bbedward
bbedward merged commit 3adfa91 into duxlabs-dev:master Sep 10, 2026
1 check passed
@hthienloc
hthienloc deleted the feat/launcher-flatpak-uninstall branch November 15, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants