[Upstream] bullet points change to rectangle glyphs after saving attached as docx and reopening

Bug #817013 reported by Logan Rosen
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
LibreOffice
Fix Released
Medium
libreoffice (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

1) lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

2) apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:3.3.3-1ubuntu2
  Candidate: 1:3.3.3-1ubuntu2
  Version table:
 *** 1:3.3.3-1ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-proposed/main i386 Packages
        100 /var/lib/dpkg/status
     1:3.3.2-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
     1:3.3.2-1ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

3) What is expected to happen in LibreOffice Writer via the Terminal:

cd ~/Desktop && wget -c https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/817013/+attachment/2241146/+files/Bullet%20Bug.odt -O info.odt && lowriter -nologo info.odt

save as info.docx, close the file, and open info.docx and it looks as it does in info.odt.

4) What happens instead is the bullet points are replaced with rectangles in LO 3.3.2, and some other symbol in 3.3.3.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: libreoffice-core 1:3.3.2-1ubuntu5
Uname: Linux 2.6.38.3+ i686
Architecture: i386
Date: Wed Jul 27 10:24:48 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: libreoffice
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
In , TB2 (gt6) wrote :

Created attachment 43910
Original formatting

1) Make a new empty document in libreoffice
2) Add a line of text, make it a bullet list by pressing the bullet list button
3) Add some more bullets, maybe indent some of the bullets
4) Save as .doc or .docx
5) Close document
6) Open same document again in libreoffice
7) Bullets are now either moved about (if from .doc) or they show up as squares (if from .docx)

See attached screenshots, first is the original document, second is the reopened .doc, third is the reopened .docx.

Revision history for this message
In , TB2 (gt6) wrote :

Created attachment 43911
Reopened .doc file in libreoffice

Revision history for this message
In , TB2 (gt6) wrote :

Created attachment 43912
Reopened .docx in libreoffice

Revision history for this message
In , TB2 (gt6) wrote :

Created attachment 43913
Original .odt file, correct formatting

Revision history for this message
In , TB2 (gt6) wrote :

Created attachment 43914
Saved .docx file, square bullet points showing

Revision history for this message
In , TB2 (gt6) wrote :

Actually, I revise my report on .doc files, the problem was that I saved as .doc 95 instead of 97/2000/XP.

The .docx bug however remains.

Revision history for this message
In , Cedric-bosdonnat-ooo (cedric-bosdonnat-ooo) wrote :

Lubos, could you have a look at this issue?

Revision history for this message
In , L-lunak (l-lunak) wrote :

Strange. Export appears to be correct, since msof can open the file correctly afterwards. In fact even import seems to be correct, as such, since msof can open the file correctly even after a roundtrip. Somehow just the internal structures are not set up correctly for showing up in the editor.

Revision history for this message
In , L-lunak (l-lunak) wrote :

Ok, the trouble is with fonts. Those marks use a special font, which seems to be 'Wingdings' or 'Wingdings 2', even on Linux, where there is no such font (and these fonts are written in w:rFonts, but not in fontTable.xml). While reading the data the code doesn't seem to know anything about these fonts (even if fontTable.xml contains them because being written by msof) and uses wrong charset, resulting in the incorrect display. Manually hacking the two SetBulletFont calls in UNO in SW to explictly set the right charset works around the issue.

Revision history for this message
In , L-lunak (l-lunak) wrote :

Created attachment 44069
sw patch

This one should fix the font not being listed in fontTable.xml (which I assume is needed for any font that is used by the document).

Revision history for this message
In , L-lunak (l-lunak) wrote :

Created attachment 44070
writerfilter patch

This I think should implement reading w:charset, both the ECMA and ISO ways. But the read value doesn't seem to be used later.

Revision history for this message
In , vossman77 (vossman77) wrote :

Confirmed still a problem in LO 3.3.3, I assume these patches will be applied to 3.4? Is bug now closed? I am going to propose it as a 3.4 most annoying bug.

Revision history for this message
In , L-lunak (l-lunak) wrote :

As comment #10 says, the fix is incomplete.

Revision history for this message
In , Zcreveling (zcreveling) wrote :

