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

            Bug ID: 163729
           Summary: Certain configurations mark italics as Not Italic for
                    the purposes of format searching
           Product: LibreOffice
           Version: 24.2.5.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
There are numerous ways in which italics or regular text can be somehow
incorrectly marked as italic or non-italic, as far as the Find -> Format
dialogue is concerned. Sometimes when it shows up, reversing the change made
doesn't reverse the problem, or produces other unexpected results. When this
happens, "Clear Direct Formatting" or toggling the italics on and off doesn't
work either. Sometimes the only way I've been able to fix it is by deleting the
passage and retyping it completely.

Steps to Reproduce:
1. Type something like the following, with [i][/i] indicating italicized
passages:

Lorem ipsum dolor one. [i]Lorem ipsum dolor two?[/i] Lorem ipsum dolor three.
[i]Lorem ipsum dolor four?[/i] Lorem ipsum dolor five.

So far this works fine.

2. Italicize a single word in the middle of a sentence:

Lorem ipsum dolor one. [i]Lorem ipsum dolor two?[/i] Lorem ipsum dolor three.
[i]Lorem ipsum [/i]dolor[i] four?[/i] Lorem ipsum dolor five.

3. Do a "Find All" for "Format: No Italic", or enable Regular Expressions and
search for "." for "Format: No Italic".

Actual Results:
Using "Find All" for "Format: Not Italic" will not highlight sentence three.
Searching for Regular Expression ".", "Format: Not Italic", will highlight
every character in the first sentence and the "d" in our non-italicized word.

Expected Results:
The first, third, and fifth sentences should have been highlighted as well as
the word "dolor" in the fourth sentence.

Or, when searching for ".", every non-italicized character should have been
highlighted., i.e., "Lorem ipsum dolor one.  Lorem ipsum dolor three.  dolor 
Lorem ipsum dolor five."


Reproducible: Always


User Profile Reset: Yes

Additional Info:
This particular example is reversible, by re-italicising the word we
un-italicized, but I haven't been able to undo every example of this happening.
"Clear Direct Formatting" doesn't do anything either. This is one reproducable
example, but I noticed it during writing when trying to search for all
italicized portions of the text. Sometimes, italicized portions will get
selected as well. I'm unclear what causes it most of the time, and so far the
only sure way I've found of working around it is deleting the entire paragraph
and rewriting it, however, there's no workaround if you want to write something
like the above example. Your formatting will simply not be searchable the way
it should be.

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

Reply via email to