mactype icon indicating copy to clipboard operation
mactype copied to clipboard

Service mode intermittently stops working on Windows startup

Open icebeam030 opened this issue 3 years ago • 4 comments

Windows 10 21H1, Mactype 2021 RC1, sometimes after Windows starts, the rendering is not working although Mactype service is running. Have to restart the service to make it work again.

icebeam030 avatar Jun 20 '21 05:06 icebeam030

Is it that the service mode stopped working completely that all the subsequent applications launched are all ignored? Or only the applications that start with Windows are ignored?

How often does it happen?

snowie2000 avatar Jun 21 '21 07:06 snowie2000

So I did 5 restarts and 5 fresh starts on my home PC, unable to reproduce the issue, I guess there's just a short delay before the Mactype service starts.

However, on my office PC both Service and Tray mode start to break this week. For example, Microsoft Teams fails to launch, reporting "The ordinal 345 could not be located in the dynamic link library". Once I stop Mactype, it launches successfully.

Because office PCs have many policies and configs applied so it may not be fixable without knowing what caused the failure.

icebeam030 avatar Jun 23 '21 07:06 icebeam030

The ordinal 345 could not be located in the dynamic link library is a sort of well-known issue of MacType.

So far no one knows what the problem lies in so no solution has ever raised.

And yes, the service mode did have some occasional problems on startup. I saw it happen yesterday for the first time. Will dig into it. Thanks.

snowie2000 avatar Jun 25 '21 03:06 snowie2000

@snowie2000

This consistently happens on my end as well. Especially after logging back into Windows after resuming from sleep/hibernate (I'm on Windows 10 with hybrid sleep/hibernate enabled). In such cases, the service appears to be running in the background (the service status is shown as Running and the MacTypeTray.exe process is alive), but apps are no longer hooked. Restarting the service is a hit-or-miss: Sometimes it works, refreshing the fonts in all hooked processes. In other times, it doesn't change it at all (even though the service successfully restarts). And occasionally, only certain processes get re-hooked.

In fact, this issue is pervasive enough that it happens even when I'm running the program in the tray app/standalone mode. Let me known if you need more info to help with debugging this bug.

shadeMe avatar Jul 22 '21 13:07 shadeMe