Skip to content

Add test for: Blinking cursor still fires timer when app is not active #186

Closed

Description

@FlutterIssues

Issue by Hixie
Wednesday Oct 07, 2015 at 20:23 GMT
Originally opened as https://github.com/flutter/engine/issues/1524


e.g. when it's not the active application, but is still running in the background. (You can see this by putting a print in markNeedsBuild when you have a focus text field.)

See also #1523.

Activity

  1. added this to the milestone on Nov 9, 2015
  2. added
    a: text inputEntering text in a text field or keyboard related problems
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Nov 9, 2015
  3. Hixie commented on Dec 16, 2015

    @Hixie
    Contributor

    See #955 for infrastructure which will make this much easier to do.
    We probably should just have the cursor be ticked from a periodic timer that is marked as being only runnable while the app is in the foreground.

  4. eseidelGoogle commented on May 13, 2016

    @eseidelGoogle
    Contributor

    @Hixie added some hooks to the testing framework to catch things like this. Do we know if this is still an issue?

  5. Hixie commented on May 13, 2016

    @Hixie
    Contributor

    Pretty sure we fixed this, but we should figure out a way to test it. I'm not sure we have a test for it.

    To see if it's fixed just put a print in the beginFrame logic, then run an app, get a blinking cursor, and hit the home button. See if you keep getting log messages.

  6. modified the milestones: , on Jul 19, 2016
  7. added
    a: tests"flutter test", flutter_test, or one of our tests
    and removed on Jul 19, 2016
  8. modified the milestones: , on Jul 19, 2016
  9. changed the title [-]Blinking cursor still fires timer when app is not active[/-] [+]Add test for: Blinking cursor still fires timer when app is not active[/+] on Jul 19, 2016
  10. modified the milestones: , on Jan 26, 2017
  11. Hixie commented on Jan 17, 2018

    @Hixie
    Contributor

    I'm going to announce a policy that we shouldn't fine "add a test for..." bugs. Either add the test, or hope someone adds the test. But the bug isn't going to make the latter happen.

  12. github-actions commented on Aug 8, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  13. locked as resolved and limited conversation to collaborators on Aug 8, 2021
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

    a: tests"flutter test", flutter_test, or one of our testsa: text inputEntering text in a text field or keyboard related problemsc: new featureNothing broken; request for a new capabilityframeworkflutter/packages/flutter repository. See also f: labels.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions