Created attachment 74536 [details]
Breadcrumbs not updated in new template manager
New template manager, introduced in 4.0.0, has breadcrumb navigation. Unfortunately, it is not correctly updated after switching tabs at top of window.
Steps to reproduce:
1. Open new template manager
2. Switch tab to Presentations
3. Descend into "Presentation backgrounds" directory
4. Switch tab to "Documents"
No templates are shown. Breadcrumb navigation still shows "All templates → Presentation backgrounds". See attached image (it's from Polish version of LO; "Prezentacje" means "Presentations", pretty similar to English).
Refresh breadcrumb navigation and change current directory to root. In above case, "MediaWiki" directory should be shown.
Thanks for reporting!
I can confirm this behavior using Linux Mint 14 x64 and LibreOffice 18.104.22.168 rc3.
Therefore I mark this bug as NEW.
Following  I mark this bug as 'Minor Medium'.
Well it dosent show anything because you dont have any templates of that type in the folder, so im not sure if i should consider this a bug or not? Maybe a message should be shown that theres no templates of that type? Or we should change the behaviour to what you expect? Its not really clear to me how to approach this.
Well, new template manager gives impression that directories are exclusive for document types (so I can not put Writer template in "Presentation bacgrounds" dir). I know that technically this is not correct and each directory can contain templates for every program.
Due to this impression, I though that breadcrumbs were not updated. I did it even that I know how LO handles templates on filesystem-level. I think it is safe to assume that most users (who do not know about work done behind the doors) will expect the same I expected in original message and will consider this a bug.
Basically, this is caused by maybe-not-the-wisest design decision to make tabs act like a filters for content. Most users familiar with tabs (from web browsers, e-mail readers or file managers) expect that switching tabs changes context. In web browser I can be on one page in tab A and second page on tab B. In LibreOffice, in both tab A and tab B I am still in the same place; they just show me different things (and this filtering may result in empty list, further confusing me).
Using drop-down list for filtering would be much better. But this is on side-note.
Restricted my LibreOffice hacking area
Patch under review: https://gerrit.libreoffice.org/#/c/7905/
Joren De Cuyper committed a patch related to this issue.
It has been pushed to "master":
fdo#60586 - [Template manager] Switching tabs does not update breadcrumbs
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:
Affected users are encouraged to test the fix and report feedback.
lets mark this one as RESOLVED FIXED. Will have a try to backport the fixes.