[1.1.109] quick_bar_set_selected_page permission doesn't prevent changing page

Things that we don't consider worth fixing at this moment.
Post Reply
User avatar
_CodeGreen
Long Handed Inserter
Long Handed Inserter
Posts: 66
Joined: Sat Mar 05, 2022 11:30 am
Contact:

[1.1.109] quick_bar_set_selected_page permission doesn't prevent changing page

Post by _CodeGreen »

When a player changes their active quickbar row manually, whether it's from Shift + #, clicking on the button, using previous/next hotkeys, or rotating quickbars, none of it is reflected in the API. The script isn't ever aware of what the active quickbar is, unless the script sets the active quickbar itself.
Last edited by _CodeGreen on Mon Jul 08, 2024 9:37 pm, edited 1 time in total.
My Mods | If you can't make it perfect, make it adjustable

User avatar
_CodeGreen
Long Handed Inserter
Long Handed Inserter
Posts: 66
Joined: Sat Mar 05, 2022 11:30 am
Contact:

Re: [1.1.109] quick_bar_set_selected_page permission doesn't prevent changing page

Post by _CodeGreen »

Upon further inspection, it's because I had the quick_bar_set_selected_page permission disabled.
I would expect this permission to actually disable the player's ability to do that, rather than just make it desync state between the api and the client.
My Mods | If you can't make it perfect, make it adjustable

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2331
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [1.1.109] quick_bar_set_selected_page permission doesn't prevent changing page

Post by boskid »

Thanks for the report. I am going to move this to Wont fix. Permissions system was implemented in a least intrusive way and so gui is not aware that input actions it is trying to send are being ignored.

Post Reply

Return to “Won't fix.”