anytype-heart icon indicating copy to clipboard operation
anytype-heart copied to clipboard

Anytype does not open and sits dormant as background process on launch

Open jack5github opened this issue 10 months ago • 3 comments

Have you read a contributing guide?

  • [X] I have read CONTRIBUTING.md
  • [X] I have searched the existing issues and didn't find any that were similar
  • [X] I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

Sometimes when attempting to launch Anytype, it does not open its window or display in the taskbar. Upon looking in Task Manager, Anytype is seen as a background process, but it never does anything. Attempting to launch Anytype again will cause another background process to start that also does nothing. The only way to correct this is to kill all instances of Anytype that are in the Task Manager and retry.

Expected Behavior

Anytype should open and display itself properly when launched, or if it is already open, direct the user to the active Anytype instance.

Steps To Reproduce

This bug occurs randomly when attempting to open Anytype on Microsoft Windows 10 Home 10.0.19045 (win32 x64). This has been a consistent issue for multiple desktop versions of Anytype.

Environment

- OS: Microsoft Windows 10 Home 10.0.19045 (win32 x64)
- Version: 0.39.0

Anything else?

No response

jack5github avatar Apr 01 '24 05:04 jack5github

Duplicate of anyproto/anytype-ts#630 but on windows?

adhadseKavida avatar Apr 04 '24 08:04 adhadseKavida

It is possible. From doing a little more experimentation, I've found it's easy to cause this bug simply by attempting to open the program multiple times fast. This happens frequently to me, as I search for my programs rather than finding them on the Windows Start menu, and clicking a program in the search doesn't always make it look like it registered the click, so sometimes I end up clicking twice, at which point the program is likely not to display itself. However, this shouldn't completely discount it failing to appear later on during its active life.

jack5github avatar Apr 05 '24 11:04 jack5github

This may be a related issue. While Anytype is in this state, it refuses to close when right-click closing it from the taskbar. Close error

jack5github avatar May 30 '24 11:05 jack5github