Bug 146780 - Should not be possible to select two templates as default in Template Manager
Summary: Should not be possible to select two templates as default in Template Manager
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Template-Manager
  Show dependency treegraph
 
Reported: 2022-01-15 11:57 UTC by sdc.blanco
Modified: 2022-01-17 23:43 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sdc.blanco 2022-01-15 11:57:24 UTC
1. Open Template Manager (Ctrl+Shift+N)
2. Select a template, right-click, Set as Default
   Result: a green check mark appears next to selected default (expected)
3. Select another template, right-click, Set as Default

Actual result:  green check mark appears for this template, but check mark also remains for the template selected in step 2.

Expected result:  check mark (from step 2) disappears, and check mark remains for last selection.

Additional information: 
1. Can continue to select other templates, but two templates appear as default.
2. Can "reset" one of the templates to remove it as default, while the other remains.
3. Have not tested what happens if two are selected as default and a new document is opened.

Produced in:

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: bb29b12a9e367d181a5d9d962d466df41e093e0c
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: da-DK (da_DK); UI: en-US
Calc: CL


Not reproduced in: 7.2.5.2
Comment 1 raal 2022-01-17 19:00:04 UTC
No repro with Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 3e94991d7fd3a085549c3a5d4c991688042d2cb9
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: x11
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded Jumbo
Comment 2 LeroyG 2022-01-17 20:32:17 UTC
You can select one template for each application (Writer, Calc, Impress and Draw). Try to filter by application and select two templates.

Version: 7.1.8.1 (x64) / LibreOffice Community
Build ID: e1f30c802c3269a1d052614453f260e49458c82c
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: default; VCL: win
Locale: es-MX (es_ES); UI: en-US
Calc: CL
Comment 3 LeroyG 2022-01-17 20:34:19 UTC
Please retest in version 7.4 and confirm it or not.
Comment 4 sdc.blanco 2022-01-17 23:43:29 UTC
Notabug.  In my case, I used Filter: Text Documents, Category: My Templates
The confusion arose because one of the templates was an .otm - so it is possible to select both an .ott and an .otm within Documents. (no obvious visual difference between an .ott and .otm -- needed to look manually at each template in list view to discover the reason).  Thanks for your attention.