Jump to content

Style panel: Select Unused Styles rather than Delete Unused Styles


Recommended Posts

Hi,

Unused styles may be (i) unwanted or (ii) not yet used.

In Affinity Publisher v2, it would be preferable to have a command that allows to select styles in the panel list that are not used rather than deleting them directly. Direct deletion does not allow to know exactly what we are deleting.

Please +1 if you like the idea 😉.

Thank you,

Loïc

Edited by LEB
Clarified meaning
Link to comment
Share on other sites

6 hours ago, MikeTO said:

selecting = apply style to text.

Only if you have actually selected a text object.
Whereas this is about "selecting" – or "marking" by some means – the unused text styles in the panel list.

MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2

Link to comment
Share on other sites

7 hours ago, loukash said:

Only if you have actually selected a text object.
Whereas this is about "selecting" – or "marking" by some means – the unused text styles in the panel list.

My point was that selecting a style in the Text Styles panel does something already and can't be used to identify unused styles. That could be done via another mechanism, perhaps one similar to how iOS will put a list into an edit mode for making changes.

Link to comment
Share on other sites

Thanks @MikeTO for the comment.

I also noticed that you cannot "select" two styles in the panel list for the reason you point.

Marking would indeed be interesting.

I also thought it could be done continuously without any user action, so you see immediately which styles are not being used, if that is realistic in terms of performance.

 

Link to comment
Share on other sites

6 hours ago, LEB said:

I also thought it could be done continuously without any user action, so you see immediately which styles are not being used, if that is realistic in terms of performance.

It would be straightforward if it weren't for the Show Samples option - unused styles could be shown with less contrast just like automatically-named layers are shown with less contrast than user-named layers. Show Samples makes that impossible. Another option would be to change the background colour for unused styles but Affinity uses alternating row colours for scrolling lists so that's out. An icon could be added but most people don't need this information all the time so it would add to UI clutter. We don't need to solve this here but this feature request would likely require a manage/edit style feature. That wouldn't be a bad thing because there are other style management features that could be added if there was a manage/edit mode. You could rename styles inline by clicking twice. You could change the style hierarchy by dragging and dropping. You could select multiple styles and merge them. You could select multiple styles and edit their attributes at the same time. Etc.

Link to comment
Share on other sites

1 hour ago, MikeTO said:

Show Samples makes that impossible.

It could be a function available only when Show Samples is not active.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Link to comment
Share on other sites

2 hours ago, MikeTO said:

... We don't need to solve this here but this feature request would likely require a manage/edit style feature. That wouldn't be a bad thing because there are other style management features that could be added if there was a manage/edit mode. ...

QXP uses a separate dialog (under the Edit menu) for managing various styles, here regarding text styles. Here displaying a p.style and a c.style that are currently not in use.

Capture_001010.png.38e808c8f9759de28d1d329031086a08.png

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.