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.26k stars 1.77k forks source link

Can't move window on macOS #8783

Open nirvdrum opened 1 year ago

nirvdrum commented 1 year ago

Search first

What Happened?

I'm sporadically unable to move the Logseq 0.8.18 window on macOS 13.2.1. Sometimes I can move the window just fine, then when I return to the window after interacting with other applications, I find I'm unable to move it. If I maximize and then restore the window, I can start moving it again.

Reproduce the Bug

Unfortunately, I don't know how to reproduce it. Sometimes dragging works, other times it doesn't. I'm happy to run an instrumented build if that would help.

To move the window I've clicked the top of the window and dragged the mouse to a new location.

Expected Behavior

I expect dragging the window will reposition it.

Screenshots

No response

Desktop or Mobile Platform Information

Platform: macOS 13.2.1 (ARM) Logseq: 0.8.18

Additional Context

No response

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

nirvdrum commented 1 year ago

This is potentially related to #4081, although that was closed out already and had a different workaround.

nirvdrum commented 1 year ago

Looking into this more, it might be a problem with the Tabs plugin. It's hard to say since I don't have an instrumented build and the issue occurs sporadically, but I'll try running without that plugin enabled for longer and see how it works out.

jnm-zevx commented 11 months ago

This is 100% repeatable for me. What I've noticed is that Logseq cannot be moved if the LogSeq window has focus. All one need to do is click the mouse onto another window anywhere and then go click and drag logseq as desired. Alternatively click on the desktop before trying to move it. But if it has focus, you can't move it. Apple M2 Max Ventura 13.2.1 LogSeq 0.9.1

Update: After disabling and re-enabling the Tabs plugin. The problem has gone away. I'll try to keep track and update this if it remanifests.

Update: This has occurred several times since my last update. I verified that it's not the Tabs plugin specifically. In fact the problem can be temporarily fixed simply by opening and closing the Plugins window without doing anything to any of the actual plugins. This also seems to manifest after opening my laptop in the morning. My routine is just to close my laptop at the end of the day pull the dock and power cables and stuff it in my bag. then next morning open the laptop reconnect the dock and power and LogSeq is frozen. FWIW, I connect to two external monitors through the dock and I leave the laptop open while working for a 3rd screen. Another update: I discovered that I don't even have to open the Plugins window. It is enough to simply click on the Plugins icon to get the popup menu and then click off the menu. The LogSeq window becomes draggable again.

Another update: You don't even need to click off the Plugins menu. Simply click it to open it, then immediately try to drag the whole LogSeq window. It will move. Sometimes doing this work-around allows the window to remain movable for some period of time. In other cases as soon as you stop dragging, it immediately becomes immovable again.

jnm-zevx commented 10 months ago

This is still an issue after updating to 0.9.11

absir1949 commented 9 months ago

This is still an issue after updating to 0.9.13

Grobi2010 commented 8 months ago

Same issue in Windows Version. After click on Plugins or resize of the window I'm able to drag the window.

jnm-zevx commented 4 months ago

This is worse now under 0.10.3 In previous versions I was always able to move the window as expected for some period of time after (re)starting LogSeq. With 0.10.3 the problem exists immediately at startup. (For the 5 times I tried quitting and restarting) However it does seem that now, once the workaround is exercised, the windows stays movable for some period of time, whereas before it became immovable again after the Plugin Menu closed.

jnm-zevx commented 4 months ago

Important update: I can now cause this to happen by using the search feature. If I click on the Search Magnifying Glass and enter some text in the "What are you looking for?" entry field (or select a previous search from the "Recent" list, and hit Return. The page becomes immovable. And not just the Search feature. Opening anything from the left side bar (Whiteboards, Graph view, All pages, or any Favorites or Recents) will immediately cause the page to become immovable.

As noted previously, display of the Plugins drop-down menu is enough to make get window movable again. This is also true for the Ellipsis "More" drop down as well.
But not for any of the other icons in that area e.g. plugins (like agenda, tags, calendar) or the left/right arrows or for the sidebar icon.

Brikas commented 1 month ago

Having the same issue on Windows and MacOS too (I use both). https://prnt.sc/FsyQuvaBN73m The window is movable always when dragged from the green area and only sometimes when dragged from the red area. It seems that when active window is switched, the red area becomes unresponsive to dragging and remain until some specific interactions are done, like pressing the plugins button (after doing which, the red area becomes responsive to moving).

It seems like disabling the plugin Tabs solves the issue.

darshan315 commented 2 weeks ago

Same issues I am facing, I have it installed on Mac and Linux. On linux it works fine. However, On Mac it freezes and can not drag the window. I have to quite and reopen the application and then it works again.