Skip to content

Conversation

@bennyscripts
Copy link
Member

@bennyscripts bennyscripts commented Jan 20, 2026

A custom titlebar and window design. Has not been tested on Windows or Linux just yet so will have problems and will need adjusting before final release.

Current Issues:

  • When reopened after using the custom minimise method, all hover effects using <Enter> and <Leave> bindings do not work.
  • Maximise method sets the geometry and does adjust for MacOS titlebar but incorrectly and this wont be consistant for all operating systems and monitors, may just potentially remove maximise.
  • There is currently no way to resize the window
CleanShot 2026-01-20 at 10  46 53@2x

@bennyscripts bennyscripts changed the title Macos-titlebar Custom Titlebar and Window design Jan 20, 2026
@bennyscripts bennyscripts added the enhancement New feature or request label Jan 20, 2026
@bennyscripts bennyscripts self-assigned this Jan 20, 2026
@bennyscripts bennyscripts marked this pull request as draft January 20, 2026 10:46
@bennyscripts bennyscripts moved this to In Progress in Ghost Jan 20, 2026
@bennyscripts
Copy link
Member Author

ef4a39e and 52bdf37 have added support for Windows, I've tested and the following list are the remaining problems that need fixing:

  • Minimise will not work, it attempts it but brings window right back
  • Application even after compilation does not appear in the taskbar consistently, sometimes will reappear and then go again.
  • Still got funny visual bugs when resizing on both Mac OS and Windows

@bennyscripts
Copy link
Member Author

The window now minimises on Windows "okay". It works but looks really naf. The next and final problem is the taskbar icon not displaying when the window is focused. After some research it looks like we will need to use two Tk instances (See Here). The other option is to forget the custom titlebar on Windows and Linux and only have it for Mac OS.

Everything is currently working flawlessly on Mac OS. See below a video of the UI. It's gorgeous!

CleanShot.2026-01-20.at.4.14.43.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants