Well, it still works in Adobe XD (most recent version) on my Mac (with Catalina). So there must be something else hindering this keystroke, or it's a temporary misbehavior. Does it happen all the time, even after quitting and restarting XD, or restarting your Mac ?
I have the same problem. I can close the main app window by clicking cmd + W but cannot close the preview window this way.
I'm on Adobe XD 184.108.40.206 and macOS 10.15.4.
Are you sure it still has "focus" ?
(Meaning that it's not just the front-most but also the active window?)
Yes, it's got focus / is active. I dragged it around to be sure about that.
Okay. Could you descrive if it has worked before, or never works at all, or doesn't work after a while, or after certain actions ? There must be a pattern, or a difference...
It did work in the previous XD versions... Don't know exactly until which one. And up til now I couldn't find any pattern or correlations since it just doesn't work at all. On both my MacBook Pro and my iMac Pro.
Oh, now I found something. It's in a cloud document where it doesn't work. In the documents on my local documents it works.
Ah, that's something to go by !
I also checked a cloud-document, but the Cmd-W still works.
But maybe the problem has been addressed by the new version ?
Mac is now on 220.127.116.11.
I updated to 18.104.22.168. but still experience the same issue.
I think it's time to do the inevitable dirty trick.
Since you're working on a Mac, you can easily (and for the sake of testing) create a new user account and try using Adobe XD with such cloud files and hope the shortcut is failing again.
If it is still misbehaving, then there must have gone something wrong in the application, so remove Adobe XD completely and reinstall it (by deinstalling in the CC Desktop app). That is, when you haven't done that before.
If it's working okay, then there might be some corruption in user-based Library files.
Could you try temporarily switch off all plugins you might have activated, quit XD, restart it, and try if this helped ?
If it didn't help, we might find a culprit at a deeper user level.
I know that in the Library folder in the Application Support folder, there are an Adobe.XD folder, and Adobe XD folder in the Adobe folder. Removing them might help. Quit XD before doing so, open the Library folder by pressing the option key while choosing the Go menu command. And rather copy these folders to your dekstop, and delete the original folders. If that fresh start didn't help, you might as well copy them back again so certain features return to your preferred setting. Nothing crucial to miss out on, but it's a small effort.
Also try moving/copying/deleting (and perhaps putting back again) these four files from the Preferences folder in the Library folder:
Maybe some one from the support team can point out which other files or folders to delete, in order to let XD have a totally clean start.