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

--- Comment #10 from Eyal Rozenberg <[email protected]> ---
@Danat: I believe you are receiving less-than-thorough treatment of one or more
of your recent reports because of the nature of your interaction with the
system, and with people, rather than because of the merit of those reports.
Please appreciate that this might be the case and that promoting your bugs is
important enough to tweak your approach somewhat.

@Heiko:

> Your text is formatted as <p>Hello World<bold></p> and input after the tilde
> will be bold. 

Well, we do see this in the style inspector, but bear with me for a second.
When I decompress the DOCX file, this is what I see inside the w:tc with the
tilde:

          <w:p>
            <w:pPr>
              <w:pStyle w:val="TableContents"/>
              <w:bidi w:val="0"/>
              <w:spacing w:lineRule="auto" w:line="274" w:before="0"
w:after="140"/>
              <w:ind w:hanging="0" w:start="0" w:end="0"/>
              <w:jc w:val="start"/>
              <w:rPr>
                <w:rFonts w:ascii="Google Sans Text;sans-serif" w:hAnsi="Google
Sans Text;sans-serif"/>
                <w:b/>
                <w:bCs/>
              </w:rPr>
            </w:pPr>
            <w:r>
              <w:rPr/>
              <w:t>~</w:t>
            </w:r>
          </w:p>


So, there's an emboldening inside the run properties, that are within the
parapgraph properties. Then we have a run with the tilde, with an empty rPr
element, and then nothing. I'm not a DOCX expert, but I have to ask: 

* Is it really the correct behavior to start typing outside the tilde run,
rather than continuing it? i.e. is this mandated by OOXML? Is it an explicit
policy choice of ours?
* Is it the behavior users would expect?
* Is this the behavior of MS Word?

These are not rhetorical questions (and I still have to try this in MSO).

> You should avoid copying content from random sources, in
> particular web sites, or insert as plain text. An alternative is to remove 
> direct formatting.

It's true that removing DF makes the problem go away. But - we support copying
formatted text from web pages and pasting it into LibreOffice. So even if it is
better to avoid directly-formatted text and to use styles - we must still
ensure valid behavior when copy-pasting formatted text as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to