Open View > Settings pane (or with ctrl + comma hotkey)
Click the "Close >" button in the Settings pane
The document vanishes. It looks like the lighter rectangle behind it might be popping up in front of it. Clicking the document area makes it re-appear.
Closing the Settings pane with Ctrl + comma does not make the document vanish, but a comma is inserted into the document upon closing the pane. The comma probably shouldn't be added to the document when using that hotkey to close the Settings pane.
To recreate:
https://github.com/pop-os/cosmic-edit/assets/13512097/b7bbd238-714e-4627-bda0-d5da9a82b862
Closing the Settings pane with Ctrl + comma does not make the document vanish, but a comma is inserted into the document upon closing the pane. The comma probably shouldn't be added to the document when using that hotkey to close the Settings pane.