Issue 85464 - Choosing 'Default formatting' does not remove character styles
Summary: Choosing 'Default formatting' does not remove character styles
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOH680m2
Hardware: All Windows XP
: P2 Trivial (vote)
Target Milestone: ---
Assignee: Oliver Specht
QA Contact: issues@sw
URL:
Keywords: regression
Depends on:
Blocks: 84957
  Show dependency tree
 
Reported: 2008-01-22 09:12 UTC by cno
Modified: 2013-08-07 14:42 UTC (History)
4 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 cno 2008-01-22 09:12:21 UTC
Choosing 'Default formatting' does not remove character styles any more.
This is a regression.
Comment 1 cno 2008-01-22 09:13:16 UTC
Set regression and P2
Comment 2 Uwe Fischer 2008-01-22 13:08:27 UTC
If I remember it right, menu Format-Default Formatting never intended to remove
any styles. Only direct formatting should be removed. When and why did this
change? See
http://specs.openoffice.org/writer/formatting/Assigning_Styles_in_Writer.sxw for
the Spec Doc. 
Comment 3 Oliver Specht 2008-01-22 13:53:29 UTC
->ufi: The spec doesn't mention character styles at all. It doesn't define that
they should not be removed. You can find reason for removing character styles
and also reasons against that. But as long as the only other way to remove
character styles is to apply the character style "Default" we urgently need an
_intuitive_ way of getting rid of applied styles as well.

Additionally also hyperlinks are not removed anymore. 

->tl: Reason for the bug is cws langstatusbar
->ul: I'd like to have this on target OOo 2.4
Comment 4 cno 2008-01-22 14:05:46 UTC
Hi Oliver and Uwe,
I don't want to step in your discussion, but see that beneath illustration 1
(page  3) stands: 
    "OOo 1.1 already has a very similar function for removing hard (direct 
    and character style based) formatting from paragraphs and text content"
So the way it worked, seems be discribed here.

+ I would love to see 2.4 as target
Comment 5 Oliver Specht 2008-01-22 14:30:20 UTC
Target set to 2.4 as aggreed by UL
Reassigned to me.
Comment 6 Oliver Specht 2008-01-23 07:44:56 UTC
Fixed in cws fwk83 in 
sw/source/ui/shells/textsh1.cxx
Comment 7 pb 2008-01-25 11:44:56 UTC
pb: verified in cws.
Comment 8 alvarezp2000 2008-02-04 09:29:26 UTC
I see this issue as RESOLVED / FIXED. Does this mean that OOo went back to the 
regression? Or is issue 47893 fixed?

To everybody:

Section 1 of the spec says: "... and to reset formatting (remove direct 'hard' 
formatting)." The word is being defined as "direct formatting".

Caption of Illustration 1 says: "OOo 1.1 already has a very similar function 
for removing hard (direct and character style based) formatting from paragraphs 
and text content". The word 'hard' is being redefined here with a different 
meaning.

Section 6.4.2 of the spec says that "Format-Default" when the selection is part 
of the paragraph, OOo 1.1 and 2.0 will "Clear hard character formatting". This 
is both, true and false according to the different definition of the word 
'hard'. However, The same table uses the sentence "clear hard paragraph 
formatting" and "clear hard character formatting".

It's clear now that both paragraph and characters can have hard formatting that 
can be removed, and therefore, that Format-Default with no selection or partial 
paragraph selection does different things. However, this is false.

I can go on and on about how the whole document is completely flawed, since the 
meaning of the basic word is taking both values. However, if you read it 
deeply, word by word, you'll find that the document uses the meaning of "hard 
formatting" as in "applied directly, without using styles at all".

Please see comments on issue 47893.

If issue 47893 is not fixed, Character Styles are useless. Character styles are 
expected to behave in the SAME way as paragraph styles, except for characters. 
Otherwise, they are not styles. That would be the only way for "hard 
formatting" to mean the same across OOo.

As a user, the expected behavior is NOT to be removed on default formatting. 
"Default formatting" means "go back to what the styles say".

Comment 9 Oliver Specht 2008-02-04 10:24:27 UTC
->alvarezp2000 : This issue is fixed. That means that issue 47893 is still open.
Character styles are removed as they have always been removed except for all
versions after cws langstatusbar has been integrated. 

Comment 10 sgautier.ooo 2009-01-02 12:00:28 UTC
Verified in OOo 3.0 - closing - Sophie