ransome1 / sleek

todo.txt manager for Linux, Windows and MacOS, free and open-source (FOSS)
https://github.com/ransome1/sleek/wiki
MIT License
1.28k stars 99 forks source link

Better left-click tray icon behavior #618

Open andrei-a-papou opened 6 months ago

andrei-a-papou commented 6 months ago

Would it be possible to enhance left-click behavior so it toggles sleek rather than only shows it? That's what many apps do with their tray icons (e. g. Telegram, KeePassXC, etc) and I think many users expect it.

So the behavior I'm proposing is this:

  1. if window is open but not focused, left-click focuses it -- already works
  2. if window is open and focused, left-click hides it to tray (provided the appropriate config setting is on)
  3. if window is hidden in tray, left-click opens and focuses it -- already works

I think that would enhance the UX as sometimes a user just needs to look at the todos without changing anything -- and he will be able to do it with a couple mouse clicks, without having to move the mouse to the window close button to hide sleek.