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

            Bug ID: 120397
           Summary: FILESAVE doesn't save all the text in text box control
           Product: LibreOffice
           Version: 6.0.6.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Draw
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: conman53...@yahoo.com

Description:
I added text to a text box control.  I save the file.  I later open the file
and add text to the text box.  I save the file.  I later open the file and the
added text is not displayed.

I renamed the ODG file to a ZIP file. Opened it and looked at the "content.xml"
file. After Draw saves it, there are two places where the field content is
stored. One is the full text. The other is how it's displayed.

Under this tag: <form:textarea form:name="Features &amp; Traits Textbox"

You'll find this current-value setting:

form:current-value="Halfling  Lucky: Reroll attack, ability check, or saving
throw when a 1 is rolled (must use new roll). Nimbleness: Can move through the
space of any creature that is larger than me (small). Brave: Advantage on
saving throws against being frightened. Stout: Advantage on saving throws
against poison damage and have resistance against poison damage.  Monk Unarmed
Defense: if no armor or shield AC=10 + Dex mod + Wis mod  Ki = 2 Flurry of
Blows: 1 ki for 2 unarmed bonus attacks Patient Defense: 1 ki for bonus dodge
Step of the Wind: 1 ki to disengage or dash as a bonus action, jump distance is
doubled for the turn    test"

Then a few lines later, there's text tags that are missing that last bit of
text "test" I added above while in Draw, so it's not displayed:

<text:p text:style-name="P1">Lucky: 
              <text:s />Reroll attack, ability check, or saving
              throw when a 1 is rolled (must use new
              roll).</text:p>
              <text:p text:style-name="P1">Nimbleness: Can move
              through the space of any creature that is larger than
              me (small).</text:p>
              <text:p text:style-name="P1">
              <text:span text:style-name="T1">Brave</text:span>:
              Advantage on saving throws against being
              frightened.</text:p>
              <text:p text:style-name="P1">Stout: Advantage on
              saving throws against poison damage and have
              resistance against poison damage.</text:p>
              <text:p text:style-name="P1" />
              <text:p text:style-name="P1">Monk</text:p>
              <text:p text:style-name="P1">Unarmed Defense: if no
              armor or shield</text:p>
              <text:p text:style-name="P1">AC=10 + Dex mod + Wis
              mod</text:p>
              <text:p text:style-name="P1" />
              <text:p text:style-name="P1">Ki = 2</text:p>
              <text:p text:style-name="P1">Flurry of Blows: 1 ki
              for 2 unarmed bonus attacks</text:p>
              <text:p text:style-name="P1">Patient Defense: 1 ki
              for bonus dodge</text:p>
              <text:p text:style-name="P1">Step of the Wind: 1 ki
              to disengage or dash as a bonus action, jump distance
              is doubled for the turn</text:p>
              <text:p text:style-name="P1" />

So the problem is that Draw doesn't save _all_ the text in the <text> tags...at
least not consistently. It's probably easier to see in the attachment.

Steps to Reproduce:
1. Open attached ODG file.
2. Click on 2nd page, then on the first page so you can add content in textbox
control.
3. Add text to the "Features & Traits" textbox.
4. Save file.
5. Exit Draw application.
6. Open file using Draw.
7. See that added text is not being displayed.


Actual Results:
Added text is not displayed, despite being stored in ODG's content.xml file.

Expected Results:
Display all the added text in textbox control when ODG file subsequently
opened.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 6.0.6.2
Build ID: 1:6.0.6-0ubuntu0.18.04.1
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); Calc: group

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

Reply via email to