[2.0.76] Quality Recipe Selection Selects on Mouse Up, Unlike all Other UI Elements

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
User avatar
NotRexButCaesar
Smart Inserter
Smart Inserter
Posts: 1150
Joined: Sun Feb 16, 2020 12:47 am
Contact:

[2.0.76] Quality Recipe Selection Selects on Mouse Up, Unlike all Other UI Elements

Post by NotRexButCaesar »

When selecting quality when setting a recipe, the quality selection only activates on mouse up, but every other part of the menu activates on mouse down. I believe this is a bug and not intended because it is only the case for this one part of the UI.

To see this behaviour, place an assembler and then open it to select the recipe.
To demonstrate the mouse-down behaviour, click and hold on some item, then press enter to set the recipe: the recipe will be set.
To demonstrate the different behaviour with quality, select an item, then click and hold on a quality level at the bottom of the menu. This time when you press enter, the recipe uses the default quality, not the one you were clicking on.
—Crevez, chiens, si vous n'étes pas contents!
Rseding91
Factorio Staff
Factorio Staff
Posts: 16686
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.76] Quality Recipe Selection Selects on Mouse Up, Unlike all Other UI Elements

Post by Rseding91 »

Thanks for the report however in what way is this causing issues?

The game in the majority of GUI cases tries to react to events on key up, however for technical reasons that wasn’t viable for craft and inventory related actions (shift click and such). The fact that the quality picker works fine on key up meant it didn’t have to run on key down.

But where’s the actual issue that would warrant changing anything?
If you want to get ahold of me I'm almost always on Discord.
User avatar
NotRexButCaesar
Smart Inserter
Smart Inserter
Posts: 1150
Joined: Sun Feb 16, 2020 12:47 am
Contact:

Re: [2.0.76] Quality Recipe Selection Selects on Mouse Up, Unlike all Other UI Elements

Post by NotRexButCaesar »

Rseding91 wrote: Thu Mar 05, 2026 7:44 am in what way is this causing issues?
I would say maybe a quarter or half the time when I am trying to set a recipe or request for something with quality I end up setting it to normal by accident because I press enter (or e) while the mouse is still down. I have also seen this happen in videos on Youtube more than once.
—Crevez, chiens, si vous n'étes pas contents!
Post Reply

Return to “Pending”