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

Lack of view refresh after packages list or package state was changed #1616

Closed
p0358 opened this issue Nov 17, 2020 · 1 comment
Closed

Lack of view refresh after packages list or package state was changed #1616

p0358 opened this issue Nov 17, 2020 · 1 comment
Labels
beta Issues with the beta version of Zebra bug Something isn't working packages Issues pertaining to the Packages tab or package management

Comments

@p0358
Copy link

p0358 commented Nov 17, 2020

Describe the bug

When repos have finished refreshing, "Packages" and "Changes" views and any opened package view should be refreshed.
After a package was installed/uninstalled, opened package view should be refreshed.
Both are not refreshed and require switching tab back and forth or reentering the package details page.

This leads to latest updates not showing immediately on "Packages" tab, despite the badge is changed.
After a package is installed, its state is not updated, so you have a "Get" or "Modify" button, despite their caption being wrong. You also have certain package details missing, such as the list of installed files.

To Reproduce
Variant A (assume there are new updates published, of which Zebra is not aware yet)

  1. Open Zebra, it starts to refresh sources in the background automatically
  2. Go into "Packages" tab
  3. Zebra finishes updating repos, the badge is updated showing some number of updates available
  4. Nothing is changed in the opened tab, no packages to update appear

Variant B

  1. Install a package
  2. Close out the installation window
  3. The package still has "Get" button ("was it not installed?", a user might think), other details like the list of installed files are missing

Variant C

  1. Open supposedly local package for which Zebra hasn't loaded info yet, it shows as from "Local repo"
  2. Zebra had finished refreshing sources and found that exact package in there
  3. User still sees "Local repo" as the source
  4. They need to reenter the depiction page to show the correct package details page

Expected behavior

Views are outdated and user needs to reenter them to update with the latest information.

Screenshots

Device Information:

  • iOS Version: 13.5
  • Zebra Version: 1.2~beta6a
  • Device Type: iPhone
  • Jailbreak Type: Odysseyra1n

Crash Log or System Log

Additional context

@p0358 p0358 added the bug Something isn't working label Nov 17, 2020
@wstyres wstyres added the packages Issues pertaining to the Packages tab or package management label Nov 25, 2020
@wstyres wstyres added this to the 1.2 milestone Dec 13, 2020
@PoomSmart PoomSmart added the beta Issues with the beta version of Zebra label Dec 30, 2020
@wstyres wstyres removed this from the 1.2 milestone Apr 26, 2021
@wstyres
Copy link
Member

wstyres commented May 26, 2021

Hi! Thanks for your issue report. Unfortunately we do not support the 1.2 beta versions anymore and this issue will be closed. You can either downgrade to the latest stable version (1.1.18) or install the Zebra 2.0 Alpha and see if your issue still persists. If the issue does still persist, please file a new issue.

@wstyres wstyres closed this as completed May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta Issues with the beta version of Zebra bug Something isn't working packages Issues pertaining to the Packages tab or package management
Projects
None yet
Development

No branches or pull requests

3 participants