hundredrabbits / Left

Distractionless Writing Tool
http://hundredrabbits.itch.io/left
Other
1.78k stars 144 forks source link

Un-hiding Window on Windows 10 does not work #59

Closed ghost closed 6 years ago

ghost commented 6 years ago

There is an option to hide the window, but there appears to be no option to unhide the window.

Ctrl + H makes the window disappear, and pressing Ctrl + H again does not do anything.

neauoire commented 6 years ago

really? it works for me on OSX. Could you make sure that you're not getting an error. Press cmd ., then cmd h. Does it give you an error in the console?

Redmega commented 6 years ago

cmd + h is working to hide and unhide for me on MacOS High Sierra 10.13.3

ghost commented 6 years ago

It appears to be a bug for Windows 10 x64 then - here is a GIF of it.

https://i.imgur.com/aAS22OJ.gif

  1. Open Left
  2. Ctrl + H to hide, Ctrl + H again - nothing happens
  3. Alt + Tab to see list of current windows, Left is not there.
  4. View task manager, where Left is still running

On Windows for Electron Apps (Slack, Discord) when the process is running, they usually show a task tray icon. Perhaps Left could do this.

Either that or disable Ctrl + H for Windows.

Redmega commented 6 years ago

when the process is running, they usually show a task tray icon

I believe this is the best course of action for windows.

On macOS, Most windows lose focus when hidden so it doesn't make sense to keep it active so a shortcut can unhide them. I think the unhide shortcut should just be removed entirely.

neauoire commented 6 years ago

I will disable hiding on windows entirely, it will simply minimize the window.