The AutoText dialog doesn't have great usability (see bug 52607). A small improvement would be if the dialog pre-filled tha name and shortcut based on the selected text. Name could be the first X words from the first line, no longer than 20-25 characters, and shortcut could be what it'd automatically add if the user entered that name themselves. Also, upon the first click into Name or shortcut fields, pre-select field content, then entering a custom name is zero extra steps. I'm not sure how useful it'd be in the end, but I think it's a nice touch having something there by default, without adding any overhead for the user.
Reasonable, but maybe word bounds rather than fixed 20-25 chars.
Yep, that's what I meant by "first X words from the first line, no longer than 20-25 characters".
Proposed patch: https://gerrit.libreoffice.org/c/core/+/145175 Maybe some prior testing is needed in order to implement any further improvements regarding this change. UI test still pending.
Andreas Heinisch committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/fbabd959060655a77188447c9fc0112e0ab8474c tdf#124088 - Propose AutoText and shortcut name based on selected text It will be available in 7.6.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.