I experienced the same issue in version 26.0. While playing on a rental server, I opened both the inventory and the trading GUI simultaneously, after which I could never open that villager's trading GUI again. Other players who were playing together also became unable to open the trading GUI. This happened while I was carefully selecting items to trade with a librarian villager. Since nothing worked to open the trading GUI, I ended up killing that villager. Looking at the versions where this bug has been reported, it seems to be a serious, long-standing bug. I don't understand why it hasn't been fixed yet. Please fix this urgently.
(This text was translated from Japanese to English using DeepL.)
I experienced the same issue in version 26.0.
While playing on a rental server, I opened both the inventory and the trading GUI simultaneously, after which I could never open that villager's trading GUI again.
Other players who were playing together also became unable to open the trading GUI.
This happened while I was carefully selecting items to trade with a librarian villager. Since nothing worked to open the trading GUI, I ended up killing that villager.
Looking at the versions where this bug has been reported, it seems to be a serious, long-standing bug. I don't understand why it hasn't been fixed yet.
Please fix this urgently.
(This text was translated from Japanese to English using DeepL.)