7coil / DiscordForOffice

Discord Rich Presence for Microsoft Office (2013 and above, Office 365)
https://leondrolio.com/projects/discordforoffice/
MIT License
162 stars 12 forks source link

Schrödinger's Microsoft Word #1

Closed 7coil closed 5 years ago

7coil commented 6 years ago

Is editing, but is also not.

Will remain in this state till observed indepth.

image

7coil commented 5 years ago

This "issue" has been fixed in the latest issue. This issue was caused by the ApplicationEvents4_WindowDeactivateEventHandler, which is called whenever the window is no longer active. This is used because Microsoft provide no other way of checking if a file is actually closed.

image

The inclusion of ApplicationEvents4_DocumentOpenEventHandler allows for the presence to be restored when reopened. In this scenario, a better detail "Not Active" was chosen to show that the user is tabbed out, or has not opened a file.