Do not change "ALT mode" when pressing ALT+TAB
Moderator: ickputzdirwech
-
- Smart Inserter
- Posts: 2768
- Joined: Tue Apr 25, 2017 2:01 pm
- Contact:
Re: Do not change "ALT mode" when pressing ALT+TAB
Works fine for me? I don't have that issue.
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics
Re: Do not change "ALT mode" when pressing ALT+TAB
are you sure you have Toggle "alt mode" set to left / right alt and not to something else?
-
- Manual Inserter
- Posts: 4
- Joined: Fri Apr 15, 2022 9:33 pm
- Contact:
Re: Do not change "ALT mode" when pressing ALT+TAB
No issue in my game either.
-
- Smart Inserter
- Posts: 2768
- Joined: Tue Apr 25, 2017 2:01 pm
- Contact:
Re: Do not change "ALT mode" when pressing ALT+TAB
Yes. I can press the alt key (by itself) and it will toggle alt mode. It just does not do it when alt-tabbing.
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics
- benwillard
- Burner Inserter
- Posts: 17
- Joined: Sat Jun 22, 2019 11:30 am
- Contact:
Re: Do not change "ALT mode" when pressing ALT+TAB
I removed the ALT shortcut, anyway it's useless.
Re: Do not change "ALT mode" when pressing ALT+TAB
I moved my alt mode to right alt to prevent this.
Re: Do not change "ALT mode" when pressing ALT+TAB
ended up by also removing alt shortcut - specially when there is a button on toolbar to toggle ...
-
- Smart Inserter
- Posts: 2768
- Joined: Tue Apr 25, 2017 2:01 pm
- Contact:
Re: Do not change "ALT mode" when pressing ALT+TAB
Well, having the keybind is nice as it's faster, plus it frees up the toolbar shortcut for something else (especially in the case of mods).
That said, I do find it interesting that some people are having this issue and some aren't. Makes me think it's less of a game issue and maybe more OS/OS settings? Not sure. :/
That said, I do find it interesting that some people are having this issue and some aren't. Makes me think it's less of a game issue and maybe more OS/OS settings? Not sure. :/
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics
Re: Do not change "ALT mode" when pressing ALT+TAB
I'm on Windows 10, and it also happens for me that ALT-Tabbing out of Factorio toggles ALT-mode within Factorio. I have to activate it again after I switch back to Factorio. It is an annoyance I never thought more about it, and this thread made me realize there's an easy workaround. So I changed the keybinding from ALT to ALTGR (right ALT-key). (thanks for this idea!)
Re: Do not change "ALT mode" when pressing ALT+TAB
This used to be an issue for me. Now under I no longer have this issue, it preserves the Alt mode whenever I alt-tab out of a running game. I'm not sure when this changed I did notice the change but it was so far under my radar that I didn't care to note which release. I am using Windows 11 maybe that's it?
I don't alt-tab out of the game as much as I used to, very rarely these days. Most of the time I pause and save the game before focusing my attention to another application.
I don't alt-tab out of the game as much as I used to, very rarely these days. Most of the time I pause and save the game before focusing my attention to another application.
-
- Smart Inserter
- Posts: 2768
- Joined: Tue Apr 25, 2017 2:01 pm
- Contact:
Re: Do not change "ALT mode" when pressing ALT+TAB
I'm using Win 10, 21H2 (and again, not an issue for me).
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics
Re: Do not change "ALT mode" when pressing ALT+TAB
Being encouraged by this thread, I tried to find a way to reproduce. Usually, ALT-mode isn't toggled. But one out of perhaps 5 tries, ALT-Tabbing out of Factorio toggles ALT-mode within Factorio. It only toggles ALT-Tabbing out of Factorio, never into Factorio.
It seems ALT-mode is toggled the moment I tap the TAB key, when Factorio loses focus and the Windows tasklist appears. But in this moment, I still hold down the ALT-key (I checked!). It doesn't always happen, only one out of perhaps 5 tries. Perhaps Windows sends an "ALT key up" event although the key isn't actually released.
A workaround could perhaps be to check if Factorio still has focus, and if it doesn't have the focus any more, don't toggle ALT-mode. However, I don't know if the moment Factorio receives the ALT key up message the focus is still on Factorio or already on the task switch window of Windows or even on the app I'm switching to.
Running current Windows 10 and Steam version of Factorio. Happens regardless of windowed or fullscreen mode.
It seems ALT-mode is toggled the moment I tap the TAB key, when Factorio loses focus and the Windows tasklist appears. But in this moment, I still hold down the ALT-key (I checked!). It doesn't always happen, only one out of perhaps 5 tries. Perhaps Windows sends an "ALT key up" event although the key isn't actually released.
A workaround could perhaps be to check if Factorio still has focus, and if it doesn't have the focus any more, don't toggle ALT-mode. However, I don't know if the moment Factorio receives the ALT key up message the focus is still on Factorio or already on the task switch window of Windows or even on the app I'm switching to.
Running current Windows 10 and Steam version of Factorio. Happens regardless of windowed or fullscreen mode.
Re: Do not change "ALT mode" when pressing ALT+TAB
This one is slighly related to viewtopic.php?f=71&t=938
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: Do not change "ALT mode" when pressing ALT+TAB
I still find it amazing that a programmer would ever use a shift key, in this case the 'Alternate Shift' key to change the mode of something in a program.
The best way to fix this issue is to rebind the 'Alt mode' function to the letter 'I' (for Information) or some other key.
I am pretty sure I objected to this in the forum years ago, but I wouldn't be surprised if my objection was deleted by the developers. Using Shift, Control or Alternate Shift keys to change program states or modes by themselves is just wrong.
The best way to fix this issue is to rebind the 'Alt mode' function to the letter 'I' (for Information) or some other key.
I am pretty sure I objected to this in the forum years ago, but I wouldn't be surprised if my objection was deleted by the developers. Using Shift, Control or Alternate Shift keys to change program states or modes by themselves is just wrong.
Re: Do not change "ALT mode" when pressing ALT+TAB
There was a change back in 0.17 to fix that issue :
viewtopic.php?f=23&t=65455
viewtopic.php?f=23&t=65455
Koub - Please consider English is not my native language.
-
- Manual Inserter
- Posts: 1
- Joined: Tue Jun 02, 2020 4:38 am
- Contact:
Re: Do not change "ALT mode" when pressing ALT+TAB
I didn't even realize I had any issue until I read this thread.
I haven't had any issues with ALT-TAB but I do use ALT-B, ALT-D, ALT-U a lot which frequently toggles the alt-mode inadvertently, among other ALT-combinations.
Usually it happens when I don't commit to what I was about to do, so I pressed ALT in preparation for pressing ALT-B, etc, but then I changed my mind.
Releasing the ALT key, then toggle, and I have to remember to toggle it back.
I agree that the alt-mode should be rebound to a different key.
I like the suggestion of using the 'I' key and renaming the mode to Info-Mode to correspond with the key and intent.
I haven't had any issues with ALT-TAB but I do use ALT-B, ALT-D, ALT-U a lot which frequently toggles the alt-mode inadvertently, among other ALT-combinations.
Usually it happens when I don't commit to what I was about to do, so I pressed ALT in preparation for pressing ALT-B, etc, but then I changed my mind.
Releasing the ALT key, then toggle, and I have to remember to toggle it back.
I agree that the alt-mode should be rebound to a different key.
I like the suggestion of using the 'I' key and renaming the mode to Info-Mode to correspond with the key and intent.