super-productivity
super-productivity copied to clipboard
On Ubuntu 24.04.1 LTS, SuperProductivity doesn't get mimized to tray anymore
Your Environment
- Version used: Snap 10.0.2
- Operating System and version: Ubuntu 24.04.1 LTS
- Desktop Environment: Gnome 46.0
- Browser Name and version: N/A
Expected Behavior
If I activate "Minimize to tray (desktop only)" in the settings and close the app by using the close window button, the app should be minimized to the system tray.
Current Behavior
The app is closed completely. If I start the app from a terminal, I get the following error (among stuff about my GPU, which is probably unrelated):
TypeError: Cannot read properties of undefined (reading 'hide')
at /snap/superproductivity/2036/resources/app.asar/electron/main-window.js:199:30
at /snap/superproductivity/2036/resources/app.asar/electron/get-settings.js:17:44
at Array.forEach (<anonymous>)
at IpcMainImpl.getSettingsCb (/snap/superproductivity/2036/resources/app.asar/electron/get-settings.js:17:13)
Additionally, there's a message in the terminal during startup that may or may not be related (AppArmor not granting access to something, so it's undefined
later? Just a wild guess, though):
[10807:0909/080527.397845:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.login1.Manager.Inhibit: object_path= /org/freedesktop/login1: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.174" (uid=1000 pid=10807 comm="/snap/superproductivity/2036/superproductivity --n" label="snap.superproductivity.superproductivity (enforce)") interface="org.freedesktop.login1.Manager" member="Inhibit" error name="(unset)" requested_reply="0" destination="org.freedesktop.login1" (uid=0 pid=1312 comm="/usr/lib/systemd/systemd-logind" label="unconfined")
Steps to Reproduce (for bugs)
- Start the app with "Minimize to tray" activated in the settings.
- Close the app by clicking on the close window button.
- The app doesn't get minimized to tray, but is closed completely
Can you reproduce this reliably?
I can reproduce this reliably.
Console Output
No output in the console that appears to be related to this.
Error Log (Desktop only)
The latest entries in main.log are from late July (which may be an indication for another problem?), so probably not relevant for this issue. This issue popped up quite recently, within the last few days.