[2.0.12] Middle click on toolbar picks up item instead of clearing

This subforum contains all the issues which we already resolved.
kenmras
Inserter
Inserter
Posts: 25
Joined: Fri Mar 01, 2019 3:41 am
Contact:

[2.0.12] Middle click on toolbar picks up item instead of clearing

Post by kenmras »

TL;DR
When I middle click on one of my quick bar icons it is acting like I'm left clicking on it the first time.

What ?
Steps to re-produce:
This is a very strange bug as it seems to happen only after copy-paste of factory settings
1)Load the attached save
2)Copy from one factory to another (my test was from a factory making red belts and pasting on another factory already making red belts)
3)Set an item in the tool bar
2) Middle click on that same item - cursor goes to Ghost if you don't have any or grabs the item if you do have some
3) Middle click on that same item again - Item clears allowing you to set a new item

I expected the first time I middle clicked to clear the item.


I loaded the save file attached and it happened every time. I saved to main menu to check the version number, minimized and began writting this and when I went back in, loaded the game, it would not reproduce but instead cleared the item first middle click every time.
When I quit and restarted it cleared every time. When I copied and pasted factory settings it started acting up again.
SPACE AGE5 - oil.zip
Save file with oil unlocked SA without additional mods
(6.44 MiB) Downloaded 10 times
Oh one other thing. I'm plaing on a laptop while my mouse is connected to a different work station and shared using Synergy. I don't believe this has any effect as the key strokes, Mouse movement, and mouse buttons work perfectly in all other software and in Factorio in every other way.
Attachments
config.ini
(46.1 KiB) Downloaded 16 times
factorio-previous.log
(11.99 KiB) Downloaded 17 times
factorio-current.log
(10.87 KiB) Downloaded 11 times
Last edited by kenmras on Tue Oct 29, 2024 11:46 pm, edited 1 time in total.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14269
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Middle click on toolbar picks up item instead of clearing [2.0.12]

Post by Rseding91 »

You've bound smart-pipette's alternative key-binding to middle mouse button which will do exactly what you describe when pressed over a quickbar slot.
If you want to get ahold of me I'm almost always on Discord.
kenmras
Inserter
Inserter
Posts: 25
Joined: Fri Mar 01, 2019 3:41 am
Contact:

Re: [2.0.12] Middle click on toolbar picks up item instead of clearing

Post by kenmras »

Amazingly fast response, Thanks!
I see that I've bount "Clear Cursor" to middle click but not pipette. And is there a difference between pipette and smart pipette?
2024-10-29 16_53_00-Factorio_ Space Age 2.0.12.png
2024-10-29 16_53_00-Factorio_ Space Age 2.0.12.png (1.4 MiB) Viewed 919 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 14269
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.12] Middle click on toolbar picks up item instead of clearing

Post by Rseding91 »

Sorry, there is not. It's just internally called that and I was reading the key binding names from the config.ini you provided.
If you want to get ahold of me I'm almost always on Discord.
kenmras
Inserter
Inserter
Posts: 25
Joined: Fri Mar 01, 2019 3:41 am
Contact:

Re: [2.0.12] Middle click on toolbar picks up item instead of clearing

Post by kenmras »

That makes sense. But I dont get how the ini file would be bound to middle click but the GUI shows that clear cursor is bound to it... 1 off error?
Rseding91
Factorio Staff
Factorio Staff
Posts: 14269
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.12] Middle click on toolbar picks up item instead of clearing

Post by Rseding91 »

Hmmmmm, I was wrong. That value is from some old version and it got migrated along. It looks like the actual issue is related to having clear-cursor alternative bound to middle mouse button. The logic for marking a given control as "used" is wrongly marking both possible hotkeys for a given action as consumed.
If you want to get ahold of me I'm almost always on Discord.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14269
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.12] Middle click on toolbar picks up item instead of clearing

Post by Rseding91 »

This is now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.
kenmras
Inserter
Inserter
Posts: 25
Joined: Fri Mar 01, 2019 3:41 am
Contact:

Re: [2.0.12] Middle click on toolbar picks up item instead of clearing

Post by kenmras »

Amazing work! as always.
Post Reply

Return to “Resolved Problems and Bugs”