Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin not working #64

Closed
m1ome opened this issue Dec 22, 2023 · 5 comments · Fixed by #65
Closed

Plugin not working #64

m1ome opened this issue Dec 22, 2023 · 5 comments · Fixed by #65
Labels

Comments

@m1ome
Copy link

m1ome commented Dec 22, 2023

Steps to reproduce:

  1. Install Logseq
  2. Open plugin manager
  3. Install plugin
  4. Click on the plugin icon

Expected behaviour:
Opened a window with a todo list.

Actual behaviour:
Nothing happens, at all.

Debug information:
Logseq version: Version 0.10.2 (76)
Logseq os: MacOS
Console errors

Uncaught (in promise) Error: Not existed method #queryElementRect
    at br.R (lsplugin.core.js:2:49378)
    at br.<anonymous> (lsplugin.core.js:2:93271)
    at a.emit (lsplugin.core.js:2:28521)
    at X.<anonymous> (lsplugin.core.js:2:88623)
    at lsplugin.core.js:2:53506
    at Array.forEach (<anonymous>)
    at X.listener (lsplugin.core.js:2:53491)
    at g (helpers.js:151:57)

Code it refers to

    async function $h() {
        const e = await logseq.App.queryElementRect("#" + Mi.id) // <- this string as i understand
          , t = document.querySelector("#" + Mi.id);
        Object.assign(t.style, {
            position: "fixed",
            top: `${e.top + 40}px`,
            left: e.left + "px"
        }),
        logseq.showMainUI()
    }
@fabri-alare
Copy link

fabri-alare commented Dec 23, 2023

It happens to me to some days ago was working
now nothing happens

i am using win 11

@dag2108
Copy link

dag2108 commented Dec 24, 2023

Also no longer working for me since update to version 10.2

@SM-26
Copy link

SM-26 commented Dec 24, 2023

Also stopped working for me after updating to 0.10.2
seems like we are not the only one, Git plugin also have problems.

I would think it's because of this commit: logseq/logseq#10399
I've tried to test it in Desktop APP Nightly Release 20231223 but still the same problem.

Going back to 0.10.1 fix it (for now).

@ahonn ahonn closed this as completed in #65 Dec 24, 2023
github-actions bot pushed a commit that referenced this issue Dec 24, 2023
## [1.20.1](v1.20.0...v1.20.1) (2023-12-24)

### Bug Fixes

* fix queryElementRect issue and add fallback position, [#64](#64) ([bb3a551](bb3a551))
Copy link

🎉 This issue has been resolved in version 1.20.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@ahonn
Copy link
Owner

ahonn commented Dec 24, 2023

Thanks for your feedback.
The plugin has already fixed this issue, please update to the latest version (v1.20.1).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants