Skip to content

Conversation

@marcaaron
Copy link
Contributor

@marcaaron marcaaron commented Sep 21, 2020

cc @AndrewGable

Fixes: #332

@marcaaron marcaaron self-assigned this Sep 21, 2020
@marcaaron marcaaron marked this pull request as ready for review September 21, 2020 20:43
@marcaaron
Copy link
Contributor Author

Alright have searched around for a bit and the signs are pointing towards this being a decent option for now. This was a weird one because Electron counts a "partially visible" window as "visible" and only counts "fully occluded" windows as "hidden". So if you have Chrome on top of Electron but Electron's toe is sticking out then you won't get any browser notifications.

@marcaaron
Copy link
Contributor Author

Another option would be that we just live with this limitation and don't implement the IPC stuff until we need to.
If everyone wants to go that way for now I'd be cool with it.

Copy link
Contributor

@tgolen tgolen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice to use this when marking a thread as unread when a message comes into the thread currently being viewed (I was just thinking of making something like this).

@tgolen tgolen merged commit 389ab8f into master Sep 21, 2020
@tgolen tgolen deleted the marcaaron-visibility branch September 21, 2020 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants