Sitelet https://github.com/flutter/flutter/issues/183
Skip to content

Clicking button widget causes crash on Linux #183

Description

@FlutterIssues

Issue by nlacasse
Tuesday Oct 06, 2015 at 23:54 GMT
Originally opened as https://github.com/flutter/engine/issues/1514


I have a sky/flutter app with a button. Clicking the button works fine on Android, and it used to work fine on Linux (desktop) as well.

However, the latest release of sky_engine breaks the button on Linux. Clicking it yields:

[1006/163649:ERROR:dart_error.cc(16)] Unhandled exception:
Bad state: No element
#0      List.last (dart:core-patch/growable_array.dart:211)
#1      _RenderInkWell._handleTap (packages/sky/src/widgets/ink_well.dart:180)
#2      TapGestureRecognizer.handlePrimaryPointer (packages/sky/src/gestures/tap.dart:27)
#3      PrimaryPointerGestureRecognizer.handleEvent (packages/sky/src/gestures/recognizer.dart:107)
#4      PointerRouter.route (packages/sky/src/gestures/pointer_router.dart:45)
#5      FlutterBinding.handleEvent (packages/sky/src/rendering/binding.dart:166)
#6      FlutterBinding.dispatchEvent (packages/sky/src/rendering/binding.dart:160)
#7      FlutterBinding._handlePointerEvent (packages/sky/src/rendering/binding.dart:145)
#8      FlutterBinding._handleEvent (packages/sky/src/rendering/binding.dart:98)

I'm running my app with pub run sky_tools run_mojo and in multiprocess mode.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions