swiftDialog icon indicating copy to clipboard operation
swiftDialog copied to clipboard

Fix 561: Use dispatch queue to set max window level and add collection behavior

Open logwolvy opened this issue 7 months ago • 0 comments

Fixes https://github.com/swiftDialog/swiftDialog/issues/561

This fix implements the following -

  1. Maximum Window Level: Using CGWindowLevelForKey(.maximumWindow) + 1 (2147483632) ensures the dialog appears above all other windows
  2. Deferred Application: The DispatchQueue.main.async timing ensures the window level is applied after the window is fully created
  3. Collection Behavior: Added .canJoinAllSpaces and .fullScreenAuxiliary for better fullscreen application compatibility
  4. Enhanced Activation: The improved activateDialog() function ensures proper window ordering

logwolvy avatar Oct 02 '25 22:10 logwolvy