Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upNo VM shutdown notifications #3560
Comments
marmarta
added
bug
C: qubes-manager
labels
Feb 9, 2018
andrewdavidwong
added this to the Release 4.0 milestone
Feb 10, 2018
andrewdavidwong
modified the milestones:
Release 4.0,
Release 4.0 updates
Mar 31, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
donob4n
May 10, 2018
The event is received but the callback doesn't send a notification.
/qui/models/domains/domains.py (255):
self.signal_callbacks = {
'Starting': self.update_domain_item,
'Started': self.update_domain_item,
'Failed': self.update_domain_item,
'Halting': self.update_domain_item,
'Halted': self.remove_menu,
'Unknown': self.update_domain_item,
}
def remove_menu(self, _, vm_path):
''' Remove the menu item for the specified domain from the tray'''
vm_widget = self.menu_items[vm_path]
self.tray_menu.remove(vm_widget)
del self.menu_items[vm_path]
self.tray_menu.queue_draw()
I would do a pull request but I can't find the repository.
donob4n
commented
May 10, 2018
•
|
The event is received but the callback doesn't send a notification. /qui/models/domains/domains.py (255):
I would do a pull request but I can't find the repository. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
desktop-linux-manager
|
donob4n
referenced this issue
in QubesOS/qubes-desktop-linux-manager
May 10, 2018
Merged
Add notification on remove_menu callback #23
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
donob4n
commented
May 10, 2018
|
Done. Should the subprocess.call() be replaced by direct dbus events? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
marmarek
May 10, 2018
Member
On Thu, May 10, 2018 at 04:40:32AM -0700, donob4n wrote:
Done.
Thanks!
Should the subprocess.call() be replaced by direct dbus events?
Yes.
|
On Thu, May 10, 2018 at 04:40:32AM -0700, donob4n wrote:
Done.
Thanks!
Should the subprocess.call() be replaced by direct dbus events?
Yes.
|
marmarek
closed this
in
marmarek/qubes-desktop-linux-manager@e711c59
May 15, 2018
qubesos-bot
referenced this issue
in QubesOS/updates-status
Jun 27, 2018
Closed
desktop-linux-manager v4.0.10 (r4.0) #562
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
marmarta commentedFeb 9, 2018
Qubes OS version: R4.0rc4
If a VM is halted from inside (e.g., a template after updates), no notification at all is emitted. If
Steps to reproduce the behavior:
Shutdown a VM.
Expected behavior:
Two notifications are emitted: one when shutdown process begins ([VM] is halting) and one when it's complete ([VM] is halted)
Actual behavior:
If the VM is shut down from inside (e.g., after a template VM update completes), no notification at all is emitted.
If the VM is shut down from manager or the qui-domains tool, only the [VM] is halting notification appears, and nothing about how shutdown was completed.