Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

    You found a bug! We've classified it as TOUCH-3781 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #11
    Sencha User
    Join Date
    Jul 2012
    Posts
    23
    Vote Rating
    6
    Razr is on a distinguished road

      0  

    Default


    It would be great if somebody from the Sencha team could review and acknowledge this report so a bug can be entered into their tracker.

  2. #12
    Sencha - Support Team mike.estes's Avatar
    Join Date
    Mar 2011
    Location
    Redwood City, CA
    Posts
    221
    Vote Rating
    9
    mike.estes will become famous soon enough

      0  

    Default


    A runnable test case is required for us to process these reports efficiently, otherwise we would be spending a ton of time creating test cases based off of user descriptions of the problem, which leaves a lot of room for errors (the test case we come up with might not match what you are actually using).

    variableHeights is the default, so you should be getting the desired behavior already unless you explicitly set it to false.

    I ran a quick test on a simple page that just is including the css and js of the lib with the following code and it worked as expected

    Code:
     Ext.setup({
         onReady: function() {
             Ext.Viewport.add({
                 xtype: 'container',
                 layout: 'fit',
                 width: 200,
                 items: [{
                     xtype: 'list',
                     itemTpl: '{title}',
                     data: [
                         { title: 'Item 1' },
                         { title: 'Item 2 which is going to be really really really long. I mean really really really long' },
                         { title: 'Item 3' },
                         { title: 'Item 4' }
                     ]
                 }]
             });
         }
     });
    Since it was mentioned that the problem appeared after upgrading an app, my suggestion is to make sure your app.css file has been recompiled after the upgrade, you may be using css definitions from the older SDK version.

    If that doesn't seem to be the case and you have a runnable example, let me know and I'll check it out and if I can reproduce will push this bug report into our internal system

  3. #13
    Sencha User
    Join Date
    Jul 2012
    Posts
    23
    Vote Rating
    6
    Razr is on a distinguished road

      1  

    Default


    Thanks for your response. I tweak your snippet (which works) a bit to match my situation more. Please note only the image overflowing.Capture-2.1.jpg

    Code:
    Ext.setup({
        onReady: function() {
            Ext.Viewport.add({
                xtype: 'container',
                layout: 'fit',
                items: [{
                    xtype: 'nestedlist',
                    store: {
                        fields: ['name', 'age'],
                        data: [
                            {name: 'Jamie',  age: 100},
                            {name: 'Rob',   age: 21},
                            {name: 'Tommy', age: 24},
                            {name: 'Jacky', age: 24},
                            {name: 'Ed',   age: 26}
                        ]
                    },
                    listConfig: {    
                        itemTpl: new Ext.XTemplate(
                            '<table style="width:100%;">',
                                '<tr>',
                                    '<td style="width:15%">',
                                        '<img style="width:80%" src="http://www.sencha.com/files/blog/old/blog/wp-content/uploads/2010/06/sencha-logo.png" />',
                                    '</td>',
                                    '<td style="width:60%">',
                                        '{name}',
                                    '</td>',
                                    '<td style="width:25%">',
                                        '{age}',
                                    '</td>',
                                '</tr>',
                            '</table>'
                        )
                    }
                }]
            });
        }
    });
    Let me know if you are able to reproduce the issue on your end and if this is sufficient for the team to take it from here.

  4. #14
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    714
    Vote Rating
    42
    ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about

      0  

    Default


    The same does also happen with a normal list!

  5. #15
    Sencha - Support Team mike.estes's Avatar
    Join Date
    Mar 2011
    Location
    Redwood City, CA
    Posts
    221
    Vote Rating
    9
    mike.estes will become famous soon enough

      0  

    Default


    Yes, I can now see the same issue, thank you for providing the example code. I'll get this pushed into the tracker shortly. Thank you for helping us catch these things!

  6. #16
    Sencha - Support Team mike.estes's Avatar
    Join Date
    Mar 2011
    Location
    Redwood City, CA
    Posts
    221
    Vote Rating
    9
    mike.estes will become famous soon enough

      0  

    Default


    Actually, I figured out where things are going wrong here, at least for this NestedList example. The default listConfig defined within the NestedList class is setting variableHeights to false. You can override that setting in your own listConfig definition and that does resolve the issue. This is completely not obvious, so I'll need to amend the documentation inside of NestedList to make this change of the List's default behavior clear.

    For completeness sake, here is the modified code that does work, the only change is the addition of setting variableHeights to true inside of the listConfig parameter.

    Code:
    Ext.setup({
        onReady: function() {
            Ext.Viewport.add({
                xtype: 'container',
                layout: 'fit',
                items: [{
                    xtype: 'nestedlist',
                    store: {
                        fields: ['name', 'age'],
                        data: [
                            {name: 'Jamie',  age: 100},
                            {name: 'Rob',   age: 21},
                            {name: 'Tommy', age: 24},
                            {name: 'Jacky', age: 24},
                            {name: 'Ed',   age: 26}
                        ]
                    },
                    listConfig: {  
                        variableHeights: true,
                        itemTpl: new Ext.XTemplate(
                            '<table style="width:100%;">',
                                '<tr>',
                                    '<td style="width:15%">',
                                        '<img style="width:80%" src="http://www.sencha.com/files/blog/old/blog/wp-content/uploads/2010/06/sencha-logo.png" />',
                                    '</td>',
                                    '<td style="width:60%">',
                                        '{name}',
                                    '</td>',
                                    '<td style="width:25%">',
                                        '{age}',
                                    '</td>',
                                '</tr>',
                            '</table>'
                        )
                    }
                }]
            });
        }
    });
    I'll mark this thread as closed for now so I don't forget to do so later, however, if anyone on this thread has an example of any additional problems related to this topic just add another post and I will revisit this.

  7. #17
    Sencha User
    Join Date
    Jul 2012
    Posts
    23
    Vote Rating
    6
    Razr is on a distinguished road

      0  

    Default


    Thanks for your reply mike.estes. Unfortunately I am still facing this issue, even with variableHeights set to true (I already thought I tried to do that). And again your example does work for me. The only thing that differs from the "real scenario" is that I retrieve the list' contents through a store (via AJAX, using JSON). Perhaps the delayed rendering/updating via the Store causes the issue. A issue which is not present when setting data directly as we proved in our examples.

    I could create a new snippet tomorrow if that would work for you, or maybe you are also able to write a simple store for this test case yourself. Please let me know.

  8. #18
    Sencha - Support Team mike.estes's Avatar
    Join Date
    Mar 2011
    Location
    Redwood City, CA
    Posts
    221
    Vote Rating
    9
    mike.estes will become famous soon enough

      0  

    Default


    Just FYI, I went to go update the documentation for NestedList and noticed that in the next release we will actually have the variableHeights config directly configurable on NestedList (so no need to change it within listConfig as of the next release) and the documentation was updated accordingly.

  9. #19
    Sencha - Support Team mike.estes's Avatar
    Join Date
    Mar 2011
    Location
    Redwood City, CA
    Posts
    221
    Vote Rating
    9
    mike.estes will become famous soon enough

      0  

    Default


    Sorry, my last message crossed over yours, I just saw your message now. I'll take another look when I can, I've become committed to a few things since I was working on this earlier today. If you don't hear from me by early tomorrow that probably means I haven't found the time yet, so if at that point you have an example feel free to post it and I will dive in as soon as I can.

  10. #20
    Sencha User
    Join Date
    Jul 2012
    Posts
    23
    Vote Rating
    6
    Razr is on a distinguished road

      1  

    Default


    Quote Originally Posted by mike.estes View Post
    Sorry, my last message crossed over yours, I just saw your message now. I'll take another look when I can, I've become committed to a few things since I was working on this earlier today. If you don't hear from me by early tomorrow that probably means I haven't found the time yet, so if at that point you have an example feel free to post it and I will dive in as soon as I can.
    So I think I figured out the problem here (was starting to pull my hairs out). Even with your snippet I can reproduce the problem over and over again. The rendering works when the image is loaded from cache, if not from the cache the rendering fails.

    Reproducing is quite easy, I would take your snippet (the one with 'variableHeights: true') and open this in Chrome. After hitting F5 a couple of times everything shows nicely. Now go into Chrome's options and clear all browser data/history/local storage and whatsoever. Refresh the page and tada!