Bug 73093

Summary: FORMATTING: Images lose their style on reopening
Product: LibreOffice Reporter: pierre-yves samyn <pierre-yves.samyn>
Component: ImpressAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: cno, pierre.choffardet, sberg.fun, timar74
Priority: medium Keywords: regression
Version: 4.2.0.1 rc   
Hardware: Other   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Presentation with one image in custom style

Description pierre-yves samyn 2013-12-28 08:05:20 UTC
Created attachment 91250 [details]
Presentation with one image in custom style

Steps to reproduce

1. Open the attached test.odt 

Expected result: Picture on diapo1 with a shadow (custom style "Portrait" applied)
Actual result: Picture applies "Default" style (no shadow)

2. Format> Styles & formatting (F11) (if not already displayed)
3. Select the picture on diapo1

Expected result: Custom "Portrait" style selected in the style list.
Actual result: Default style is selected

4. Apply Custom "Portrait" style (double click on style name)
5. Save, Close, Re-open

The style is not applied...

Reproduced on windows 7/64 with
- Version: 4.2.0.1 Build ID: 7bf567613a536ded11709b952950c9e8f7181a4a
- Version: 4.3.0.0.alpha0+ Build ID: f279acd3678d014d9d5dafe41971e0da4dec7b6c
TinderBox: Win-x86@47-TDF, Branch:master, Time: 2013-12-13_23:25:16

Regression

Was ok on windows 7/64 with
- Version: 4.1.4.2 Build ID: 0a0440ccc0227ad9829de5f46be37cfb6edcf72

Set to new because has been reproduced (fr-users, fr-qa).

Regards
Pierre-Yves
Comment 1 Cor Nouws 2013-12-28 08:51:24 UTC
I open the attached file in 4.2.0.1
Select image, apply the style Portrait
Save and close
reopen
  > Style is not applied.
reopen in 4.1.4.2
  > Style is applied

Do you regognise this ?
(Somehow I feel I've seen this bug before...)

thanks, Cor
Comment 2 Andras Timar 2014-03-20 13:53:10 UTC
 f0a9ca24fd4bf79cac908bf0d6fdb8905dc504db is the first bad commit
commit f0a9ca24fd4bf79cac908bf0d6fdb8905dc504db
Author: Stephan Bergmann <sbergman@redhat.com>
Date:   Thu Nov 14 10:39:27 2013 +0100

    rhbz#887420 Implement "block untrusted referer links" feature
Comment 3 Stephan Bergmann 2014-03-24 12:35:55 UTC

*** This bug has been marked as a duplicate of bug 73436 ***