Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

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

Open
Kanuan opened this issue Jun 4, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Kanuan
Copy link

Kanuan commented Jun 4, 2022

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

@nefarius nefarius self-assigned this Jun 4, 2022
@Kanuan
Copy link
Author

Kanuan commented Jun 5, 2022

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 Kanuan changed the title Missing Child List when a device's sub-item is rewritten Device list not properly refreshed if changes occur while app is running Jun 5, 2022
@Kanuan
Copy link
Author

Kanuan commented Jun 5, 2022

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

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

@nefarius nefarius added the bug Something isn't working label Sep 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants