rocksdanister/lively

Inconsistent Window Focus when using Godot as Wallpaper

Aperta

#666 aperta il 10 ago 2021

 (7 commenti) (0 reazioni) (0 assegnatari)C# (1285 fork)batch import
buggood first issue

Metriche repository

Star
 (18.816 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor