mirror of
https://github.com/Comfy-Org/desktop.git
synced 2026-11-04 23:47:43 +00:00
[PR #457] [MERGED] Add custom window / native window controls #880
Labels
No labels
area: desktop-app
Bounty
bug
bug-cop:answered
bug-cop:response-received
component: installer
component: preload
custom node
dependencies
Design
documentation
duplicate
enhancement
expected
frontend
good first issue
installation
Low-Priority
performance
Planned
platform: cross-platform
platform: windows
Potential Bug
Potential Bug
pull-request
question
refactor
Release
stale
User Support
V1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/desktop#880
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/desktop/pull/457
Author: @webfiltered
Created: 12/10/2024
Status: ✅ Merged
Merged: 12/29/2024
Merged by: @huchenlei
Base:
main← Head:custom-window📝 Commits (10+)
a5083ffAllow preload types to be used in frontend0760c3bHide default titlebar on win32 / linux6dbcce9Add interop for theme change handling8032a2cExport overlay options2f62b20Add windowStyle setting148bc56Allow disabling of modern window style1db704aFix height change ignoredb09ea0bPrevent zero overlay height4644fc5Remove coupling requirement from initial featurecb4b186Add TS types, nits📊 Changes
7 files changed (+90 additions, -11 deletions)
View changed files
📝
src/constants.ts(+2 -0)📝
src/handlers/appInfoHandlers.ts(+7 -0)📝
src/main-process/appWindow.ts(+35 -1)📝
src/main-process/comfyDesktopApp.ts(+4 -1)📝
src/main_types.ts(+1 -0)📝
src/preload.ts(+35 -9)📝
src/store/desktopSettings.ts(+6 -0)📄 Description
Modern linux / win32 window
Example implementation:
https://github.com/user-attachments/assets/558b80d9-8cdd-48de-8adb-d8f55721bbea
┆Issue is synchronized with this Notion page by Unito
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.