How to select and delete all the comments on a specific layer  SOLVED

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

titeuf
User
Posts: 61
Joined: Mon Sep 07, 2020 10:11 pm

How to select and delete all the comments on a specific layer

Post by titeuf »

Situation:

Base layer has many various comments over some pages.
Layer 1 also has may various comments over some pages.

In the situation, I want to delete all the comment on the base layer, maitaining comments on Layer 1.

How can I do it?

What I tried so far is:
- Made layer 1 hidden.
- Selected all the comments and delete in the comment panel.
- This deleted all the comments including ones on Layer 1. <-- This is not what I want.
User avatar
rakunavi
User
Posts: 1719
Joined: Sat Sep 11, 2021 5:04 am

Re: How to select and delete all the comments on a specific layer

Post by rakunavi »

Hello titeuf,

I hesitate to write this because it is not a very smart way to do it, but the following steps are possible.

  1. Display only the base layer you wish to delete comments.
  2. Set zoom factor as low as possible in two-page continuous mode.
  3. Use the Select Comment tool to select comments across multiple pages.
  4. Delete the comment by pressing the Delete key, etc.
  • Animation.gif
  • sample.pdf
On a 4K monitor with 200% scaling, I could select up to 2,000 A4-sized pages. If multiple monitors are used in succession, the number of pages that can be selected can be increased by that amount. In fact, I confirmed that up to 8,000 pages can be selected with four 4K monitors vertically aligned.

Best regards,
rakunavi
You do not have the required permissions to view the files attached to this post.
TOP desires for PDFXCE
forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
forum.pdf-xchange.com/viewtopic.php?t=37353 FulScrMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
titeuf
User
Posts: 61
Joined: Mon Sep 07, 2020 10:11 pm

Re: How to select and delete all the comments on a specific layer

Post by titeuf »

Thank you very much. I am sure this works very fine.
As you said it is not smart way. I think it will be better if in the comment panel we could select comments by layers or identify which layer they belong to.
Anyway your solution inspire me to zoom out to select all comments. Thanks again. It is very helpful.
User avatar
rakunavi
User
Posts: 1719
Joined: Sat Sep 11, 2021 5:04 am

Re: How to select and delete all the comments on a specific layer  SOLVED

Post by rakunavi »

Hello titeuf, thank you for your feedback.
You're welcome, I'm glad I could help. :D
titeuf wrote: Thu Jun 26, 2025 12:44 pm I think it will be better if in the comment panel we could select comments by layers or identify which layer they belong to.
I would like to vote in favor of your proposal. It would definitely be a useful feature if it were available.

Best regards,
rakunavi
TOP desires for PDFXCE
forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
forum.pdf-xchange.com/viewtopic.php?t=37353 FulScrMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11223
Joined: Wed Jan 03, 2018 6:52 pm

Re: How to select and delete all the comments on a specific layer

Post by Daniel - PDF-XChange »

Hello, all

Thank you for the discussion here. I have raised this suggestion with the dev team for consideration. I cannot make any promises, but I also think layers could benefit from a "select-related" (comments, text, shapes, images) set of options in the right click menu.

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
User avatar
rakunavi
User
Posts: 1719
Joined: Sat Sep 11, 2021 5:04 am

Re: How to select and delete all the comments on a specific layer

Post by rakunavi »

Hello Daniel, thank you for contacting the developer.

For the time being, we have to rely on selection by zooming out, but I have a little concern about the operation in Ribbon Layout.

The video shown above is operated in Standard Layout, and the comment is selected with the Select Comment tool after being pulled down to the minimum zoom factor by Ctrl+Wheel Down at once. However, the same operation does not work in Ribbon Layout. This is because when the zoom factor is reduced to Ctrl+WheelDown in Ribbon Layout, it is reduced to a smaller zoom factor (0.01%) than in Standard Layout, but it is no longer possible to use the Select Comment tool or the Edit Object mode to select the base content. In contrast, in Standard Layout, Ctrl+WheelDown can only zoom out to a zoom factor that allows the Select Comment tool to function.

The minimum zoom factor depends on the resolution and scale value of the monitor. Therefore, the zoom factor in the verification video is for reference only, but the situation is as follows.

  • The minimum zoom factor that can be set by Ctrl+WheelDown or manual setting (hereafter referred to as "A")
    Standard Layout : 0.13%
    Ribbon Layout : 0.01%
  • The minimum zoom factor that can be set with the Select Comment tool or Edit Obejct mode (hereafter referred to as "B")
    Standard Layout : 0.13%
    Ribbon Layout : 0.07%
In other words, if you want to select all comments after zooming out in Ribbon Layout, you need to zoom down to the minimum zoom factor (A) at once by Ctrl+WheelDown, and then zoom up a little to the zoom factor B. Personally, I don't see the point in being able to set a zoom factor of 0.01% to 0.06% in Ribbon Layout, as long as you cannot select comments or base content, and you cannot see the page or anything.

Therefore, it seems to me that it would be better to make the lower limit (A) of the settable range of zoom factor in Ribbon Layout coincide with the minimum factor (B) at which the Select Comment tool and other tools function, as in Standard Layout.

  • Animation.gif
Please give my best regards to developers.

Best regards,
rakunavi
You do not have the required permissions to view the files attached to this post.
TOP desires for PDFXCE
forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
forum.pdf-xchange.com/viewtopic.php?t=37353 FulScrMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11223
Joined: Wed Jan 03, 2018 6:52 pm

Re: How to select and delete all the comments on a specific layer

Post by Daniel - PDF-XChange »

Hello, rakunavi

The "Ribbon page layout" will be getting a re-write or outright replacement in the future. In the meantime however I am sorry to say that while the current implementation is know to be quite buggy, it is no longer a priority for any changes or fixes unless they result in an application crash or damage to documents.

In short, the simple answer when things don't work well in ribbon layout is currently "don't do that". If the Standard layout works well, that should be used instead, if manually zooming out a little helps, that workaround is also available. One such example of a known bug which is not planned for fixing unless still needed after this re-work is completed, is the numerous conflicts with "single page mode" being used in ribbon layout.

I cannot offer any timeline for when this new handling will become available, but I expect it will be a longer wait than usual for such a new function. Once it is available however, it should come with notable improvements in various areas.

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
User avatar
rakunavi
User
Posts: 1719
Joined: Sat Sep 11, 2021 5:04 am

Re: How to select and delete all the comments on a specific layer

Post by rakunavi »

Hello Daniel, thank you for your reply.

I totally agree with your thoughts. I am simply reporting information that has not been pointed out on this forum in the past, in a straightforward manner, whether it is helpful to you or not. I hope that someday the relevant features will be reworked with a whole new perspective.

Best regards,
rakunavi
TOP desires for PDFXCE
forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
forum.pdf-xchange.com/viewtopic.php?t=37353 FulScrMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
User avatar
Dimitar - PDF-XChange
Site Admin
Posts: 2239
Joined: Mon Jan 15, 2018 9:01 am

How to select and delete all the comments on a specific layer

Post by Dimitar - PDF-XChange »

:)