[Libreoffice-bugs] [Bug 136982] New: copy/paste and bulleted text

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Sep 23 16:54:29 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=136982

            Bug ID: 136982
           Summary: copy/paste and bulleted text
           Product: LibreOffice
           Version: 7.0.0.1 rc
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: lg at spirale-ingenierie.com

Description:
I defined a style named "puce-1" as bullet+indentation (before text = 3 cm and
first line = -0.4 cm).
It works fine when I enter text from the keyboard but if I copy and paste a
previous text of this style, the new text is aligned with the left margin of
the page. Applying the style again doesn't change anything.

After investigation, the copied text style has changed : the value of before
text is set to 0.40 cm instead of 3 cm, the value of first line remains at
-0.40 cm.

I used the InsideClipboard tool from Nirsoft to verify the clipboard content :
the HTML version of the content seems to be correct : 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
        <title></title>
        <meta name="generator" content="LibreOffice 7.0.0.2 (Windows)"/>
        <meta name="created" content="00:00:00"/>
        <meta name="changed" content="00:00:00"/>
        <style type="text/css">
                @page { size: 21cm 29.7cm; margin: 2cm }
                p.puce-1 { margin-left: 3cm; text-indent: -0.4cm; direction:
inherit; line-height: 120% }
                p.paragraphe { text-indent: 1.3cm; direction: inherit;
line-height: 120% }
                p { margin-bottom: 0.25cm; line-height: 115%; text-align:
justify; background: transparent }
                a:visited { color: #800000; so-language: zxx; text-decoration:
underline }
                a:link { color: #000080; so-language: zxx; text-decoration:
underline }
        </style>
</head>
<body lang="fr-FR" link="#000080" vlink="#800000" dir="ltr">
<ul><li><p class="puce-1">Fixer le HPA à 10 Go de manière volatile
        (perdu au redémarrage)</p>
</ul>
</body>
</html>

I don't know if it is the same problem but I can't increase or decrease the
indent of this text with the toolbar buttons : only the bullet changes. I have
to click on the Toggled Bulleted List button to take the control of the text...
When the text is manually bulleted, the style cannot be applied = no effect.

When I made a test from a new file in order to write a procedure to reproduce
the problem, many problems occurs with bullets but sometimes it works... I was
able to reproduce the problem without creating a style but only by changing the
paragraph settings.

Finally it's hard to write a procedure to reproduce the problem but I see a
general problem : what properties are really apply when a style is applied. On
a bulleted text, you can apply "text body" style as so many times you want
without being able to remove the bullet... Even the clear formatting has no
effect


Steps to Reproduce:
1.create a new file
2.type "example text" on first line
3.right click on the text and open the paragraph properties window.
4.set before text to 3 cm and first line to -0.4 cm
5.set numbering style to the bullet
6.click on ok
7.the text is misaligned
8.open the paragraph properties window : before text is set to 0.4 cm



Actual Results:
"before text" is set to 0.4 cm instead of 3 cm

Expected Results:
"before text" = 3 cm


Reproducible: Sometimes


User Profile Reset: No



Additional Info:
Version: 7.0.0.2 (x64)
Build ID: c01aa64b6c3d89ebe5fe69c28c7adb24eb85249c
CPU threads: 8; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: en-US
Calc: CL

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200923/268f8298/attachment.htm>


More information about the Libreoffice-bugs mailing list