Skip to content

Gdk-CRITICAL warnings #267

@BenAuerDev

Description

@BenAuerDev

Description

When running an application using bitsdojo_window on Linux, Gdk-CRITICAL warnings appear in the console every time the mouse cursor enters or exits the application window. No interaction with the window (like moving or resizing) is required - simply moving the cursor over the window triggers these warnings:
Gdk-CRITICAL : XX:XX:XX.XXX: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed

Environment

  • OS: Linux (Pop_OS 22.04)
  • Flutter version: 3.6.0
  • bitsdojo_window version: 0.1.6

Reproduction Steps

  1. Create a new Flutter desktop application
  2. Add bitsdojo_window package
  3. Implement custom window decorations
  4. Run the application on Linux
  5. Move your cursor in and out of the application window
  6. Observe console output - warnings appear with each cursor enter/exit

Additional Information

  • The warnings don't affect functionality but pollute the logs significantly
  • Warnings are triggered by simple cursor hover events, not just window manipulation
  • Error occurs with both debug and release builds

PS: Cool package 💪 🚀 💙

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions