Bug: Window control buttons (minimize, maximize, close) are non-functional #35

Closed
opened 2026-04-26 16:45:54 +00:00 by icub3d · 0 comments
Owner

Migrated from GitHub issue icub3d/decentcom#38
Original Author: @icub3d
Original Date: 2026-04-15T20:31:13Z


Bug: Window control buttons are non-functional

Overview

The minimize, maximize, and close buttons in the custom title bar do not perform any action when clicked. This prevents users from managing the application window using the provided UI controls.

Background

The project uses Tauri v2, which requires explicit permissions for window management operations. Currently, the only includes default plugin sets which do not grant permission for , , , or commands. Additionally, on Linux (Wayland), the on the TitleBar container can intercept clicks meant for the buttons unless they are explicitly marked with .

Requirements

  • Minimize button must minimize the window.
  • Maximize/Restore button must toggle the window maximization state.
  • Close button must close the application window.
  • Title bar must still be draggable.

Design

API / Interface Changes

No changes to public APIs, but the frontend will now have permission to invoke standard Tauri window commands.

Data Model Changes

None.

Component Changes

  • : Add explicit permissions.
  • : Explicitly label the main window as to ensure alignment with capabilities.
  • : Add to buttons.

Task List

  • Identify missing permissions in Tauri v2 configuration.
  • Update with window management permissions.
  • Label main window in .
  • Update to prevent drag-region click interception.
  • Verify changes with existing tests.

Test List

  •  ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND  No package.json (or package.yaml, or package.json5) was found in "/home/jmarsh/dev/icub3d/decentcom". in to ensure no regressions in TitleBar logic.
  • Manual verification in a Tauri environment (requires running the app).

Open Questions

None.

**Migrated from GitHub issue icub3d/decentcom#38** **Original Author:** @icub3d **Original Date:** 2026-04-15T20:31:13Z --- # Bug: Window control buttons are non-functional ## Overview The minimize, maximize, and close buttons in the custom title bar do not perform any action when clicked. This prevents users from managing the application window using the provided UI controls. ## Background The project uses Tauri v2, which requires explicit permissions for window management operations. Currently, the only includes default plugin sets which do not grant permission for , , , or commands. Additionally, on Linux (Wayland), the on the TitleBar container can intercept clicks meant for the buttons unless they are explicitly marked with . ## Requirements - [ ] Minimize button must minimize the window. - [ ] Maximize/Restore button must toggle the window maximization state. - [ ] Close button must close the application window. - [ ] Title bar must still be draggable. ## Design ### API / Interface Changes No changes to public APIs, but the frontend will now have permission to invoke standard Tauri window commands. ### Data Model Changes None. ### Component Changes - : Add explicit permissions. - : Explicitly label the main window as to ensure alignment with capabilities. - : Add to buttons. ## Task List - [x] Identify missing permissions in Tauri v2 configuration. - [x] Update with window management permissions. - [x] Label main window in . - [x] Update to prevent drag-region click interception. - [x] Verify changes with existing tests. ## Test List - [x]  ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND  No package.json (or package.yaml, or package.json5) was found in "/home/jmarsh/dev/icub3d/decentcom". in to ensure no regressions in TitleBar logic. - [ ] Manual verification in a Tauri environment (requires running the app). ## Open Questions None.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
icub3d/decentcom#35
No description provided.