Skip to content

[Linux] [Error] Failed when get current window. #6

Description

@Tseshongfeeshur

Platform Info

  • OS / Kernel: Arch Linux latest, GNU/Linux x86
  • Desktop Environment: KDE Plasma 6.6.5
  • Graphic Platform: Wayland / XWayland
  • Flutter Graphic Engine: Skia
  • Flutter Info:
    Flutter 3.44.0 • channel stable • https://github.com/flutter/flutter.git
    Framework • revision 559ffa3f75 (8 days ago) • 2026-05-15 14:13:13 -0700
    Engine • hash fcf463a2242790d1fdcd9d044f533080f5022e18 (revision 4c525dac5e) (8 days ago) •
    2026-05-15 19:00:04.000Z
    Tools • Dart 3.12.0 • DevTools 2.57.0
    
  • GCC Info:
    gcc (GCC) 16.1.1 20260430
    Copyright © 2026 Free Software Foundation, Inc.
    

Code

final windowManager = WindowManager.instance;
final window = windowManager.getCurrent();

Error Info

(com.example.sirens:58994): Gdk-CRITICAL **: 02:30:21.430: gdk_device_get_window_at_position_double: assertion 'gdk_device_get_source (device) != GDK_SOURCE_KEYBOARD' failed

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions