After applying query criteria on the layer in the Query widget new layername_Query result is created. In Query widget and Results pane, selected in Feature actions
-> View in Attribute Table. The query result is created as a new layer, not selected from the existing one, and doesn't follow visibility restrictions on the fields. In earlier versions Query was selecting data in the existing layer and how in the 2.9 version something is different. Maybe the problem is not in versions? Am I missing something?