krydos / todoist-linux

The Linux wrapper for Todoist web version. Unofficial!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Option to disable the tray icon

debevv opened this issue · comments

It would be nice to have to possibility to completely disable the tray icon with a config file option, and making the app terminate by clicking the "x" window button.
I find this more in line with the "Alt-Tab" workflow described in the repository readme, because the user will tend to keep the window application open all the time, making the space taken by the tray icon useless.
I tried to set the tray-icon to null, but i get a javascript exception

hi @debevv,
thanks for the good idea.

I made the change here - 38e2155 but I'd like to collect a bit more changes to make new release.

I can make a build specifically for you though. What system are you on?

Thanks!
I'm on Ubuntu 18.04 x86_64

@debevv you can take deb package from here

The tray icon is not shown anymore, but i have two problems:

  • When i close the app, the window disappears, but if i try to open it again i get the error in the picture. I noticed a Todoist process in the task manager still running, and i have to kill it to avoid the error
    1

  • When i minimize the window, i get this error
    2

Ah, it's good I didn't make a release, LOL.

Sorry about that I didn't test it well enough. It's interesting that the process is not disappearing when you exit the program. I actually made the change to not keep the program running when "X" button is pressed. Interesting...
I'll take a look

Yes, it is behaving very strangely. I wanted to add that when i minimize it, after the error I see two running processes in the task manager