Fastest and only macOS Dictation app with on-device STT and custom trained AI enhancement model. Windows, iOS testflight! Android, Linux waitlist open! A local Wispr Flow alternative. Follow https://x.com/fluidvoiceapp for more
Fix FluidMeet captions pop-out dragging on macOS 27 (#1061)
argus-vault0a8dd5d2ccf2
diff --git a/.github/screenshots/fluidmeet-fix-1061.mp4 b/.github/screenshots/fluidmeet-fix-1061.mp4new file mode 100644index 00000000..2def1e3dBinary files /dev/null and b/.github/screenshots/fluidmeet-fix-1061.mp4 differdiff --git a/Sources/Fluid/UI/MeetingFloatingCaptionsPanel.swift b/Sources/Fluid/UI/MeetingFloatingCaptionsPanel.swiftindex 63eca557..6f8edda9 100644--- a/Sources/Fluid/UI/MeetingFloatingCaptionsPanel.swift+++ b/Sources/Fluid/UI/MeetingFloatingCaptionsPanel.swift@@ -7,7 +7,9 @@ import SwiftUI/// main-window heuristics (level == .normal, styleMask.contains(.titled), canBecomeKey) never treat/// it as the app's main window — see MenuBarManager.isFluidMainWindow.final class MeetingFloatingCaptionsPanel: NSPanel {- override var canBecomeKey: Bool { false }+ override var canBecomeKey: Bool {+ false+ }}/// Swallows first-mouse so clicks and drags work while FluidVoice is inactive — this panel's@@ -15,7 +17,9 @@ final class MeetingFloatingCaptionsPanel: NSPanel {final class MeetingFloatingHostingView: NSHostingView<AnyView> {var overlayHitPadding: MeetingOverlayPadding?- override func acceptsFirstMouse(for event: NSEvent?) -> Bool { true }+ override func acceptsFirstMouse(for event: NSEvent?) -> Bool {+ true+ }override func hitTest(_ point: NSPoint) -> NSView? {if let padding = self.overlayHitPadding {@@ -252,16 +256,24 @@ struct MeetingFloatingCaptionsContent: View {private var header: some View {HStack(spacing: 8) {- Image(nsImage: Self.fluidVoiceIcon)- .resizable()- .aspectRatio(contentMode: .fit)- .frame(width: 18, height: 18)- .clipShape(RoundedRectangle(cornerRadius: 4, style: .continuous))- .accessibilityHidden(true)- Text("FluidMeet")- .font(self.theme.typography.captionStrong)- .foregroundStyle(self.theme.palette.primaryText)- Spacer(minLength: 8)+ HStack(spacing: 8) {+ Image(nsImage: Self.fluidVoiceIcon)+ .resizable()+ .aspectRatio(contentMode: .fit)+ .frame(width: 18, height: 18)+ .clipShape(RoundedRectangle(cornerRadius: 4, style: .continuous))+ .accessibilityHidden(true)+ Text("FluidMeet")+ .font(self.theme.typography.captionStrong)+ .foregroundStyle(self.theme.palette.primaryText)+ Spacer(minLength: 8)+ }+ .frame(maxWidth: .infinity, minHeight: 24, alignment: .leading)+ .contentShape(Rectangle())+ // Keep window dragging on the flexible header area, separate from its controls.+ .gesture(WindowDragGesture())+ .allowsWindowActivationEvents()+Button {self.stopRecording()} label: {