Issue 4854 - Stylist filter is not kept between usages of OpenOffice or document.
Summary: Stylist filter is not kept between usages of OpenOffice or document.
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 1.0.0
Hardware: PC All
: P4 Trivial with 6 votes (vote)
Target Milestone: OOo 2.3
Assignee: michael.ruess
QA Contact: issues@framework
URL:
Keywords: rfe_eval_ok
: 18477 44889 58857 59359 60743 62078 74956 (view as issue list)
Depends on:
Blocks:
 
Reported: 2002-05-14 14:59 UTC by pasc2001
Modified: 2007-07-23 11:57 UTC (History)
9 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description pasc2001 2002-05-14 14:59:03 UTC
If you setup the stylist filter to something other than "Automatic" (I usually
use "Applied Styles") when you reopen OpenOffice the filter is reset to
"Automatic". I'm not sure whether this should be a document-based setting or
application-wide (I'd prefer the former since style stuff is highly
document-dependent).

  Shouldn't this be kept? Just as the window remembers its position and size it
should remember its filter.

Paulo
Comment 1 Joost Andrae 2002-05-27 14:45:36 UTC
Joost->Falco: reassigned as RFE to you...
Comment 2 hesse 2003-04-30 13:01:57 UTC
just an cc
Comment 3 falko.tesch 2003-09-11 15:36:13 UTC
I agree. The Stylist should remember its last selection.
Comment 4 falko.tesch 2003-09-11 15:36:46 UTC
Started
Comment 5 bettina.haberer 2004-04-08 20:25:49 UTC
Sorry, no chance, as the stylist is no reworked for Q.
Comment 6 meurin 2005-01-21 16:37:31 UTC
This looks like a duplicate of issue 18477.
Comment 7 pasc2001 2005-01-21 17:32:45 UTC
This is a duplicate of issue #18477, of, more correctly, issue #18477 is a
duplicate of this one :)

Close as DUP one of them :)
Comment 8 meurin 2005-01-21 17:58:45 UTC
Yes, but since issue 18477 has more votes and a higher priority and other
duplicates are reported there already, I think issue 4854 should be closed
regardless of its being the older issue ;-)

I don´t know whether this conforms with OOo´s policy for handling duplicates,
though...

I guess it´s not too important which one is closed :-)
Comment 9 michael.ruess 2005-03-14 10:56:36 UTC
*** Issue 44889 has been marked as a duplicate of this issue. ***
Comment 10 lohmaier 2005-12-04 21:30:42 UTC
*** Issue 58857 has been marked as a duplicate of this issue. ***
Comment 11 lars 2005-12-14 20:17:10 UTC
*** Issue 59359 has been marked as a duplicate of this issue. ***
Comment 12 lohmaier 2006-01-27 23:13:20 UTC
*** Issue 60743 has been marked as a duplicate of this issue. ***
Comment 13 lohmaier 2006-01-27 23:15:06 UTC
*** Issue 18477 has been marked as a duplicate of this issue. ***
Comment 14 ace_dent 2006-02-15 12:12:09 UTC
*** Issue 62078 has been marked as a duplicate of this issue. ***
Comment 15 yorick_ 2006-09-19 13:28:16 UTC
Stylist is a significant point of difference to the opposition.  It should work
in a way that should be reasonably expected.  A reasonable expectation by the
user would be for the menu to remember which filter was selected when the
document was last saved.  Given it's age would it be possible to shift the
target on this issue to OOo 2.1
Comment 16 jcvigor 2006-09-19 20:23:40 UTC
Considering the votes and duplicates this issue has it seems ripe for current
attention. 
Comment 17 tesstah 2006-09-20 08:24:48 UTC
I've been using OOo for almost 4 years, and in that whole time, I don't believe
that ANYTHING in the "Automatic" list has EVER been what I wanted to use. I'd
give this more votes if'n I could.
TessTah
Comment 18 Giuseppe Castagno (aka beppec56) 2006-09-30 17:07:01 UTC
I agree that the “per session†persistence of the filter setting of the “Styles
and Formatting†window is something that would be useful, in the meantime this
is what I discovered about its behavior, may be it could help a little.

If not please forgive me for making noise.

