willowtreeapps / willowtreeapps/vocable-android

Incorrect Categories label after navigating away from Home screen for a 'while'

Open
#531 0 comments 0 reactions 3 assignees View on GitHub

@aileene-willow is already working on this.

Since May 28, 2024.

bug
Dominant language
Kotlin
Stars
127
Forks
21
Avg merge
16m
Merged PRs (30d)
4

Description

Describe the bug
Navigating away from the Home screen for anywhere from 5-60 seconds returns the Categories label to the 1st category (usually the "General" category, unless the order was changed). The Categories label will also be unselected. This bug does not apply if the user was already originally on the 1st category (i.e. "General).

Steps to reproduce the behavior:

  1. Navigate away from the 1st category (i.e. "General". If you are unsure which category is the 1st, go to Settings > Categories and Phrases and look for the first Category in that list)
  2. Navigate away from the Home page, either by tapping the Keyboard button or the Settings button
  3. Wait for about 10 seconds
  4. Return to the Home screen

Expected behavior
The Category label near the top returns to the original Category that was selected, and remains selected (green)

Actual Behavior
The Category label jumps back to the 1st Category and is also unselected (purple). Note that the behaviour of the Phrases is still correct.

Screenshots

Screenshot 2024-05-16 at 10 51 06 AM

Smartphone (please complete the following information):

  • Device: Pixel 4
  • OS: Android 12

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.