Issue 83089 - Local formatting prevents paragraph style formatting
Summary: Local formatting prevents paragraph style formatting
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 2.3
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2007-10-29 15:55 UTC by oyoryel
Modified: 2013-08-07 14:38 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description oyoryel 2007-10-29 15:55:22 UTC
Writer doesn't seem to apply paragraph styles correctly if local formatting is
present. An example:

1. I start a new document
2. I type a line, including one word in italics (I do this by entering ctrl-i or
the button before the word, and again after the word. If I type the word first
and italicise it after selecting it, the problem doesn't show up)
3. I type a second line (both lines are now in the default style)
4. In the styles and formatting menu, I change the properties of the default
style to include italic

Now the first line is italicised up to the already italicised word, but not the
part after it, and neither are any following lines.
I could also reproduce this bug by changing to another style first and editing
that style. It also seemed that if this bug was present, other paragraph styles
in following paragraphs couldn't be changed to italic, as if the "italic ending"
(like </i> in HTML) in the first line ends the italic style for the whole document.
Comment 1 mike_hall 2007-10-30 14:29:11 UTC
confirmed with current version (OOG680_m7) in windows - indeed very odd
Comment 2 frank.meies 2007-10-30 14:50:22 UTC
fme: Works as designed. First, an italic attribute is set at the current typing
position. This attribute is expanded and when disabling the italics attribute,
an attribute "non-italic" is set. This attribute spans the rest of the line and
is copied to the second paragraph on creation of the second paragraph. Since
hard attribute have priority over attributes coming from paragraph styles, the
"non-italic" attribute is applied. If you select some text and choose it to be
"italic", only an italic attribute is applied to the currently selected text.
I'll resolve this as "invalid"
Comment 3 oyoryel 2007-10-30 15:16:42 UTC
Okay, but I doubt that it is the intention of someone who enters a whole
document with one italic word in the first line that no paragraphs following it
can be made italic with a paragraph style.
I understand the reasoning, but I think that when you disable the italic
attribute, you want to reset the writer to a 'neutral' state, and not a forced
non-italic state.
Just my opinion though, I won't reopen the bug.
Comment 4 mike_hall 2007-10-30 16:08:29 UTC
Not sure I'm happy with this resolution. I understand what happens. However this
kind of situation would be virtually impossible for the average user to debug.
Not sure I could either. How do you see that a hard 'not italic' is set for a
paragraph and how do you change it? Don't know what the answer is, but I would
strongly argue that if that's the design, it can't be right if the user cannot
easily work out what's going on.
Comment 5 frank.meies 2007-10-30 16:22:06 UTC
Ok, I see your point. On the other hand that's the way it works since the
beginning of time. Feel free to reopen the bug or file a request for
enhancement. But I seriously doubt that this behavior will be changed soon.
Comment 6 michael.ruess 2007-10-31 10:35:46 UTC
Reopening issue, the current behavior maybe "working as designed" - but it is
not really intuitive for the user and -of course- not what he expects.
Comment 7 michael.ruess 2007-10-31 10:39:55 UTC
MRU->FL: this is an issue right between "Enhancement" and "Defect". On the one
hand, the current behavior is anything else then intuitive - on the other hand
somehow in the stone age this has been designed as is.
Comment 8 mike_hall 2007-11-01 00:29:41 UTC
@mru Thanks for reopening.

OOo Later implies never, which is a bit uncomfortable for a usability enhancement.

Just in case this might help to bring that forward, here's two suggestions about
what might be more intuitive, though it's always difficult to be sure they
wouldn't have unwelcome side effects:

- applying a paragraph style to remove any hard 'not italic' and similar
attributes which start at the beginning of a paragraph, ie the user should get
what he asks for and might reasonably expect
- when an attribute like 'not italic' is created because the user presses
newline, but the new paragraph would without the attribute still be eg not
italic, then do not attach the attribute. This would mean that there would no
longer be a non-visible 'double whammy' that is very difficult to understand.
This change alone might possibly mean that the previous one is not needed. Not sure.