(In reply to comment #5)
> Actually, I revise my report on .doc files, the problem was that I saved as
> .doc 95 instead of 97/2000/XP.
>
> The .docx bug however remains.

Saving as a 97/2000/XP .doc file produces the exact same results as saving as a .docx file for me.

Revision history for this message
In , Zcreveling (zcreveling) wrote :

Created attachment 45206
Bullets opened in .docx

Actually, the bullets look different for me than they do for the OP. I'll attach a screenshot of what mine look like. I opened the .docx that was attached here, but whether the file is a .docx or a .doc the bullets look the exact same for me.

Revision history for this message
In , Zcreveling (zcreveling) wrote :

*** Bug 35851 has been marked as a duplicate of this bug. ***

Revision history for this message
In , vossman77 (vossman77) wrote :

is anyone working on this, changing from ASSIGNED to NEW

Revision history for this message
In , Cno (cno) wrote :

*** Bug 35065 has been marked as a duplicate of this bug. ***

Revision history for this message
In , G-sergey-3 (g-sergey-3) wrote :

Bug and workaround (see 35065) are the same for 3.4.2 RC2/Windows OOO340m1 (Build:202)

Revision history for this message
Logan Rosen (logan) wrote :
Revision history for this message
penalvch (penalvch) wrote :

Logan, thank you for reporting this and helping make Ubuntu better. Could you please attach a .odt file that when saved into .docx demonstrates this problem?

Changed in libreoffice (Ubuntu):
status: New → Incomplete
Revision history for this message
Logan Rosen (logan) wrote :

Here's a docx with the bullet bug. I created it with normal bullets, saved it as docx, and then reopened it, at which point the bullets turned into rectangular glyphs.

Revision history for this message
penalvch (penalvch) wrote :

Logan, could you please attach the .ODT file?

Revision history for this message
Logan Rosen (logan) wrote :

Here's the ODT version of the same docx file.

Revision history for this message
penalvch (penalvch) wrote :

Logan, thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as Triaged and let them handle it from here. Thanks for taking the time to make Ubuntu better!

description: updated
tags: added: lo33
Changed in libreoffice (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Triaged
penalvch (penalvch)
summary: - bullet points change to rectangle glyphs after saving as docx and
- reopening
+ [Upstream] bullet points change to rectangle glyphs after saving as docx
+ and reopening
Changed in df-libreoffice:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
In , G-sergey-3 (g-sergey-3) wrote :

I am unable to reproduce this bug in fresh install of Windows XP corportate, with and without russian MUI installed and russian locale selected.

And LO 3.4.3 on old machines seems to still have it.
May be there is some concerns with previous installation of Microsoft Office?

Revision history for this message
In , G-sergey-3 (g-sergey-3) wrote :

more about russian and english versions of windows.
The same file looks different!
Bullet looks as disk in EN version but as mercedes sign in RU version.
And, if go to settings and manually choose U+2022 when formatting the list, bullet symbol is shown correctly in both version.
But if not do it, the symbol is U+F0F1 (some character from unicode "private use area") - it can be seen in properties or in binary comparation of good and bad files. It seems that main concern is about this U+F0F1 character, which looks differently in different OSes. Main question: why is it used and how to force U+2022 by default instead?

Revision history for this message
In , Shaun Crampton (fasaxc) wrote :

I'm seeing this bug in version 3.3.3 OOO330m19 (build 301) (Ubuntu). I save as .doc 97/XP and then reopen in either LO (same machine) or Word (on a Mac) and see the Mercedes symbol. The Ubuntu machine is in the UK locale. Font is arial.

Revision history for this message
In , Shaun Crampton (fasaxc) wrote :

PS. By UK, I mean United Kingdom (enGB).

(In reply to comment #21)
> I'm seeing this bug in version 3.3.3 OOO330m19 (build 301) (Ubuntu). I save as
> .doc 97/XP and then reopen in either LO (same machine) or Word (on a Mac) and
> see the Mercedes symbol. The Ubuntu machine is in the UK locale. Font is
> arial.

Revision history for this message
In , Shaun Crampton (fasaxc) wrote :

I just upgraded but I still see the issue with the following version, again I tried word 97/XP format:

LibreOffice 3.3.4
OOO330m19 (Build:401)
tag libreoffice-3.3.3.1, Ubuntu package 1:3.3.4-0ubuntu1

This is a pretty debilitating bug for those affected. I'm having to email documents to a friend with Word and then edit each bullet back to being a circle before I send out a document.

Revision history for this message
In , Westley52 (westley52) wrote :

I agree that this is a pretty debilitating bug - particularly for people writing resumes in this difficult economy. Instead of true bullet points, the people receiving the resumes are receiving a weird character if shared in Word format. This definitely does not look professional.

Revision history for this message
In , penalvch (penalvch) wrote :

Lubos Lunak, the problem exporting the attachment https://bugs.freedesktop.org/attachment.cgi?id=43913 to .docx (either version) or Microsoft Word 97/2000/XP/2003 .doc is unreproducible.

The amendment from Comment #5 is still reproducible exporting the attachment to Microsoft Word 95 .doc as the spacing between the bullet and the words are eliminated.

lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04

apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:3.5.0~beta2-2ubuntu3
  Candidate: 1:3.5.0~beta2-2ubuntu3
  Version table:
 *** 1:3.5.0~beta2-2ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
        100 /var/lib/dpkg/status

Marking back to ASSIGNED.

Vossman, as noted above, this bug has been Assigned To: Lubos Lunak. Please do not toggle the Status.

Revision history for this message
penalvch (penalvch) wrote : Re: [Upstream] bullet points change to rectangle glyphs after saving as docx and reopening

Logan, I am closing it because the bug has been fixed in the latest development version of Ubuntu - Precise Pangolin.

This is a significant bug in Ubuntu. If you need a fix for the bug in previous versions of Ubuntu, please do steps 1 and 2 of the SRU Procedure [1] to bring the need to a developer's attention.

[1]: https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

Changed in libreoffice (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
In , Korrawit Pruegsanusak (detective-conan-1412) wrote :

Lubos, I see that you have committed a fix:

http://cgit.freedesktop.org/libreoffice/core/commit/?id=58de34f6330e7093238bae2a14982e598867b336

So, could we mark this bug as fixed?

Revision history for this message
In , L-lunak (l-lunak) wrote :

No, it is only a part of the fix.

Changed in df-libreoffice:
status: Confirmed → In Progress
Revision history for this message
In , Tim Richardson (tim-richardson) wrote :

*** Bug 45416 has been marked as a duplicate of this bug. ***

Revision history for this message
In , timar (timar74) wrote :

*** Bug 46974 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Libreoffice-z (libreoffice-z) wrote :

3.4 lifecycle is terminated, so shifted to "Bug 37361 - LibreOffice 3.5 most annoying bugs"

Revision history for this message
In , Libreoffice-bugs (libreoffice-bugs) wrote :

Caolan McNamara committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=13e6af8860f42daf49474a7ae9779baa0f8f2630

Related: fdo#34814 check if a missing font is a known symbol font

Revision history for this message
In , L-lunak (l-lunak) wrote :

Fixed.

Revision history for this message
In , Libreoffice-bugs (libreoffice-bugs) wrote :

Caolan McNamara committed a patch related to this issue.
It has been pushed to "libreoffice-3-5":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=1dc9f21667237bf61ec8d2a9e50b7fb8a61d475b&g=libreoffice-3-5

Related: fdo#34814 check if a missing font is a known symbol font

It will be available in LibreOffice 3.5.4.

Revision history for this message
In , Wugs (wugs) wrote :

*** Bug 43866 has been marked as a duplicate of this bug. ***

Changed in df-libreoffice:
status: In Progress → Fix Released
Revision history for this message
In , Wugs (wugs) wrote :

Maybe I miss something, but I can still reproduce this bug on MacOS X with LOdev version 3.6.0alpha0+ (Build ID: 9e536d2; installation file: master~2012-05-11_06.13.05_LibO-Dev_3.6.0alpha0_MacOS_x86_install_en-US.dmg).

Shouldn't the fix from comment #31 (2012-05-09 06:14:49 PDT) be in this build? Or does the fix not fix the problem on MacOS X?

I tried the 'Original .odt file, correct formatting' from the Attachments list above. If I open it with the Master build, it looks fine, but if I save it as .doc or .docx file, close the file and open the new .doc or .docx file, it looks still wrong (no bullets visible, instead just generic placeholder glyphs).

If someone else could please try (a) on Windows and/or Linux and (b) on MacOS, we could decide if I just missed something or if we should reopen this report or if we should create a new, separate bug report (if the bug is still reproducible, but this time only on MacOS). Thank you!

Revision history for this message
In , Wugs (wugs) wrote :

And also still reproducible with LOdev version 3.6.0alpha0+ (Build ID: e3bc45b; installation file: master~2012-05-13_00.05.49_LibO-Dev_3.6.0alpha0_MacOS_x86_install_en-US.dmg), again on MacOS X. So actually a special MacOS issue (-> will open a separate bug report), or ...? Pls. confirm.

Revision history for this message
In , L-lunak (l-lunak) wrote :

Document from comment #3, when re-saved as .doc or .docx, works fine for me with master build on Linux.

Revision history for this message
In , Digitalant-com (digitalant-com) wrote :

I tested this in 3.5.4rc1, found the same behavior in numbered lists. Wasn't sure if it was the same bug since it wasn't a bullet, so I created another...
https://bugs.freedesktop.org/show_bug.cgi?id=50119

Revision history for this message
In , Wugs (wugs) wrote :

(In reply to comment #37)
> Document from comment #3, when re-saved as .doc or .docx, works fine for me
> with master build on Linux.

I have waited some days if someone could confirm the fix on Windows, but if I understand correctly the absence of any complains just means the same thing ;-) So, this issue is fixed now for Windows and Linux. But it is not yet fixed in LibreOffice 3.5.4.1 and the current LOdev (Master) on MacOS X, or, if you prefer another wording, there is still a very similar bug in LibreOffice for MacOS X.

For this special MacOS issue I have created the new bug 50284.
Any discussion regarding the remaining issue on MacOS should go to that bug report (and not here).

@Lubos Lunak,
@Caolan McNamara:
It is great that this long-standing issue is now fixed. Thank you very much! Now it would be wonderful, if you could take a look at the remaining MacOS issue (bug 50284) and try to fix it, too ;-) Thank you very much in advance ...

Revision history for this message
In , Wugs (wugs) wrote :

*** Bug 41321 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Iplaw67 (iplaw67) wrote :

(In reply to comment #39)

Hi Roman,

> For this special MacOS issue I have created the new bug 50284.
> Any discussion regarding the remaining issue on MacOS should go to that bug
> report (and not here).
>

Will check it out later when I get some time.

Alex

Revision history for this message
In , Júlio Reis (julio-reis) wrote : Re: [Upstream] bullet points change to rectangle glyphs after saving as docx and reopening

I don't get this… where is the corresponding MacOS issue? The link above to "bug 50284" takes me to a bug "[has patch] flashplugin-nonfree does not install".

I still have this bug in LO 3.5.5.3 on MacOS 10.7.4. A bit annoying. Well… if it weren't annoying, it would be not a bug, but a feature! :-)

Revision history for this message
Ken (ken-waggies) wrote :

At the top I see "Fix released". Bunkum.

Ubuntu 64bit 16.04, LibreOffice 6.0.4.2, on a Dell XPS laptop.

I create a new document with LibreOffice Writer, bullet some lines in it, save it as a .docx.
When I open it, the bullets are rectangles containing a question mark.
If this is a font issue, how come they displayed correctly when I created them?

How can a basic bug like this persist for so long? It makes a mockery of LibreOffice as a replacement for Microsoft Office.

Revision history for this message
Olivier Tilloy (osomon) wrote :

@Ken: can you confirm you're running the snap package of libreoffice (in the about dialog box, what's the value of "Build ID" ?). If so, there's a separate bug report to track the issue: bug #1748518.

Revision history for this message
penalvch (penalvch) wrote :

Ken (ken-waggies), as per the Bug Description, the scope of this closed report was how the attached document wasn't working (i.e. completely different problem then yours), which was fixed by commit upstream as per TDO#34814, and still is fixed in Bionic with the LO version from the supported Ubuntu repositories (i.e. no regressions).

Hence, since you are using an upstream version of LibreOffice, feel free to file a report with them via:
https://bugs.documentfoundation.org/enter_bug.cgi?product=LibreOffice

summary: - [Upstream] bullet points change to rectangle glyphs after saving as docx
- and reopening
+ [Upstream] bullet points change to rectangle glyphs after saving
+ attached as docx and reopening
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.