In order to reproduce the bug: [1] Open Template Manager. [2] If template folders are not displayed, click “All Templates”. [3] Click Search icon. The search line is displayed. [4] Enter some random letters. If there is no match with existing templates neither templates nor folders are displayed any longer. [5] Suppose now you like to find a specific template by browsing through the template folders. Cancel search function with Esc. The whole template manager dialogue is cancelled and you have to open it again. Expected: Only the search function should be terminated with Esc. In almost all cases closing a dialogue with Esc is the right behaviour. But in this special case, at least my automatic reaction is the use of the Esc key in order to display the template folders again.
Yeah. Win 7 Pro 64-bit, Version: 5.0.2.2 (x64) Build ID: 37b43f919e4de5eeaca9b9755ed688758a8251fe Locale: fi-FI (fi_FI)
In the new template manager the save field is always visible. So I guess that it is now right that Esc closes the dialog.
Checked with version 5.2.0 and Win7. Bug still exists. Due to the new template manager, the steps are a bit different: [1] Open Template Manager. [2] Select "All Applications" and "All Categories”. All templates should be displayed. [3] Enter some random letters in Search... field . If there is no match with existing templates templates are no longer displayed. [4] Cancel search function with Esc. The template manager is closed. Expected in this special case: Search string should be deleted and all templates should be displayed. Hence set bach to NEW.
EasyHack. The code is in http://opengrok.libreoffice.org/xref/core/sfx2/source/doc/templatedlg.cxx
Tibor Móger committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=86519381cd6c7df26087461680f5467aacdc89fc tdf#94576 handle esc keypress on templatemanagerdialog It will be available in 5.4.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Checked with version 5.4.4. Works as expected now. Thanks for fixing.