It's hard to tell what's going wrong without seeing your actual code.
Have you made sure that your tap gesture closure is actually being called?
Have you made sure your openWindow statement actually opens the specified window?
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: