andrepolischuk / thomas

Simple pomodoro timer
MIT License
147 stars 24 forks source link

Error with tray icon #10

Open erhoppe opened 6 years ago

erhoppe commented 6 years ago

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).

andrepolischuk commented 6 years ago

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

fcanela commented 5 years ago

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

karatesoup commented 5 years ago

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

ChristopheChanteur commented 5 years ago

same errors with javascrit Win10 user

ChristopheChanteur commented 5 years ago

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

eringiglio commented 4 years ago

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