Bug 80950 - Need a way to find out styles that are not used.
Summary: Need a way to find out styles that are not used.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: ux-advise (show other bugs)
Version: 4.2.5.2 release
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-05 15:53 UTC by Hans Deragon
Modified: 2015-01-12 12:58 UTC (History)
6 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Hans Deragon 2014-07-05 15:53:55 UTC
Numerous styles are showing in the style list.  It would be nice if there would be a way to identify those who are not used in the document, so we can delete them afterward.

Ideas for solution:  View menu with radio buttons offering the option "Show all (defaut)", "Used", "Unused".
Comment 1 Luuk 2014-07-05 16:09:00 UTC
One way to find 'Used Styles' is:

Go to 'Styles and Formatting' (F11), and choose 'Applied styles'

This will sow all styles that are used 'somewhere' in the document.

It is not possible to find the location where they are used, which would be a nice enhancement too.....
Comment 2 Cor Nouws 2014-07-05 16:42:41 UTC
Hi Hans,

(In reply to comment #0)
> Numerous styles are showing in the style list.  It would be nice if there
> would be a way to identify those who are not used in the document, ...

The dropdown list Apply styles shows some always by default, and for the rest only those in use. And indeed, also see the answer for Luuk.

IMO a WORKSFORME, OK?
Cheers,
Cor
Comment 3 Cor Nouws 2014-07-05 16:43:32 UTC
(In reply to comment #1)

> It is not possible to find the location where they are used, which would be
> a nice enhancement too.....


Ctrl+H > Options .. find styles (only paragraph styles, that's true - rfe to include character styles does exist.)
Comment 4 Hans Deragon 2014-07-06 13:39:31 UTC
Yes, we have "Applied Styles".  We are missing "Unused styles".  It would be practical to have this to cleanup the list.
Comment 5 Joel Madero 2014-08-04 15:55:57 UTC
REOPENED is reserved for a bug that:

1. a developer has marked as FIXED;
2. a developer is assigned to the bug that is marked as FIXED;

In this case the enhancement request was never independently confirmed so correct status is UNCONFIRMED. Thanks!
Comment 6 Robinson Tryon (qubit) 2015-01-08 08:57:57 UTC
(In reply to Hans Deragon from comment #4)
> Yes, we have "Applied Styles".  We are missing "Unused styles".  It would be
> practical to have this to cleanup the list.

Seems like a reasonable idea for improvement. I don't see any current interface that provides this information.

Status -> NEW

Handing this one over to the UX folks for input on the interface.
Comment 7 Cor Nouws 2015-01-12 12:58:59 UTC
(In reply to Hans Deragon from comment #4)
> Yes, we have "Applied Styles".  We are missing "Unused styles".  It would be
> practical to have this to cleanup the list.

I agree. 
For the implementation it would then be wise if the styles that are not used, but that other styles that are used inherit from, are excluded somehow? Or that on deletion the inheritance is broken.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.