[Rseding91] [16.0] Unable to select entities after alt-tab (caused by overwolf)

This subforum contains all the issues which we already resolved.
KuboS0S
Burner Inserter
Burner Inserter
Posts: 13
Joined: Sun Apr 30, 2017 8:44 am
Contact:

[Rseding91] [16.0] Unable to select entities after alt-tab (caused by overwolf)

Post by KuboS0S »

Alt-tabbing from the game and back prevents entities from being selected (the yellow bounds outline doesn't appear) and clicked - mining doesn't work, opening entity inventories/GUIs doesn't work, entities do not respond to clicks. Changing the window to fullscreen or windowed fixes this (until I alt-tab again).

On a side note, Factorio randomly stopped responding while it was in the background when I was writing this report. Uncertain why right now, I might look at it.

Edit: Just to clarify, menu buttons do register the mouse, so it is possible to save the game at this state and change the game to windowed mode.


KuboS0S
Burner Inserter
Burner Inserter
Posts: 13
Joined: Sun Apr 30, 2017 8:44 am
Contact:

Re: [16.0] Unable to select entities after alt-tab

Post by KuboS0S »

Sorry, I forgot about it, coming right up!

I tested the alt-tab issue a few times, it consistently happens when I switch to another window and back, but returns to normal after the Fullscreen option is checked/unchecked in the Graphics settings.
As for the other issue related to the game freeze, I re-opened the game after it froze (I don't know how many times, but hopefully only once), so I'm also sending the factorio-previous.log.
Attachments
factorio-previous.log
Previous log where the game froze
(15.11 KiB) Downloaded 117 times
factorio-current.log
Current log
(16 KiB) Downloaded 119 times

Plytas
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Aug 20, 2016 6:05 pm
Contact:

Re: [16.0] Unable to select entities after alt-tab

Post by Plytas »

Had the same problem with alt-tab. Seems like Overwolf is the culprit. After exiting Overwolf I am able to select entities again.

MIZTigerForLife
Manual Inserter
Manual Inserter
Posts: 1
Joined: Fri Mar 13, 2015 3:26 pm
Contact:

Re: [16.0] Unable to select entities after alt-tab

Post by MIZTigerForLife »

Seconding the overwolf close solution. I was also having this issue after alt-tabbing. Closing overwolf fixed the problem. This didn't happen prior to 0.16.

Krypter
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Dec 16, 2017 7:57 am
Contact:

Re: [16.0] Unable to select entities after alt-tab (caused by overwolf)

Post by Krypter »

I had this problem as well. Exiting Overwolf fixed it for me too.
Tried to revert to 0.15.40, and i did not have the same problem there.

MinusMinotaur
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Dec 16, 2017 4:54 pm
Contact:

Re: [16.0] Unable to select entities after alt-tab (caused by overwolf)

Post by MinusMinotaur »

Same Issue as well. Closing Overwolf fixed it. It isn't just tabbing out. I have 2 monitors and clicking on any window and clicking back breaks it while overwolf is on.

Justderpingalong
Long Handed Inserter
Long Handed Inserter
Posts: 75
Joined: Wed Mar 08, 2017 3:34 pm
Contact:

Re: [16.0] Unable to select entities after alt-tab (caused by overwolf)

Post by Justderpingalong »

Overwolf isn't the only culprit. I had the exact same problem, but for me it was Bandicam that was causing issues. I suspect any program that influences Factorio in any way causes this to happen.

Mobius1
Fast Inserter
Fast Inserter
Posts: 191
Joined: Thu Feb 09, 2017 12:05 am
Contact:

Re: [16.0] Unable to select entities after alt-tab (caused by overwolf)

Post by Mobius1 »

Those issues aren't 3rd party related, they're caused by the HWND of the mouse cursor, when it leaves the screen the selection box of all entities just vanish, you can't select any entity, altho if you play on windowed mode, if you resize the window keeping the mouse cursor inside the game window, after the resizing adjustment, the entities becomes selectable again. Tested it on my PC where I also use 3rd party overlay software, disabled them but the bug still persist.

LEO konami
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun Dec 17, 2017 7:32 am
Contact:

Re: [16.0] Unable to select entities after alt-tab (caused by overwolf)

Post by LEO konami »

Hey there,

Or from Overwolf support here, from what I understand from this post the main issue\bug is on the game side.
If any program "hooks" in the game process the user will have this selection bug.

We will keep an eye on this issue and as soon this version will be in the public version we will make sure to fix it if and when we can.

Thank you for your attention,
Or Head of Tech support at Overwolf

Rseding91
Factorio Staff
Factorio Staff
Posts: 14014
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [16.0] Unable to select entities after alt-tab (caused by overwolf)

Post by Rseding91 »

LEO konami wrote:Hey there,

Or from Overwolf support here, from what I understand from this post the main issue\bug is on the game side.
If any program "hooks" in the game process the user will have this selection bug.

We will keep an eye on this issue and as soon this version will be in the public version we will make sure to fix it if and when we can.

Thank you for your attention,
Or Head of Tech support at Overwolf
Steam hooks the game process and has no such problems. It sounds like the overlay software is intercepting window events and not passing them along to the game to process.

Specifically the game is using https://msdn.microsoft.com/en-us/library/ms646265 to track if the mouse is inside the window or not and something in that is being interrupted by the overlay software.
If you want to get ahold of me I'm almost always on Discord.

Mobius1
Fast Inserter
Fast Inserter
Posts: 191
Joined: Thu Feb 09, 2017 12:05 am
Contact:

Re: [16.0] Unable to select entities after alt-tab (caused by overwolf)

Post by Mobius1 »

Rseding91 wrote:Steam hooks the game process and has no such problems. It sounds like the overlay software is intercepting window events and not passing them along to the game to process.

Specifically the game is using https://msdn.microsoft.com/en-us/library/ms646265 to track if the mouse is inside the window or not and something in that is being interrupted by the overlay software.
Back on 0.15 I still used my both overlay apps Twitch and Overwolf and this issue weren't there, maybe it has something to do with Qt Library update?

Actimos351
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun Dec 17, 2017 7:47 pm
Contact:

Re: [Rseding91] [16.0] Unable to select entities after alt-tab (caused by overwolf)

Post by Actimos351 »

[16.4] i have had this issue twice so far.
1. clicked Research in the tech window (i'm sorry i don't remember which tech it was). afterwards i was unable to select entities.
2. placed a Storage chest. same result.

my "fix" was to save, exit and reload factorio. i do have Overwolf installed and running in the back ground.

Heaser
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Dec 17, 2017 8:50 am
Contact:

Re: [Rseding91] [16.0] Unable to select entities after alt-tab (caused by overwolf)

Post by Heaser »

Actimos351 wrote:[16.4] i have had this issue twice so far.
1. clicked Research in the tech window (i'm sorry i don't remember which tech it was). afterwards i was unable to select entities.
2. placed a Storage chest. same result.

my "fix" was to save, exit and reload factorio. i do have Overwolf installed and running in the back ground.

A much quicker workaround is to press Alt+Enter to put the game in windowed mode, Then pressing Alt+Enter to bring to full screen mode again.

Heaser
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Dec 17, 2017 8:50 am
Contact:

Re: [Rseding91] [16.0] Unable to select entities after alt-tab (caused by overwolf)

Post by Heaser »

Hey, My name is Heaser, I'm from the Overwolf QA team.

We created a temporary workaround you can use if you're using Factorio version 16.x, Hopefully the Factorio dev team will fix it on their side,
If they won't we'll release the workaround for everybody.

1. Download the GamesList.8963065.xml file provided in this reply.
2. Go to %localappdata%\Overwolf and replace the GamesList.8963065.xml file.
3. Restart Overwolf.
4. Launch Factorio.

If you guys have any issues feel free ask.
Attachments
GamesList.8963065.xml
(5.04 MiB) Downloaded 220 times

Mobius1
Fast Inserter
Fast Inserter
Posts: 191
Joined: Thu Feb 09, 2017 12:05 am
Contact:

Re: [Rseding91] [16.0] Unable to select entities after alt-tab (caused by overwolf)

Post by Mobius1 »

v0.16.6 seems to have fixed the issue on my side. At least my testing can't be reproduced anymore.
The testing that I've did is on this post: 55053.
Both windowed and fullscreen mode I can't reproduce it anymore, thanks for the fixing.

Rseding91
Factorio Staff
Factorio Staff
Posts: 14014
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [16.0] Unable to select entities after alt-tab (caused by overwolf)

Post by Rseding91 »

Mobius1 wrote:v0.16.6 seems to have fixed the issue on my side. At least my testing can't be reproduced anymore.
The testing that I've did is on this post: 55053.
Both windowed and fullscreen mode I can't reproduce it anymore, thanks for the fixing.
I disabled the logic that used the "is the mouse in the window" until we can figure out why it's being triggered with overlay-type programs.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”