Toolbars


If the Quickbar is not enough, create toolbars that can hold items and tools and be positioned anywhere you like.

Utilities
5 months ago
1.1 - 2.0
8.53K

b [Bug with workaround] Alt-Tab in windowed maximized mode cause toolbars to change positions

1 year, 1 month ago

The toolbars keep moving around when alt tabbing, any way to lock them in place?

1 year, 1 month ago

Just alt+tab in my case is not changing positions of toolbars. It may happen if Factorio resolution is decreased, then toolbars are moved to be visible in the screen and when resolution is increased toolbars is not moved back to the edge of the screen.

1 year, 1 month ago

Yes there is a slight resolution difference - I use Ultra wide 3440x1440 in Windows 11, and I play Factorio windowed but maximised, so that Alt tabbing works better

Still the behaviour is a little weird.

It works better when I have the toolbars at the top of screen and not too close to the right side

1 year, 1 month ago

It cannot touch right/bottom in the smaller resolution.

1 year, 1 month ago

Instead of alt+tab try switching to another desktop maybe it won't influence the resolution.

1 year, 1 month ago

Actually even in full screen mode my toolbars also move when Alt tabbing

1 year, 7 days ago

Hi, just in case CoolColj or someone who finds this thread is still suffering from this issue, I found a work about. Under Settings > Graphics under the advanced heading there is an option called "Minimize on Focus loss", unchecking this will stop it from minimizing it and therefor changing resolution, it isn't ideal since it is hard to get to your desktop but solves the immediate issue.

3 days ago

Sometimes I swap my factorio window to another display and back, I understand the toolbar positions get screwed up when used for a different resolution but given that they get screwed the least the data configuration in the backend could do was to make sure that when I go back to my original display that the toolbars were in the correct place. Eg. even if the display changes the data about their position should not change, so when applied to a constant environment (the original display) it should be correct. I'm assuming there's some clamping or otherwise something else occurring when the resolution changes and this is causing all the issues. Fix this and all these issues go away.

3 days ago

In the case that a new resolution would cause the elements to be rendered off-screen you could make use of two sets of state, one temporary set of state that has priority which is set in the same place the current logic of preventing the elements of offscreening but allowing the original data to be there. Only when the user changes the place the toolbars are that the persistent state should be changed.

This mod causes me to be constantly fiddling with the positions of the toolbars, it is not hardened enough to keep the toolbars in the place they are configured.

New response