Bug 150925 - Some master slide previews in sidebar are replaced when selecting others
Summary: Some master slide previews in sidebar are replaced when selecting others
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.3.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.6.0
Keywords:
Depends on:
Blocks: Sidebar-Master-Slides Master-Slide
  Show dependency treegraph
 
Reported: 2022-09-13 02:39 UTC by Aron Budea
Modified: 2023-12-29 10:05 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot (844.97 KB, image/png)
2022-09-13 02:39 UTC, Aron Budea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2022-09-13 02:39:52 UTC
Created attachment 182400 [details]
Screenshot

In a new Impress presentation, open the Master Slides sidebar, and under Available for Use (which shows the bundled templates), click around on the following ones, in no particular order:
- Candy,
- Freshes,
- Grey Elegant,
- Portfolio.

=> Note how their preview all become the first one you chose.

The other template previews are unaffected.

Eg. in the attached screenshot, all of these previews are Freshes (the selected one is supposed to be Candy).

Observed using LO 7.5.0.0.alpha0+ (ee003ca99f94c9a5517ebba67ed02abb2a60dae8), and oldest of the 5.3 bibisect repo (with the templates copied there, as they're newer) / Ubuntu.

There are different issues you might notice that aren't part of this bug report:
- the Master Slides sidebasr opens with zero width, this is bug 150639,
- if the sidebar deck was already open, the previews aren't shown right away, this is bug 114980,
- some colors in templates turn into blue, this is bug 135060,
- preview changes to a different master slide in the same template.
Comment 1 Rafael Lima 2022-09-13 18:51:25 UTC
Reproduced with

Version: 7.3.5.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 12; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.5-0ubuntu0.22.04.1
Calc: threaded

I first clicked Candy and when I clicked Freshes the thumbnail of "Freshes" changed to the "Candy" thumbnail and the master slide did not change.
Comment 3 Commit Notification 2023-02-28 06:33:55 UTC
Henry Castro committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/d4f6202c3ad6f5c970093c7df7c89bba1ba22c3f

tdf#150925 sd: templates: fix missing attribute "style:display-name"

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.
Comment 4 Aron Budea 2023-02-28 14:07:04 UTC
This should be fixed now.