Identinator icon indicating copy to clipboard operation
Identinator copied to clipboard

Device list not properly refreshed if changes occur while app is running

Open Kanuan opened this issue 2 years ago • 2 comments

Update

Issue was renamed into a more general topic since any device change that causes a Device List hot-refresh will make the list have issues related to missing sub-items or blank/incomplete Child Device lists. Check the new posts for the details

Tested version

Tested on v1.8.1

The issue

  • If a device's sub-item is Identinated or has its identination reversed then all sub-items of the affected sub-item's parent device will have their Child Devices' list blank until Identinator is fully re-opened
    • This affects all sub-items of the parent device, even though only one of the parent device's sub-item was rewritten

Steps to reproduce

  1. Re-write only the sub-item of a given parent device
  2. After the list refresh, check the Child List of another sub-item of the same parent device
    • Alternatively, undo the rewrite of the affected sub-item then check its Child List once the device list is refresh

Example

  • In [1] of the screenshot below, only the USB Input Device [Port 4] for the DS4v2 (USB Composite Device [Port 4]) was rewritten (Identination reversed). After the device is back to its normal operation mode, Identinator is failing to show its sub-items. Re-opening Identinator re-populates its Child Device list properly, as shown in [2]
    • On [1], Wireless Controller [Port 1] also was missing the Child Device list even though it's not shown in the screenshot

image

Kanuan avatar Jun 04 '22 21:06 Kanuan

On v1.10.0, the issue mostly persists.

Reproducing the issue

  1. Connect a DS4v2 controller
  2. Open Identinator
  3. Identinate the DS4v2's USB Input Device [Port 4] sub-item
  4. Check the Wireless Controller [Port 1]
    • Alternatively, revert the identination of the affected sub-item before step "4" for the issue to occur

Expected behavior

  • The Wireless Controller [Port 1] should have 2 devices in its list: one for the headphone and another for the mic, as shown in the pic below

image

Actual behavior

  • The Wireless Controller [Port 1] will be missing one or both of its 2 Child Devices, as shown in the pic below
  • Closing then re-opening the app will make the proper list get loaded

image

Kanuan avatar Jun 05 '22 02:06 Kanuan

I discovered on further tests that most things that triggers a Device List hot-refresh will cause the new list to have issues. Like:

  • Identinating or reverting the changes of a Devce or its sub-items
    • As seen in this post and on #7
  • Connecting a new device while Identinator is running

Most side-effects are:

  • Missing sub-items for a given device
  • Child list of a device or its sub-item is blank or missing items

Tested on v1.10.0

Kanuan avatar Jun 05 '22 03:06 Kanuan