Commit Graph

27 Commits

Author SHA1 Message Date
Guilherme Rambo
52d67be11c New force stop & close option (#798)
* New option to force-close VM window via menu item or by Option+clicking window close button

* Fix option+click window close button to force-close
2026-10-27 11:43:23 -03:00
Guilherme Rambo
6c153ad425 Modernize window workarounds (#787)
* Avoid excessive setting of window properties in EnvironmentValues extensions

* Disable workaround for FB18383725 in macOS 27 or later

* Always show title bar in VM session window
2026-10-13 10:44:16 -03:00
Guilherme Rambo
c6a86e784d Potential fix for VM window full screen bugs (#786) 2026-10-13 09:03:24 -03:00
Guilherme Rambo
2a7cf4151b New virtual machine state preservation system (#780)
* Fix HostingWindowController allowing repeated requests to close while waiting for confirmation

* New virtual machine state preservation system with automatic save on close/quit and safe restoration

* Use visible directories for saved state storage for easier debugging in Finder

* Hide state restoration controls for unsupported Linux VMs

* Add app-level preference for what happens by default when attempting to close a running VM

* Use a custom sheet for VM close confirmation

* Improve VM close choice sheet

* Harden session storage against path traversal, fix race conditions in state coordination
2026-10-05 12:51:43 -03:00
Patrick Linnane
8e5cae2aa2 Link narrower BuddyKit products to fix duplicate Pasteboard class (#699) 2026-06-27 13:51:57 -03:00
Guilherme Rambo
27b4da4dda Allow custom animation behavior when opening cocoa window 2025-06-27 19:19:16 -03:00
Gui Rambo
661372a1a5 Workaround full screen crash in macOS 26 2025-06-25 17:47:48 -03:00
Gui Rambo
15f83f28a3 Use NavigationSplitView for settings navigation, tweak layout 2025-06-20 14:57:19 -03:00
Guilherme Rambo
60de1a5fcd Use openCocoaWindow for all installer windows, fix confirm before closing, fix installation not cleaned up properly when cancelled 2025-06-07 10:06:38 -03:00
Gui Rambo
757eaf9d88 Ugly hack for window style mask bug 2024-06-11 07:52:18 -03:00
Gui Rambo
82c80bfbca Using swiftui-instrospect fork that supports macOS 15 scroll view introspection 2024-06-11 07:44:54 -03:00
Guilherme Rambo
966138ecca Centralized session management in VirtualMachineSessionUIManager, allowing existing session to be updated by opening a file or URL when the VM is not running 2024-03-27 15:41:56 -03:00
Guilherme Rambo
ae3e844c36 Implemented detection for memory leaks, fixed VM session view causing HostingWindow memory leak 2024-03-27 13:20:34 -03:00
Guilherme Rambo
35325d03c2 Raise deployment target to macOS 13 2024-03-22 11:19:11 -03:00
James
926a633b4d Ignore screen.visibleFrame's origin when computing available height real estate.
The screen.visibleFrame already takes into account the height of menu bar, camera bezel, Dock (when shown), etc., so no need to subtract it again with the visibleFrame's origin.
2024-03-19 18:02:02 +11:00
James
98f2228640 Ignore the configured PPI in VM settings for the purpose of "point accurate" sizing 2024-03-16 22:30:51 +11:00
James
5b16010dd2 Fix window resizing templates to behave more correctly 2024-03-16 22:16:52 +11:00
Gui Rambo
3da6e11050 Fix VMController memory leak 2023-10-25 11:02:24 -03:00
Gui Rambo
91b20f12d2 WIP handling basic deep links 2023-10-12 15:26:07 -03:00
Frank Lefebvre
c07251164b Make default screen DPI consistent 2023-03-29 10:45:46 +02:00
Frank Lefebvre
be3a89c1b4 Fix window aspect ratio computation 2023-03-29 10:42:33 +02:00
Gui Rambo
7b432a5add Automatically sizing VM window to fit display when there's no saved frame for the window/display combo 2023-03-10 17:16:37 -03:00
Gui Rambo
c8e580a1cc Implemented menu options to resize window according to VM display resolution 2023-03-09 15:24:44 -03:00
Gui Rambo
465ce26dfb Implemented custom frame save/restoration for VM windows 2023-03-09 11:23:00 -03:00
Gui Rambo
3840eb26fb Tweak installer UI (#63) 2022-08-01 11:40:32 -03:00
Gui Rambo
5ead81c710 Fixed multiple windows opening for the same VM 2022-07-22 18:28:27 -03:00
Gui Rambo
4a5985fc37 WIP: Refactor installation wizard, moved to VirtualUI 2022-07-20 15:40:56 -03:00