Bug 1102 - Wishlist: Improve handling of disconnected devices
Summary: Wishlist: Improve handling of disconnected devices
Alias: None
Product: PulseView
Classification: Unclassified
Component: UI (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Nobody
Depends on:
Reported: 2017-12-29 20:17 CET by Soeren Apel
Modified: 2017-12-29 20:21 CET (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Soeren Apel 2017-12-29 20:17:28 CET
Situation 1: device was disconnected and not reconnected

User expectation: selecting the device in the device dropdown shouldn't be possible anymore

Current behavior: selecting the device is possible but the session is empty (no device)

Possible solution: when libusb tells libsigrok that the USB device was disconnected, it should tell PV so that the entry can be greyed out
Comment 1 Soeren Apel 2017-12-29 20:21:13 CET
Also, when the device is reconnected, the entry should become enabled again.

This however seems tricky to implement in libsigrok as it's unclear how libsigrok would be able to determine that the newly connected USB device is a device that was connected before. Maybe a device scan should be initiated by libsigrok every time a USB device is connected?