logseq / logseq

A privacy-first, open-source platform for knowledge management and collaboration. Download link: http://github.com/logseq/logseq/releases. roadmap: http://trello.com/b/8txSM12G/roadmap
https://logseq.com
GNU Affero General Public License v3.0
30.07k stars 1.76k forks source link

Logseq hangs with a completely blank (white)screen #11286

Open argyle1357 opened 2 weeks ago

argyle1357 commented 2 weeks ago

Search first

What Happened?

I've created the attached query from the samples provided in Logseq documentation. THe result is presented as clickable page references. They appear in blue and the cursor changes as expected when hovering over them. But if you click anywhere within the results of the query the hang occures. Logseq must be closed from its icon on the taskbar,

I expect there is an issue in the View section. But I've copied it from the logseq query examples.

Reproduce the Bug

Run the attached query on a page that is referenced on at least two other pages in the tags:: property

Expected Behavior

It should open the page clicked

Screenshots

No response

Desktop or Mobile Platform Information

App Version: 0.10.9 Git Revision: c67b8b5 Platform: Mozilla/5.0 (Windows NT 10.0 Win64 x64) AppleWebKit/537.36 (KHTML like Gecko) Logseq/0.10.9 Chrome/118.0.5993.159 Electron/27.1.3 Safari/537.36 Language: en-US Plugins: logseq-bullet-threading (v1.1.4), logseq-excalidraw (v1.5.1), logseq-find-and-replace (v1.1.1), logseq-localassets-plugin (v2.0.1), logseq-markdown-table (v1.8.0), logseq-pdf-print (v0.0.6), logseq-query-builder-plugin (0.81), logseq-wrap (v0.10.3)

Additional Context

+BEGIN_QUERY

{ :title [:h3 "Participating"]
:query [ :find ?name :in $ ?tag
:where [?t :block/name ?tag] [?p :block/tags ?t] [?p :block/name ?name]] :inputs [:current-page] :view (fn [result] [:div.flex.flex-col (for [page result] [:a {:href (str "#/page/" page)} (clojure.string/capitalize page)])]) }

+END_QUERY

Are you willing to submit a PR? If you know how to fix the bug.

andelf commented 1 week ago

Could you disable plugins and try again? I've tried the query, it works as expeted.

argyle1357 commented 16 hours ago

I inactivated all the plug-ins and still get the same result

So, I created a completely new graph and copied just the pages that contained the query and the pages that the query is finding and re-indexed. No plugins. I opened the graph and went to my query page and the query was displaying the pages as expected. I clicked in the displayed list of pages and get the full white screen.

I have tried this with a different set of pages to return and get the same result.

From: Andelf @.> Sent: May 6, 2024 10:37 PM To: logseq/logseq @.> Cc: argyle1357 @.>; Author @.> Subject: Re: [logseq/logseq] Logseq hangs with a completely blank (white)screen (Issue #11286)

Could you disable plugins and try again? I've tried the query, it works as expeted.

— Reply to this email directly, view it on GitHubhttps://github.com/logseq/logseq/issues/11286#issuecomment-2097429131, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZTEPSJOOJN2QACIFVK6OWTZBBK45AVCNFSM6AAAAABHCJVT4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJXGQZDSMJTGE. You are receiving this because you authored the thread.Message ID: @.**@.>>