Styled Find in Page
-
@Pathduck said in Styled Find in Page:
It might not work perfectly on all sites if the search text is inside a hidden element. The original intent of this feature was to show when text was found inside for instance hidden YouTube comments.
So have they given up on that "original" intent? I run into invisible "finds" several times a day, and waste a lot of time scanning all around complex pages with no clue whether the text is truly invisible or just tiny. One big help would be a (large) minimum size for the colored rectangle - sometimes it is a tiny footnote lost among brightly colored page elements.
Worst problem is when searching a Vivaldi displayed pdf file. The search box still looks like the normal search, but the highlight colors are closer to pale gray, and the highlight size is even more often very tiny. Is that the same search function, or is there different code for searching pdf tabs?
-
@LorenAmelang said in Styled Find in Page:
So have they given up on that "original" intent?
I have no idea. I agree it doesn't work that well for some sites. Personally I don't care for the "animation" at all, so I've turned it off in CSS.
is there different code for searching pdf tabs?
Yes, opened PDFs use the built-in Chromium PDF Viewer extension with a different highlight colour.
-
@Pathduck Hey, I liked that bug!
Now, about that "... an[d] for a short while with animated size" that
@Gwen-Dragon mentioned -- I still don't see that, and I think I would like it to. -
@Gwen-Dragon
If you had disabled Animations of UI in Settings โ Appearance โ Window Appearance you will not get the animated size of found result.
Just checked, mine is enabled. What I see is that if the tab has scrolled since the last find, either automatically or manually, the new find flashes orange for maybe 250 ms (I'm in Vivaldi dark mode), then back from orange to yellow for maybe 250 ms, and then stays orange until a new arrow or Enter moves it. So quickly the flash is over before my eyes lock onto the new scroll position. All in the exact same size, barely containing the found text. Is that the "size animation" people are seeing? If I just arrow back and forth between two instances in the same scroll position, they just swap colors.
TBH, I do have the
https://forum.vivaldi.net/topic/28750/less-obstructive-compact-bottom-find-bar
mod installed, but I don't see that it mods the found items, only the find bar itself. Of course I'm sure there are details I don't comprehend... -
@LorenAmelang Sure, it's far from perfect and generally fails to do what it was meant for, I also find it distracting, never liked it when it was an experiment and didn't like when they made it default. That's why I've just hidden it in CSS:
/* Find-in-page no animation */ .fip-active-hit { display: none; }
If you want to help improve it, please describe your issues as recreated in a clean Vivaldi profile and report it as a bug: https://vivaldi.com/bugreport/
-
@Gwen-Dragon Bingo! That was it. I had not checked "Use animation." Now that I have, it will briefly show a larger highlight over the found occurrence.
That said, I don't think that will help with the problem of finding the "hidden" occurences like I had thought it might, but it's something.
-