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

Qubes 4.0-rc2 Device Widget Ghost Entries #3215

Open
section0x8 opened this Issue Oct 26, 2017 · 7 comments

Comments

Projects
None yet
8 participants
@section0x8

The widget fails to keep a real time list of devices. If a device is not properly removed, the widget will not realize that it is gone. This can happen if the device is unplugged without detaching it. It can happen if a VM powers off without the device being removed first. And it can probably happen a number of other ways.

Screenshot:
screenshot_2017-10-25_23-26-33

This goes without saying, I don't really understand how the widget organizes itself in the first place. There are two sets of rows what is the difference between them?

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Oct 26, 2017

Member

This goes without saying, I don't really understand how the widget organizes itself in the first place. There are two sets of rows what is the difference between them?

Those are different type/layers of devices - at the top are block devices, below are usb devices. If a device is both, it is in both places (but you can choose how you want to attach it).

Member

marmarek commented Oct 26, 2017

This goes without saying, I don't really understand how the widget organizes itself in the first place. There are two sets of rows what is the difference between them?

Those are different type/layers of devices - at the top are block devices, below are usb devices. If a device is both, it is in both places (but you can choose how you want to attach it).

@ERFier

This comment has been minimized.

Show comment
Hide comment
@ERFier

ERFier Oct 26, 2017

I could confirm this issue yesterday. It was also the case if one restarts the usb-vm for some reason. It's not the thumbdrive getting displayed as general usb device as well as block device but non blockdevices, like WWAN Card or Yubikey in my case, getting duplicated.

Today, I think due to some update I applied yesterday, I cant reproduce the behavior. But the widget still lacks a proper update. If I shutdown the usb-vm the devices are still shown despite the fact they are not accessible anymore. The devices are also still shown as connected and there is no way to detach them and reattach them as the usb-vm starts again or the device is plugged in again. Maybe a force update function accessible thru a right-click context menu is a good idea to at least empower the user to recover the widget once it displays nonsense.

ERFier commented Oct 26, 2017

I could confirm this issue yesterday. It was also the case if one restarts the usb-vm for some reason. It's not the thumbdrive getting displayed as general usb device as well as block device but non blockdevices, like WWAN Card or Yubikey in my case, getting duplicated.

Today, I think due to some update I applied yesterday, I cant reproduce the behavior. But the widget still lacks a proper update. If I shutdown the usb-vm the devices are still shown despite the fact they are not accessible anymore. The devices are also still shown as connected and there is no way to detach them and reattach them as the usb-vm starts again or the device is plugged in again. Maybe a force update function accessible thru a right-click context menu is a good idea to at least empower the user to recover the widget once it displays nonsense.

@quaterniol

This comment has been minimized.

Show comment
Hide comment
@quaterniol

quaterniol Nov 12, 2017

When the menu for the USB device widget is open and an USB mouse (e.g. Logitech mouse) is removed, then almost always the entry for the mouse stays in the menu. Inserting the mouse again creates a new entry. Repeating this creates a lot of entries. (I am using qubes 4.0-rc2 and saw the entry disappear when the mouse was removed only once.)

When the menu for the USB device widget is open and an USB mouse (e.g. Logitech mouse) is removed, then almost always the entry for the mouse stays in the menu. Inserting the mouse again creates a new entry. Repeating this creates a lot of entries. (I am using qubes 4.0-rc2 and saw the entry disappear when the mouse was removed only once.)

marmarta added a commit to marmarta/qubes-desktop-linux-manager that referenced this issue Nov 20, 2017

Fixed errors with qui-devices
Fixed a bug that led to a device not being correctly
removed from qui-device menu when the device was
inserted and removed multiple times. It may also fix
QubesOS/qubes-issues#3275 - further testing is needed
(AKA "it works on my laptop") and parts of
QubesOS/qubes-issues#3215 - at least those related to
devices multiplying endlessly.

fixes QubesOS/qubes-issues#3266

@marmarta marmarta referenced this issue in QubesOS/qubes-desktop-linux-manager Nov 20, 2017

Merged

Fixed errors with qui-devices #13

@qubesos-bot qubesos-bot referenced this issue in QubesOS/updates-status Nov 21, 2017

Closed

desktop-linux-manager v4.0.5 (r4.0) #306

@awokd

This comment has been minimized.

Show comment
Hide comment
@awokd

awokd Jan 30, 2018

In 4.0 rc3, clicking Eject on an attached USB device seems to do nothing. Selecting it again from the widget shows it still connected to the AppVM. Seems like it might be related to this issue, but should I open a new one?

awokd commented Jan 30, 2018

In 4.0 rc3, clicking Eject on an attached USB device seems to do nothing. Selecting it again from the widget shows it still connected to the AppVM. Seems like it might be related to this issue, but should I open a new one?

@ThierryIT

This comment has been minimized.

Show comment
Hide comment
@ThierryIT

ThierryIT Feb 3, 2018

same for 4.0 rc4 and doesn't show anything in the Qubes manager has it was possible with the Qubes 3.2.

same for 4.0 rc4 and doesn't show anything in the Qubes manager has it was possible with the Qubes 3.2.

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Feb 3, 2018

Member

In 4.0 rc3, clicking Eject on an attached USB device seems to do nothing. Selecting it again from the widget shows it still connected to the AppVM. Seems like it might be related to this issue, but should I open a new one?

Sure, that sounds different enough to merit a separate issue. It could turn out to be the same cause, but we have no way of knowing that right now.

Member

andrewdavidwong commented Feb 3, 2018

In 4.0 rc3, clicking Eject on an attached USB device seems to do nothing. Selecting it again from the widget shows it still connected to the AppVM. Seems like it might be related to this issue, but should I open a new one?

Sure, that sounds different enough to merit a separate issue. It could turn out to be the same cause, but we have no way of knowing that right now.

@RefinedSoftwareLLC

This comment has been minimized.

Show comment
Hide comment
@RefinedSoftwareLLC

RefinedSoftwareLLC Jun 14, 2018

  • Also, when the DVD in a drive is changed, the displayed title of the current DVD isn't updated.

RefinedSoftwareLLC commented Jun 14, 2018

  • Also, when the DVD in a drive is changed, the displayed title of the current DVD isn't updated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment