andrepolischuk / thomas

Simple pomodoro timer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error with tray icon

erhoppe opened this issue · comments

Clicking on the button in the tray produces an empty black box. When I try to unenable the tray icon, I get the following error:

A JavaScript error occurred in the main process
Uncaught Exception:
TypeError: Cannot read property 'show' of undefined
at Array.data.subscribe (/home/erhoppe/thomas/app/createWindow.js:112:15)
at notify (/home/erhoppe/thomas/node_modules/dact/dist/index.js:65:18)
at merge (/home/erhoppe/thomas/node_modules/dact/dist/index.js:83:9)
at /home/erhoppe/thomas/node_modules/dact-electron/dist/index.js:35:16
at Object.emit (/home/erhoppe/thomas/node_modules/dact/dist/index.js:115:12)
at EventEmitter. (/home/erhoppe/thomas/node_modules/dact-electron/dist/index.js:20:12)
at emitTwo (events.js:125:13)
at EventEmitter.emit (events.js:213:7)
at WebContents. (/home/erhoppe/thomas/node_modules/electron/dist/resources/electron.asar/browser/api/web-contents.js:266:13)
at emitTwo (events.js:125:13)

Exiting the error, the icon is indeed removed from my tray.

I'm running Ubuntu 16.04.4 LTS (xenial).

sorry for waiting, I’m going to fix this next week

Same error raises to me just after pressing the arrows to increase-decrease the pomodoro time.

Same issue here running Ubuntu 18.04.2 LTS (Bionic Beaver). Tray functionality would be really great!!

same errors with javascrit
Win10 user

I can't even use the app, since it appears from even opening the app, straight after installation.
I need to kill the process in task manager

I have this same problem. Is there a fix? I'm on Linux Mint.