(Suggestion): Remove Text Editor's "Start or Open a Document" dialog
If the current Text Editor window only contains one document (no tabs) then if the user hits Ctrl+w to close the document the window remains open and shows this "Start or Open a Document" dialog:
I find this dialog to be quite awkward and I think that if the user hit Ctrl+w in a window they almost certainly wanted to close that window (this is after all what Ctrl+w does in almost all other apps, both GNOME and non-GNOME apps). In practice what this dialog means is that to close a window you need to hit Ctrl+w twice. If I had wanted to start or open a new document I would have hit Ctrl+n, Ctrl+t, Ctrl+k or Ctrl+o.
I think the app could be simpler if this dialog was removed and it followed the behavior of other apps. For example in web browsers like Firefox, Chrome, Edge and GNOME Web:
-
If there is only one document open in the current window and I hit Ctrl+w it just closes the window (it does not go back to the home or new tab page, for example). If this was the only open window then it exits the app
-
If the app quit because the last tab was closed with Ctrl+w then it's considered that the user deliberately closed this document and the document is not re-opened when you re-launch the browser (even if you have enabled On start-up: Continue where you left off in Chrome or Startup: Open previous windows and tabs in Firefox). The reasoning is that the user closed this particular tab deliberately, they do not want it back.
In the case of browsers that still show tabs when there is only one document open hitting the x button on the last tab does the same: the document will not be re-opened on next launch, the user closed it deliberately.
-
If the app quit because the user hit the x button on the last window (not the tab) or hit the Quit button in the main menu (in the left of GNOME's top bar), or hit the Ctrl+q keyboard shortcut then on next launch the document will be restored even if the app had only one document open (one tab in one window). The logic is that the user quit the app, they did not close the document/tab.
You'll see that this is the behavior in other apps that support multiple windows and tabs and support restoring the windows and tabs on re-launch: web browsers (including GNOME Web) and other apps with tabs and windows.
When Text Editor's Restore Session setting is disabled my suggestion would also bring Text Editor's Ctrl+w behavior inline with other apps that have multiple windows and tabs and don't restore sessions, e.g. Nautilus.
This would allow you to get rid of the awkward "Start or Open a Document" dialog and would simplify the app. It would mean that users can close a window by hitting Ctrl+w once instead of twice.
Thanks!