I should confess I find the use of the Automatic filter feature on the Styles
and Formatting window easy, as soon as you have figured out how to bend it to
your needs.

The behavior I'm going to describe is actual in 2.0.3, I don't know for the old
version to which this issue refers to.

There is a relationship between the filter and the styles it displays, though I
have not found any documentation explaining it clearly.
According to the On Line Guide, Automatic is:
quote
Automatic	Displays styles appropriate to the current context.
unquote

What I didn't find explained anywhere is the meaning of context, when related to
styles.

Using writer, I found that context means where your insertion cursor is (e.g.
where you are typing), what tells that a style belongs to a context is the
“Category†drop down list on the “Organizer†tab of the style properties dialog
window (in Stylist right click and select Modify... to open it).

For example a text in the category “Text Styles†will show up in the Automatic
filter whenever the cursor is inside a text.

Whereas the styles belonging to the category “Special Styles†are displayed in
the Automatic filter when the cursor is, for example, in a page header.

The documentation (as in the “On Line Guideâ€) is not clear on this respect where
it says that a user created style should belong to the “Custom Style†category,
instead it should belong to a category fit for the automatic filter to show it
when in the right context.

If you want to discover what style category is displayed automatically when you
are in a certain part of your document, simply put the cursor there and have a
look at the category of one the styles displayed on the “Styles and Formattingâ€
window.
Then set your style to the same category if you want it showed up in that same
context.

This is a style preparation that should take place when you first prepare the
template for your document.

Hope this can help a little while waiting for implementation.
Comment 19 Giuseppe Castagno (aka beppec56) 2006-09-30 17:09:24 UTC
forgot cc to myself
Comment 20 Mathias_Bauer 2006-12-07 13:11:46 UTC
changed component to "Framework" as that's the place where the implementation
would happen
Comment 21 ace_dent 2007-02-28 18:23:14 UTC
*** Issue 74956 has been marked as a duplicate of this issue. ***
Comment 22 ace_dent 2007-02-28 18:28:36 UTC
MBA,
thanks for the update of the component; as such, does this Issue also need an
update of Owner?... Last comment from BH was 2004...
Comment 23 Mathias_Bauer 2007-02-28 18:52:13 UTC
Yes, I'll take it for the moment.
Comment 24 bettina.haberer 2007-03-01 08:24:03 UTC
@mba: Thank you for taking this one. And this one is also an pre-approved one
(Keyword rfe_eval_ok).
Comment 25 Mathias_Bauer 2007-03-05 08:12:36 UTC
Peter, please evaluate if this can be done in 2.3.
I think an application specific setting makes the most sense as Writer, Calc and
Impress have quite different ways of working with styles.
Comment 26 pb 2007-03-05 10:27:59 UTC
pb: I will have a look.

Comment 27 pb 2007-03-08 12:41:14 UTC
pb: in progress...
Comment 28 pb 2007-03-12 08:35:13 UTC
pb: fixed in cws fwkdbdesign01.
Files changed:
/framework/sfx2/source/inc/templdgi.hxx 1.15.138.1
/sfx2/source/dialog/templdlg.cxx 1.53.138.1
Comment 29 pb 2007-03-13 11:46:10 UTC
pb -> mru: please verify, thx.
Comment 30 michael.ruess 2007-03-29 14:09:37 UTC
Verified fix in CWS fwkdbdesign01.
Comment 31 michael.ruess 2007-06-21 14:57:31 UTC
Checked fix in 680m214.
Comment 32 auberon 2007-07-22 11:35:34 UTC
How does it work ?
I tried the SRC680_m221 and I see no differences.

I worked with the hierachic filter, but each times I opened a new document or
launch the writer, the filter was again "automatic"... (Windows SP2)
Comment 33 auberon 2007-07-22 13:24:52 UTC
It works, but not with the hierarchical filter. (Windows SP2)
Comment 34 michael.ruess 2007-07-23 10:27:52 UTC
Unfortunately that's right... could you please file a new issue for this special
case? Thanks a lot!
Comment 35 auberon 2007-07-23 11:57:06 UTC
The issue for this special case:
http://www.openoffice.org/issues/show_bug.cgi?id=79901