[Rseding91] [1.1.41] Logitech RGB keyboard goes off when ALT TAB-ing back to Factorio

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15676
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [1.1.41] Logitech RGB keyboard goes off when ALT TAB-ing back to Factorio

Post by Rseding91 »

We don’t do anything special in any of those cases. What I suspect is happening is when alt tabbed from the game the software stops accepting requests to change colors from Factorio and then once focused again the next time Factorio requests to set a key color it starts updating again.

Given we do not do anything when focus is lost to start the “don’t listen to requests from this process” I don’t see why we should be doing anything to stop that logic. I’d expect the software on the keyboard side to automatically re-enable it when focus switches back to the Factorio process.

But again, I am unable to reproduce any of the mentioned issues so I have nothing to work on around this.
If you want to get ahold of me I'm almost always on Discord.
dnsmcbr
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat May 10, 2025 11:02 pm
Contact:

Re: [Rseding91] [1.1.41] Logitech RGB keyboard goes off when ALT TAB-ing back to Factorio

Post by dnsmcbr »

FYI I, too, have this issue on Logitech.

I wonder if it could be related to multi-monitor stuff, as I often mouse out to another window to chat or do whatever on the other monitor, and then click back in to the factorio window, with the noted issue.
ElOhTeeBee
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Sep 07, 2021 8:54 am
Contact:

Re: [Rseding91] [1.1.41] Logitech RGB keyboard goes off when ALT TAB-ing back to Factorio

Post by ElOhTeeBee »

dnsmcbr wrote: Sat May 10, 2025 11:06 pm FYI I, too, have this issue on Logitech.

I wonder if it could be related to multi-monitor stuff, as I often mouse out to another window to chat or do whatever on the other monitor, and then click back in to the factorio window, with the noted issue.
Same issue, workaround doesn't work, and I also use a multi-monitor setup.
dnsmcbr
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat May 10, 2025 11:02 pm
Contact:

Re: [Rseding91] [1.1.41] Logitech RGB keyboard goes off when ALT TAB-ing back to Factorio

Post by dnsmcbr »

To add some extra data points: when clicking back in whilst a loading bar is displayed (i.e. at startup or loading map) it works too.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15676
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [1.1.41] Logitech RGB keyboard goes off when ALT TAB-ing back to Factorio

Post by Rseding91 »

I've added a call to reset the LED state when the game detects a window-maximized/entered/restored event to see if it helps with this at all. I'm still unable to reproduce this issue on my end but maybe this will make it work for others? It will be in 2.0.52.
If you want to get ahold of me I'm almost always on Discord.
Maeximus
Inserter
Inserter
Posts: 23
Joined: Sun Jun 02, 2024 10:10 am
Contact:

Re: [Rseding91] [1.1.41] Logitech RGB keyboard goes off when ALT TAB-ing back to Factorio

Post by Maeximus »

Rseding91 wrote: Tue May 20, 2025 8:16 pm I've added a call to reset the LED state when the game detects a window-maximized/entered/restored event to see if it helps with this at all. I'm still unable to reproduce this issue on my end but maybe this will make it work for others? It will be in 2.0.52.
First of all - thank you! :space-age:

I have a new second install for my pY playthrough which I downloaded from the website and when playing that - the behaviour is somehow different. As soon as the game opens, the keyboard changes to the orange "factorio-mode" and only changes back when I close the game.

When I play my steam-installation, the keyboard changes from "factorio-mode" to "windows-desktop-mode" every time I switch out of factorio.

So I guess there is a wrapper from steam which causes all those issues with the keyboard and hopefully the added call will tend to the issues which seem to be introduced by steam...
dnsmcbr
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat May 10, 2025 11:02 pm
Contact:

Re: [Rseding91] [1.1.41] Logitech RGB keyboard goes off when ALT TAB-ing back to Factorio

Post by dnsmcbr »

Rseding91 wrote: Tue May 20, 2025 8:16 pm I've added a call to reset the LED state when the game detects a window-maximized/entered/restored event to see if it helps with this at all. I'm still unable to reproduce this issue on my end but maybe this will make it work for others? It will be in 2.0.52.
Thanks - I'll switch to Experimental and when that release lands on Steam I can provide rapid feedback :)
dnsmcbr
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat May 10, 2025 11:02 pm
Contact:

Re: [Rseding91] [1.1.41] Logitech RGB keyboard goes off when ALT TAB-ing back to Factorio

Post by dnsmcbr »

Rseding91 wrote: Tue May 20, 2025 8:16 pm I've added a call to reset the LED state when the game detects a window-maximized/entered/restored event to see if it helps with this at all. I'm still unable to reproduce this issue on my end but maybe this will make it work for others? It will be in 2.0.52.
FYI I've tried on .52, but no luck :(

I'll probably just go to the non-steam version which seems to not have this issue.
dnsmcbr
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat May 10, 2025 11:02 pm
Contact:

Re: [Rseding91] [1.1.41] Logitech RGB keyboard goes off when ALT TAB-ing back to Factorio

Post by dnsmcbr »

Now I'm using the non-steam client, an interesting observation is that the keyboard is *staying* in the Factorio config during tabbing etc. rather than reverting to the default config whent abbed.
Post Reply

Return to “Pending”