[2.0.69] Left click not working in blueprint library

Bugs that are actually features.
Teleclast
Burner Inserter
Burner Inserter
Posts: 8
Joined: Tue Jun 26, 2018 5:09 am
Contact:

[2.0.69] Left click not working in blueprint library

Post by Teleclast »

What I did - While inside Blueprint library Left click blueprint to open, or leftclick+drag blueprint to move it in library
What I got - Orange background as if I were opening it, but nothing happened
What I expected - Expected to put the blueprint on my cursor so I could place it.
- Happens always since 2.0.69 update.

Blueprints work fine from toolbar. Ctrl-C works fine. Shift+Left Click works fine to move to my inventory and back. Same with Ctrl-Left Click.

Before even logging in since update I had installed Rate Calculator, I have since removed it (Never having saved the game), this did not fix it.
I downgraded to 2.066 and it removed all of my blueprints.
Reupgraded to 2.0.69 and they show up again but I still cannot use them.

Image
Edit: Logfile attached, I'm playing heavily modded so I hope it's still useful, I can remove whatever mods might be required or all if needed.
Attachments
factorio-previous.log
(245.92 KiB) Downloaded 12 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4250
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.69] Left click not working in blueprint library

Post by boskid »

Cannot reproduce any issues in 2.0.69. Can you provide a save file where the issue happens? I suspect it may be caused by permissions disallowing you to interact with blueprint library records.
Teleclast
Burner Inserter
Burner Inserter
Posts: 8
Joined: Tue Jun 26, 2018 5:09 am
Contact:

Re: [2.0.69] Left click not working in blueprint library

Post by Teleclast »

Apologies, I should have done the basic thing and tested it with 0 mods.

Removing everything but official mods it works fine, I'll figure out which mod it is and reach out to the mod author.

Sorry for the inconvenience.
heyqule
Long Handed Inserter
Long Handed Inserter
Posts: 73
Joined: Sun Mar 05, 2017 1:35 am
Contact:

Re: [2.0.69] Left click not working in blueprint library

Post by heyqule »

Hi

Teleclast also report the issue on my chat. So I did some digging. Here is what I found so far.

This issue didn't exist in 2.0.66. I see the issue when the mod adds a custom input with mouse-button-1. I tried adding Shift or Alt. The action in blueprint library GUI still broken.

Here is the example I have moust-button-1 custom input both in https://mods.factorio.com/mod/erm_unit_control and https://mods.factorio.com/mod/enemyracemanager. The custom input were declared with "consuming" set to "none". I had to comment out the custom mouse-button-1 control in both mod to restore the function in blueprint library GUI.


#from erm_unit_control.
local left_click =
{
type = "custom-input",
name = "left-click",
localised_name = "Mouse click",
key_sequence = "mouse-button-1",
consuming = "none",
order = "ca",
}
heyqule
Long Handed Inserter
Long Handed Inserter
Posts: 73
Joined: Sun Mar 05, 2017 1:35 am
Contact:

Re: [2.0.69] Left click not working in blueprint library

Post by heyqule »

The attachment is a MVP mod that reproduced the issue.

Using "selection-tool" type with mouse left click is causing the issue. I extracted the code from the unit_control mod. :D

Reproduce steps:
1. Create a blueprint library with a few books
2. Install the MVP mod and relaunch the game
3. Try drag the book and it no longer work.
Attachments
hq_factorio_test_1.0.0.zip
(1.99 KiB) Downloaded 15 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 16192
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.69] Left click not working in blueprint library

Post by Rseding91 »

I see, in that case.. this is a simple matter of "don't do that". Since there's an item in the cursor it tries to swap the cursor item with the blueprint library item and since the item in the cursor is not allowed in the library it does nothing.

Everything is working correctly here - just the mod(s) need to not force stick items into the cursor when the blueprint library is open.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Not a bug”