Skip to content
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

Disabling tray icon plugin doesn't work #654

Open
AdamPS opened this issue Oct 2, 2024 · 1 comment
Open

Disabling tray icon plugin doesn't work #654

AdamPS opened this issue Oct 2, 2024 · 1 comment
Labels

Comments

@AdamPS
Copy link
Collaborator

AdamPS commented Oct 2, 2024

Describe the bug
Disabling the tray icon plugin doesn't work.

To Reproduce

  1. Click on settings, select plugins, and disable the Tray Icon.
  2. The tray icon remains visible, and safeeyes becomes disabled.

Expected behavior
The tray icon is removed.

Desktop (please complete the following information):

  • Ubuntu 24.04
    
  • GNOME
    
  • Version 2.2.2
    

Debug Log
Run the Safe Eyes using safeeyes --debug command attach the ~/safeeyes.log` file.

Screenshots
If applicable, add screenshots to help explain your problem.

@TheEgghead27
Copy link

I seem to be experiencing something related, when I launch a recently updated copy of safeeyes, I get this notice, and the disable button closes the dialog but leaves this traceback in console — safeeyes -t does not seem to work after this, but manually hitting the disable button in the configuration menu (calling safeeyes again) and relaunching the safeeyes server works
image

Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/safeeyes/ui/required_plugin_dialog.py", line 82, in on_disable_plugin_clicked
    self.on_disable_plugin()
    ~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/safeeyes/safeeyes.py", line 202, in <lambda>
    lambda: self.disable_plugin(plugin_id)
                                ^^^^^^^^^
NameError: name 'plugin_id' is not defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants