Thank you for reporting this bug. We will make it our priority to review this report.
Would it be possible to add Ext.queryCmp() as a shortcut for Ext.ComponentQuery.query()?
var panelsArray = Ext.ComponentQuery.query('panel'); // long form
var panelsArray = Ext.queryCmp('panel'); // shortcut
Sencha - Senior Software Engineer
I personally don't think this is needed. You have the up, down and query methods on each Component that should suffice for almost every situation.
OK... Search the Ext code base... Ext.ComponentQuery.query is used in many places... if you used the shorter form, you could save a few bytes
Agree with Les,
For consistency and the same reason Ext.getStore exists.
Also why is it not part of ComponentManager in a method called query?
Wouldn't that make it more consistent with the other managers storeManager, windowManager, etc..?