[Zotero 7 Beta]Text search is not easy to use

edited May 13, 2024
Why is there so much difference between the position where Zotero searches for text and the position where Edge opens the PDF search?
I think this reduces the usability of searching text.
Will this be optimized in future versions?




  • same problem :(
  • ```
    if (!span.getAttribute("data-transform")) {
    //The text offset problem is improved after removing the transform for each line.
    span.setAttribute(
    "data-transform",
    (span as HTMLSpanElement).style.transform,
    );
    (span as HTMLSpanElement).style.transform = "";
    }
    ```
  • 请问这行代码怎么用呢
  • Works as expected in Zotero 7 beta:

  • @huanger 如果你想这样用,你可以试试action那个插件,写注入代码,不过太麻烦了

    @poettli I am also on zotero 7 beta. But it doesn't work like you. I tried disabling all plugins and still have this problem. Is it a problem with my operating system language?
  • 好吧,凑合着用吧,谢谢解答( ̄▽ ̄)~*٩(๑❛ᴗ❛๑)۶
  • If you are on Zotero 7 beta, please edit the title of this thread (https://forums.zotero.org/discussion/comment/458757/#Comment_458757)
    Please start new threads here in the forums for any specific issues, and be sure to include “Zotero 7 Beta” in your thread title.


  • @zzlb0224 I can't reproduce the issue with your provided PDF file. Let's wait until someone else reproduces.

    Plugins can definitely cause this issue as well.
  • @dstillman I have found the root cause of the offset in the PDF search results in Zotero. It may be due to Firefox rendering. You can try opening the above article using a different browser. Firefox has the offset, while Google Chrome and Microsoft Edge can accurately locate the search results, without any offset.

    It may be necessary to investigate the issue from Firefox.
Sign In or Register to comment.