Issue SMAPI Causing Active Program to be Deselected

Kitherit

Newcomer
I don't know if this is a good place to post for SMAPI itself, but I posted this over on Reddit and got zero response. Also, I am not actually expecting a "fix" for this, since it's a very obscure issue, but I wanted to report it anyway, just in case.

I recently got back into playing Stardew Valley again, and almost right away started to experience a minor issue where the active program gets "deselected" from the task bar in Windows 10. (As though I've clicked on my empty desktop, so nothing on my task bar is selected anymore.) This was very obvious when it happened with Stardew, because the game froze completely. (Single player game.) I had to alt-tab or click back to it to continue playing.

But then I realized it was happening with ANY active program I'm using on Windows 10. But ONLY when I am also running Stardew Valley and SMAPI. I'll have Stardew Valley up, and alt-tab over to Discord or Chrome, and have THAT window become "deselected" randomly as well.

Its frequency varies, but I'd say it generally happens around once per hour. It's not really that big a deal, just a matter of alt-tabbing back to what I was doing. But over the course of several days or a couple weeks, it really started to become more irritating.

Given this only happens when I have SMAPI/Stardew running, I was reasonably certain SMAPI was somehow causing it. There's nothing in the SMAPI window to indicate something is happening to cause it, though. Talking it over with a friend, they suggested checking to see what else was running that might be conflicting with SMAPI. So the next time it happened, I immediately checked my System Tray and disabled a couple programs that I didn't need to have running.

One of them is called Logitech G Hub. (Going to abbreviate as LGH from here on.) LGH is a background process used by my wireless headphones to let me adjust settings and check battery levels. It doesn't display any on screen message or alerts for my headphones (or I have the on screen messages disabled), but is required when I want to use them. Since I only really use them for voice chat, and I play Stardew Valley solo, I don't really need LGH running when I'm playing the game.

I've since had time to do more testing, and whenever LGH is running and I launch Stardew/SMAPI, this deselecting issue will happen randomly. If I turn off LGH while I'm playing the game, it doesn't happen at all. I've also NEVER had this issue before in the time I've had my headset and had LGH running in the background. (Several months.) It ONLY started when I started playing Stardew Valley again, and does NOT happen when I don't have the game running but still have LGH running.

As I said before, this is such an obscure issue, I don't actually expect anyone to try and find a fix for it. Especially because I can simply turn off LGH when I want to play Stardew Valley. But I wanted to put this out there anyway, just in case. If nothing else, if anyone else happens to have a Logitech Wireless product and has experienced this issue while playing, maybe this might help someone else figure out what's going on.

(LGH is also used for several Logitech products, not just headphones. It has listings for Logitech Keyboard and Mouse as well.)

TL;DR If you own a Logitech Wireless device which requires Logitech G Hub, you may experience an unusual conflict with SMAPI where your active program randomly becomes "deselected." If possible, turn off Logitech G Hub, or just put up with the relatively minor annoyance.
 
Top