Clear selection when several selections are selected only deletes one
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
OS: Linux
Ver: 6.11
How to repeat the bug
0. enable all the highlight styles (Settings / Selection behavior / Quick highlight actions)
1. open the attached .pdf file
2. highlight "two" with green
3. highlight "four" with yellow
4. select the text between (but including) "one" and "five" and click on "remove this highlight" and confirm.
5. Only "two" is now clean while the "four" is still yellow.
I don't know if it is a bug in its proper definition, but it certainly goes against my expectations as a user. My expectation is that this would remove all the highlights.
1. If it is not a bug, please consider this report a feature request then. :-)
2. The text itself speaks about deleting "this highlight" (singular). Another plural version of the text also needs to be added (preferably with info about how many of the separate highlights this action is going to delete).
3. Interestingly, if in step4 instead of selecting a part of the text, I press Ctrl+A and select all of the text, then the pop-up will appear with everything EXCEPT the "Remove this highlight" option. The button is missing. I assume that this is a proper bug.
No it's supposed to remove only a single highlight. Since selections
hide highlights by making everything one color its too easy to
accidentally remove something you dont want to remove. If you want to do
bulk deletion of highlights, use the viewers highlights panel.
What I will do is add some text from the highlight to the confirmation
popup so it is clear which highlight you are deleting when multiple ones
overlap with the selection.