KSP-CKAN / CKAN

The Comprehensive Kerbal Archive Network

Home Page:https://forum.kerbalspaceprogram.com/index.php?/topic/197082-*

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clearing the changeset after selecting "update all" does not work when filters/search are active

JonnyOThan opened this issue · comments

I got into a weird situation where the "apply" button was enabled, but no amount of clicking the "master" checkbox to clear the changeset would actually clear it.

  1. Manually install a mod that can be auto-detected (in my case, it was ProbeControlRoom and Reviva)
  2. enter a term in the search box so that the auto-detected mods are not visible (e.g. DE_IVA)
  3. Click "update all" - note "apply" becomes active (to update the AD mods)
  4. Click the "master" checkbox twice, to clear the changeset
  5. "apply" is still active, and clicking it will try to update the AD mods
  6. Clear the search term and filter by installed so you can see the AD mods
  7. Note the "update" checkboxes are NOT checked (but clicking "apply" still tries to update them)
  8. Click the master checkbox twice again - no change in "apply" state or update checkbox state
  9. If you manually check and uncheck the update checkboxes, the "apply" button will then be disabled as expected

image

I'm guessing that because the AD mods are not visible when you try to clear the changeset, their update checkboxes don't change state and somehow get out of sync with what's actually in the changeset.