PDA

View Full Version : why staff cant verify this bug? i said its under 4.0 and they say under 4.1 its ok.



Webtel
16 Dec 2011, 3:40 AM
grid layout bug - with forceFit:true AND rownumberer maxWidth < 40

BUG: when rownumberer maxWidth is less than 40 (20 in this case) grid layout is bugged. Columns dont match headres.


TO REPRODUCE:
- goto : http://docs.sencha.com/ext-js/4-0/#
- open firebug (firefox/chrome)
- paste following code in the console
- run it
- TADA!
http://www.sencha.com/forum/attachment.php?attachmentid=30083&d=1324020114


Code:

Ext.create('Ext.Window',{ autoShow:true, width:700, autoDestroy:true, height:500, layout:'fit', items:[{ xtype:'gridpanel', forceFit:true, store:Ext.create('Ext.data.Store',{ data:[{name:'a',group:2,id:1},{name:'b',group:1,id:2},{name:'c',group:2,id:3},{name:'d',group:1,id:4}], remoteSort:true,groupField:'group',fields:['id','name','group'] }), features:[Ext.create('Ext.grid.feature.Grouping', {})], plugins:[Ext.create('Ext.grid.plugin.CellEditing', {})], columns:[{xtype:'rownumberer',maxWidth:20},{dataIndex:'id',editor:{xtype:'textfield'}},{dataIndex:'name',editor:{xtype:'textfield'}},{dataIndex:'group',editor:{xtype:'textfield'}}] }]});




Last edited by Webtel (http://www.sencha.com/forum/posthistory.php?p=692651); Today at 11:09 AM. Reason: rethinking of reality




http://www.sencha.com/forum/clear.gifEdit Post (http://www.sencha.com/forum/editpost.php?p=692651&do=editpost) http://www.sencha.com/forum/clear.gifReply (http://www.sencha.com/forum/newreply.php?do=newreply&p=692651) http://www.sencha.com/forum/clear.gifReply With Quote (http://www.sencha.com/forum/newreply.php?do=newreply&p=692651) http://www.sencha.com/forum/images/buttons/multiquote_40b.png (http://www.sencha.com/forum/newreply.php?do=newreply&p=692651) (http://www.sencha.com/forum/reputation.php?do=addreputation&p=692651) (http://www.sencha.com/forum/report.php?p=692651)

Today 2:21 PM
#2
evant (http://www.sencha.com/forum/member.php?2950-evant)
http://www.sencha.com/forum/images/statusicon/user-online.png
Ext JS - Development Teamhttp://www.sencha.com/forum/image.php?u=2950&dateline=1273073305 (http://www.sencha.com/forum/member.php?2950-evant)Join DateApr 2007LocationSydney, AustraliaPosts12,865http://www.sencha.com/forum/images/reputation/reputation_pos.png http://www.sencha.com/forum/images/reputation/reputation_pos.png




Can't confirm this using 4.1. See attached.

tobiu
16 Dec 2011, 3:45 AM
all bugreports we get will get resolved in the 4.1 branch.
this version has a completely new layout engine, which is a lot faster and the 4.1 beta will be a lot more stable. since it will get released really soon, don't waste your time debugging layout issues and spend it on your business logic.

Webtel
16 Dec 2011, 3:51 AM
o.ok. thank you for that information.

this is very comforting that 4.1. is soon to be released.

Maybe You could give exact month or date? i heard about september but its not that soon so i guess there is another date...

tobiu
16 Dec 2011, 3:54 AM
we are not allowed to tell exact dates, since this can change if some tickets take more time than expected or have side effects.

imho(!), it should be a matter of some weeks for the 4.1 beta, maybe sooner.

Webtel
16 Dec 2011, 3:58 AM
great. thanks again. cheers!