[Libreoffice-bugs] [Bug 96147] FILESAVE: duplicate fo:background-color attributes

2016-02-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=96147

Michael Stahl  changed:

   What|Removed |Added

   Keywords||regression
 CC||zolnaitamas2...@gmail.com
   Assignee|libreoffice-b...@lists.free |mst...@redhat.com
   |desktop.org |
 Whiteboard||odf dataLoss

--- Comment #13 from Michael Stahl  ---
i can't reproduce the problem... but i'm highly suspicious of this commit:


commit f880962f5bf26bfaef06bd3f9e67e2d901a2e74c
Author: Zolnai Tamás 
AuthorDate: Wed Mar 18 10:25:05 2015 +0100

Char highlight: ODT filters

Export merges the two background attribute.


... which adds another property that exports to the offending
fo:background-color attribute, and was added in LO 5.0... that's
just too much of a coincidence...


... alright this reproduces the problem from scratch:

Sub Main

c = ThisComponent.Text.createTextCursor()

c.setString("foo bar baz")

c.goRight(4, false)
c.goRight(3, true)

msgbox(c.getString())

c.CharBackColor = 0
c.CharHighlight = 0
c.CharBackTransparent = 1

End Sub

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 96147] FILESAVE: duplicate fo:background-color attributes

2016-01-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=96147

--- Comment #12 from Maxim Monastirsky  ---
*** Bug 97360 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 96147] FILESAVE: duplicate fo:background-color attributes

2016-01-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=96147

Maxim Monastirsky  changed:

   What|Removed |Added

 CC||p.e.timoshe...@gmail.com

--- Comment #11 from Maxim Monastirsky  ---
*** Bug 97360 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 96147] FILESAVE: duplicate fo:background-color attributes

2015-12-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=96147

--- Comment #10 from dstrz...@gmail.com ---
Created attachment 121484
  --> https://bugs.documentfoundation.org/attachment.cgi?id=121484=edit
previously saved document

Does this help?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 96147] FILESAVE: duplicate fo:background-color attributes

2015-12-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=96147

--- Comment #7 from Paolo Meozzi  ---
Created attachment 121213
  --> https://bugs.documentfoundation.org/attachment.cgi?id=121213=edit
Document template and macro

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 96147] FILESAVE: duplicate fo:background-color attributes

2015-12-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=96147

--- Comment #8 from Paolo Meozzi  ---
I found a pattern! But I do not know how useful.
The problem happens when I paste code fragment from Visual Studio (2013), but
only when using a particular document template.
Since version 4.x (I think), the pasted code from VS maintains the white
background and thus change the background that I have assigned to the style
"code" in my documents.
For this reason I created a macro that applies the style and sets the
background transparent the selected text.
Everything works fine except in one case:
1) I paste a snippet of code from VS (OK)
2) applying macro (OK)
3) paste the new fragment of VS within the code already formatted. (OK)
4) apply the macro again (only) to the fragment just pasted (oh oh!)
Save to disk ... and the document is corrupt: the background is set twice,
transparent and white.

I added the document templates and macros that format text.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 96147] FILESAVE: duplicate fo:background-color attributes

2015-12-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=96147

Maxim Monastirsky  changed:

   What|Removed |Added

 Status|NEEDINFO|NEW

--- Comment #9 from Maxim Monastirsky  ---
(In reply to Paolo Meozzi from comment #8)
> I found a pattern! But I do not know how useful.
Very useful! I reproduced exactly with your steps (but with VS 2015).

Version: 5.2.0.0.alpha0+
Build ID: 6fd3f3caad1a559165dc9332249cbd0d84930775
Threads 1; Ver: Windows 6.1; Render: default; 

TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-12-08_23:31:11

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 96147] FILESAVE: duplicate fo:background-color attributes

2015-12-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=96147

Maxim Monastirsky  changed:

   What|Removed |Added

 CC||mst...@redhat.com

--- Comment #6 from Maxim Monastirsky  ---
(In reply to Paolo Meozzi from comment #5)
> i'm sorry, but I have no chance: the bug occurs randomly.
That's unfortunate. Adding Michael to CC. Maybe he has an idea why is this
duplicate fo:background-color="transparent" added to styles.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 96147] FILESAVE: duplicate fo:background-color attributes

2015-12-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=96147

Maxim Monastirsky  changed:

   What|Removed |Added

   Priority|medium  |highest
 CC||momonas...@gmail.com
Version|unspecified |5.0.1.2 release
Summary|Writer Document will not|FILESAVE: duplicate
   |open|fo:background-color
   ||attributes
   Severity|normal  |critical

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 96147] FILESAVE: duplicate fo:background-color attributes

2015-12-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=96147

--- Comment #4 from Maxim Monastirsky  ---
dstrzele/Paolo: Any chance of getting a version of the document one step before
the corruption happens, so we can reproduce the buggy saving? This will help us
a lot in fixing this. Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 96147] FILESAVE: duplicate fo:background-color attributes

2015-12-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=96147

--- Comment #5 from Paolo Meozzi  ---
Maxim Monastirsky, i'm sorry, but I have no chance: the bug occurs randomly.
Today I changed the document three times: twice it went well, once was corrupt.

I suspect that my document has problems, because the frequency with which it is
corrupt is unacceptable.
(With Writer: Version 3 <-> 4 I never had problems)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs