Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sugar3.activity.Activity.get_active corner case #388

Open
quozl opened this issue May 5, 2018 · 0 comments
Open

sugar3.activity.Activity.get_active corner case #388

quozl opened this issue May 5, 2018 · 0 comments

Comments

@quozl
Copy link
Contributor

quozl commented May 5, 2018

sugar3.activity.Activity.get_active and set_active are methods of the Activity class that expose the property active. See source code.

Sometimes an activity is told it is active even though it is not visible. Especially if the activity is hidden by the home view, friends view, or neighbourhood view.

Reproducer:

  • start the Clock activity,
  • select the ticking clock mode (symbol of a drum),
  • switch to journal using f5, the ticking stops,
  • switch to home view using f3, the ticking remains stopped,
  • switch to the activity using alt-tab, the ticking resumes,
  • switch to home view using f3, the ticking continues; it should stop.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant