You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem: The GUI app currently doesn't display anything when a USB removal event causes a trigger to be executed. This means that, if it fails to execute, the user sees nothing happening at all.
Solution: We need to display a notification in the GUI saying that the trigger was (attempted to be executed)
The text was updated successfully, but these errors were encountered:
This is already done in the CLI. When a USB hotplug event is detected, it will output something like this
DEBUG: called hotplugCallbackNix()
context:|<usb1.USBContext object at 0x730a750bb250>|
device:|Bus 002 Device 002: ID 0bda:0328|
event:|2|
usb1.HOTPLUG_EVENT_DEVICE_LEFT:|2|
calling <bound method BusKill.triggerLin of <packages.buskill.BusKill object at 0x730a76aa6510>>
DEBUG: BusKill lockscreen trigger executing now
This also gets logged to the debug log file.
We need to display something similar to this in the GUI. Perhaps with a toast message of some kind. I'm not a fan of KivyMD, but perhaps I could implement something similar to this
Problem: The GUI app currently doesn't display anything when a USB removal event causes a trigger to be executed. This means that, if it fails to execute, the user sees nothing happening at all.
Solution: We need to display a notification in the GUI saying that the trigger was (attempted to be executed)
The text was updated successfully, but these errors were encountered: