rocksdanister/lively

Inconsistent Window Focus when using Godot as Wallpaper

Open

#666 opened on Aug 10, 2021

View on GitHub
 (7 comments) (0 reactions) (0 assignees)C# (1,285 forks)batch import
buggood first issue

Repository metrics

Stars
 (18,816 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Describe the bug Window focus isn't captured when loading Godot applications.

To Reproduce Steps to reproduce the behavior:

  1. Open up Lively Wallpaper
  2. Select a Godot application (which contains mouse tracking)
  3. See that the object in question is not reacting/moving to cursor.

Expected behavior I expected the mouse position to update (as well as the window to come into focus) when I clicked on the desktop, which would allow the object to move to my cursor.

Screenshots/Video

https://user-images.githubusercontent.com/51982416/128814570-f6c4d95e-f5a2-4764-b2b6-67571dcd7c5a.mp4

Desktop:

  • OS: Windows 10 19043
  • Running Godot 3.3.2 Application as Wallpaper

Additional context I believe what's happening is that Lively is unable to grab focus of the project, which prevents my wallpaper (Godot app) from being able to collect mouse position data. Not sure if this is a Godot-side problem, and the error occasionally disappears after reloading Lively Wallpapers a couple times. However, most of the time, the issue persists and I can't grab focus of the application.

Log file 20210809_222442.txt

Contributor guide