|
| 1 | +# v0.4.1 |
| 2 | + |
| 3 | +**Release Date:** 2026-04-06 |
| 4 | + |
| 5 | +## Highlights |
| 6 | + |
| 7 | +- **Session Switching Fixes** - Dropdown, pop-out, and grid resize now correctly change terminal sessions |
| 8 | +- **App Visibility Fix** - App now appears in Cmd+Tab and stays running when switching focus |
| 9 | + |
| 10 | +## What's New |
| 11 | + |
| 12 | +### Session Switching Fixes |
| 13 | + |
| 14 | +Fixed three related bugs where terminals displayed the wrong session content: |
| 15 | + |
| 16 | +- **Session Dropdown** - Selecting a different session from the pane header dropdown now correctly switches the attached tmux session |
| 17 | +- **Pop-out Windows** - Pop-out windows now show the intended session instead of the first pane's session |
| 18 | +- **Grid Resize** - Resizing the grid no longer causes a mismatch between the header session name and the terminal content |
| 19 | + |
| 20 | +**Root Cause:** The `attach(to:)` method wasn't terminating the existing tmux attach process before starting a new one. The old process continued writing to the terminal while the header showed the new session. |
| 21 | + |
| 22 | +**Fix:** Added explicit process termination in `attach(to:)` before starting a new tmux attach, and ensured proper cleanup in `detach()`. Also added `.id(paneId)` to grid views for stable SwiftUI view identity during layout changes. |
| 23 | + |
| 24 | +### App Visibility Fix |
| 25 | + |
| 26 | +Fixed two issues when running the app as an executable (not from an app bundle): |
| 27 | + |
| 28 | +- **Cmd+Tab Visibility** - The app now appears in the application switcher (Cmd+Tab) |
| 29 | +- **Focus Stability** - The app no longer terminates when losing keyboard focus |
| 30 | + |
| 31 | +**Root Cause:** Running the bare executable didn't automatically register the app as a foreground application. |
| 32 | + |
| 33 | +**Fix:** Added `NSApp.setActivationPolicy(.regular)` in AppDelegate to ensure the app runs as a proper foreground app with Dock presence. |
| 34 | + |
| 35 | +## Fixed |
| 36 | + |
| 37 | +- Session dropdown in pane header now correctly switches the attached tmux session ([`94502dc`](https://github.com/plexusone/plexusone-app/commit/94502dc)) |
| 38 | +- Pop-out windows now show the correct session instead of the first pane's session ([`94502dc`](https://github.com/plexusone/plexusone-app/commit/94502dc)) |
| 39 | +- Grid resize no longer causes mismatch between header and terminal session ([`94502dc`](https://github.com/plexusone/plexusone-app/commit/94502dc)) |
| 40 | +- App now appears in Cmd+Tab and Dock when running as executable ([`ab66238`](https://github.com/plexusone/plexusone-app/commit/ab66238)) |
| 41 | +- App no longer terminates when losing focus ([`ab66238`](https://github.com/plexusone/plexusone-app/commit/ab66238)) |
| 42 | + |
| 43 | +## Documentation |
| 44 | + |
| 45 | +- Desktop app development guide with build and run instructions ([`7398753`](https://github.com/plexusone/plexusone-app/commit/7398753)) |
| 46 | + |
| 47 | +## Download |
| 48 | + |
| 49 | +| Platform | Download | |
| 50 | +|----------|----------| |
| 51 | +| macOS Universal | [PlexusOneDesktop-0.4.1-macos-universal.dmg](https://github.com/plexusone/plexusone-app/releases/download/v0.4.1/PlexusOneDesktop-0.4.1-macos-universal.dmg) | |
| 52 | +| macOS Apple Silicon | [PlexusOneDesktop-0.4.1-macos-arm64.dmg](https://github.com/plexusone/plexusone-app/releases/download/v0.4.1/PlexusOneDesktop-0.4.1-macos-arm64.dmg) | |
| 53 | +| macOS Intel | [PlexusOneDesktop-0.4.1-macos-x86_64.dmg](https://github.com/plexusone/plexusone-app/releases/download/v0.4.1/PlexusOneDesktop-0.4.1-macos-x86_64.dmg) | |
| 54 | + |
| 55 | +--- |
| 56 | + |
| 57 | +[Compare with v0.4.0](https://github.com/plexusone/plexusone-app/compare/v0.4.0...v0.4.1) |
0 commit comments