Mining progress resets when opening inventory

This subforum contains all the issues which we already resolved.
Post Reply
EducatedShip13184
Burner Inserter
Burner Inserter
Posts: 8
Joined: Fri Mar 24, 2017 8:57 pm
Contact:

Mining progress resets when opening inventory

Post by EducatedShip13184 »

Case:
Viewing the inventory while doing a long manual mining for a resource.

Expected behaviour:
Opening the inventory (E- window) does not affect the current mining progress.

Real behaviour:
Mining progress resets when inventory window opens.

Replicable:
100%

Build:
15.6 Mac OS X

System:
Sierra

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

Re: Mining progress resets when opening inventory

Post by Rseding91 »

I'm not sure what you describe is actually a bug. When you change focus from the thing you're mining to something else progress is reset - that's working as intended.

When you open the GUI you loose focus on the entity because now the GUI is in the way.
If you want to get ahold of me I'm almost always on Discord.

User avatar
Ranakastrasz
Smart Inserter
Smart Inserter
Posts: 2124
Joined: Thu Jun 12, 2014 3:05 am
Contact:

Re: Mining progress resets when opening inventory

Post by Ranakastrasz »

Rseding91 wrote:I'm not sure what you describe is actually a bug. When you change focus from the thing you're mining to something else progress is reset - that's working as intended.

When you open the GUI you loose focus on the entity because now the GUI is in the way.
That would be reasonable, but unlike, say, minecraft, you don't normally lose mining progress until you change to mining a new target. I guess opening a GUI has the same effect, in that mining progress is bound to your "Target Entity" which is set both by interacting with an entity and by mining an entity.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16

User avatar
TruePikachu
Filter Inserter
Filter Inserter
Posts: 978
Joined: Sat Apr 09, 2016 8:39 pm
Contact:

Re: Mining progress resets when opening inventory

Post by TruePikachu »

To note, you only lose the progress if you're holding the "mine" button and the inventory opens up in front of what is being mined. If you release the button, then open the inventory, progress isn't lost. If what you're mining isn't covered by the inventory, progress most likely won't be lost.

I think it might be something like the ore sees that the "mine" action is still "active", but since the ore isn't highlighted anymore, progress on mining it gets reset.

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: Mining progress resets when opening inventory

Post by kovarex »

I'm sorry but the issue is so small, that changing it is not worth it. Especially with the optimisations that are in the code related to this.

User avatar
ickputzdirwech
Filter Inserter
Filter Inserter
Posts: 768
Joined: Sun May 07, 2017 10:16 am
Contact:

Re: Mining progress resets when opening inventory

Post by ickputzdirwech »

This has been fixed. As long as you don't try to mine another entity you can do pretty much anything and your mining progress is preserved.
Mods: Shortcuts for 1.1, ick's Sea Block, ick's vanilla tweaks
Tools: Atom language pack
Text quickly seems cold and unfriendly. Be careful how you write and interpret what others have written.
- A reminder for me and all who read what I write

Post Reply

Return to “Resolved Problems and Bugs”