这是indexloc提供的服务,不要输入任何密码
Skip to content

Windows effect not working with Flutter 3.24.3 #87

@AndreaRicchi

Description

@AndreaRicchi

Looks like using the latest version of Flutter breaks the windows effect on Linux:

Flutter 3.24.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 2663184aa7 (5 weeks ago) • 2024-09-11 16:27:48 -0500
Engine • revision 36335019a8
Tools • Dart 3.5.3 • DevTools 2.37.3

This is the example:
image

This is the application log:

~/Projects/opensource/flutter_acrylic/example master*
❯ flutter run
Launching lib/main.dart on Linux in debug mode...
Building Linux application...                                           
✓ Built build/linux/x64/debug/bundle/flutter_acrylic_example

(flutter_acrylic_example:8222): Gdk-CRITICAL **: 09:03:50.340: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed

(flutter_acrylic_example:8222): Gdk-CRITICAL **: 09:03:50.340: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed
Syncing files to device Linux...                                    63ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

A Dart VM Service on Linux is available at: http://127.0.0.1:41851/JkvbyiCNQdc=/

(flutter_acrylic_example:8222): Gdk-CRITICAL **: 09:03:50.993: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed

(flutter_acrylic_example:8222): Gdk-CRITICAL **: 09:03:51.003: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed
The Flutter DevTools debugger and profiler on Linux is available at: http://127.0.0.1:9101?uri=http://127.0.0.1:41851/JkvbyiCNQdc=/

(flutter_acrylic_example:8222): Gdk-CRITICAL **: 09:03:51.582: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed

(flutter_acrylic_example:8222): Gdk-CRITICAL **: 09:03:55.115: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed

(flutter_acrylic_example:8222): Gdk-CRITICAL **: 09:03:56.184: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed

(flutter_acrylic_example:8222): Gdk-CRITICAL **: 09:03:56.184: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed

Note: Transparency was working fine with version Flutter 3.19.6

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