flackr / circ

An IRC packaged chrome app
BSD 3-Clause "New" or "Revised" License
388 stars 79 forks source link

Close to tray #422

Closed sabrehagen closed 6 years ago

sabrehagen commented 6 years ago

Hi,

I'd like to make a feature request for 'close to tray' functionality. I realize being a chrome app this may not be possible, so the next best option would be 'close and reopen from chrome menu'. I desire this because I don't always want my CIRC window open, nor present in my window switcher.

Would this be possible given you're in the chrome app world?

flackr commented 6 years ago

As you guessed, close to tray is not possible as a chrome packaged app (See https://crbug.com/142450 for details). It would be possible to move the IRC connection to the background page so that it could be kept alive even when the app window is closed and this would let you close and reopen the app and continue to get notifications.

That being said, chrome packaged apps are being phased out on everything but ChromeOS (See https://blog.chromium.org/2016/08/from-chrome-apps-to-web.html) so I have been focusing my available time on creating a Progressive Web App version of CIRC. This will require running a server component but through the magic of WebRTC does not require enabling port forwarding. See the server branch for current progress. This version will also let you close the app and continue to stay connected and receive notifications.