Results 1 to 5 of 5

Thread: Firefox 10 and auto height

  1. #1
    Join Date
    Jan 2012
    Posts
    37

    Firefox 10 and auto height

    I have been using Firefox 10 and have found the bug in the ExtJS 3.4. I have code for the form which is as follows:

    Code:
    formBeschreibungKategorie = new Ext.form.FormPanel({
         width: 900,
        height: 800,
                // autoHeight: true,
                url: '/admin/hotelkategories/setdescription/',
                fileUpload: true,
                title: 'Beschreibung der Kategorie',
                frame: true,
                layout: 'column',
                labelWidth: 130,
                items: [{
                    columnWidth: 0.7,
                    layout: 'form',
                    bodyStyle: 'padding: 10px;',
                        items:[{
                                xtype: 'textfield',
                                id: 'headline',
                                width: 400,
                                name: 'headline',
                                fieldLabel: 'Überschrift',
                                helpText: 'Überschrift der Kategoriebeschreibung',
                                allowBlank: false
                            },{
                                xtype: 'textarea',
                                id: 'description_short',
                                height: 75,
                                width: 400,
                                name: 'description_short',
                                fieldLabel: 'Kurzbeschreibung',
                                helpText: 'Kurzbeschreibung der Kategorie',
                                allowBlank: false
                            },{
                                xtype: 'htmleditor',
                                id: 'description_long',
                                height: 200,
                                width: 400,
                                fieldLabel: 'Beschreibung der Kategorie',
                                helpText: 'Beschreibung der Kategorie'
                            },{
                                xtype: 'label',
                                text: 'nur Bilder im *.jpg Format'
                            },{
                                xtype: 'textfield',
                                id: 'kategorieImage',
                                width: 400,
                                inputType: 'file',
                                fieldLabel: 'Bild',
                                helpText: 'Bild, Breite 150px'
                    }]
                },{
                    columnWidth: 0.3,
                    bodyStyle: 'padding: 10px;',
                    items: [{
                        xtype: 'box',
                        autoEl: {
                            tag: 'div',
                            html: '<img id="kategoriePic" src="/images/kategorieImages/kategoriePic_' + memoryCategoryId + '.jpg">'
                        }
                    }]
                }],
                buttons: [{
                    text: 'speichern der Kategoriebeschreibung',
                    tooltip: 'speichern der Kategoriebeschreibung',
                    handler: function(){
    
                        formBeschreibungKategorie.getForm().submit({
                            params: {
                                language: memorySprache,
                                hotelId: memoryHotelId,
                                kategorieId: memoryCategoryId
                            },
                            success: function(){
                                var now = new Date();
                                Ext.getDom('kategoriePic').src = '/images/kategorieImages/kategoriePic_' + memoryCategoryId + '.jpg?' + now.getTime();
                            }
                        });
                    }
                }]
            });
    And the following is the code for the panel:

    Code:
    tabs = new Ext.TabPanel({
                activeTab: 0,
                renderTo: 'tabs',
                padding: 10,
                height: 800,
                // autoHeight: true,
                id: 'kategorieTabs',
                items: [{
                            xtype: 'panel',
                            title: 'Kategorie Stammdaten',
                            height: 500,
                            id: 'tabKategorieStammdaten',
                            items: [formKategorieHotel]
                        },{
                            xtype: 'panel',
                            title: 'Sprache',
                            disabled: true,
                            id: 'tabSprache',
                            height: 500,
                            items: [formBeschreibungKategorie]
                        }]
            });
    If you set value for the auto height then form is not visible in the panel. This happens only in the Firefox 10. I have used Firefox from 3.x.x and internet explorer 9.x. it was working properly there. Have you encountered the same with your Firefox 10 browser .

  2. #2
    Join Date
    Mar 2011
    Posts
    480

    Re: Firefox 10 and auto height

    Firefox 10 doesn’t support it. You should check it with the Ext JS 4. You can send the bug report of this with the following format. You have to fill the blanks with your information like Ext JS version that you are using, browser and the tests that you made. They will then use this information to make correction . You can give any additional information if you wish. There is separate format given below. Here is the format for you:
    Code:
    REQUIRED INFORMATION
    
    
            Ext version tested:
            
    • Ext 4.____ rev ____
    Browser versions tested against:
    • IE8
    • FF3 (firebug 1.3.0.10 installed)
    • Safari 4
    DOCTYPE tested against:
    • ____
    Description:
    • Describe the problem in greater detail here, summarizing the behavior.
    Steps to reproduce the problem: The result that was expected: The result that occurs instead: Test Case:
    Code:
                <<insert working code to reproduce the report >>
    HELPFUL INFORMATION Screenshot or Video:
    • attached
    See this URL for live test case: http:// Debugging already done:
    • none
    Possible fix:
    • not provided
    Additional CSS used:
    • only default ext-all.css
    • custom css (include details)
    Operating System:
    • ________
    • WinXP Pro

  3. #3
    Join Date
    Jul 2011
    Posts
    397

    Re: Firefox 10 and auto height

    Yes I have also found this .Ext JS 4 doesn’t support and there is a trouble using Ext JS 3.x version. There must be some kind of issue with this. I have paid for this version 4 and have bought it officially after the release. Now I come to know that product is not ready fully. I have also renewed my license but not able to use this product. So I am left with the version 3 only. I don’t understand why they have not updated this with bug fix.

  4. #4
    Join Date
    Jul 2011
    Posts
    380

    Re: Firefox 10 and auto height

    I have created the bug report using the above format. Here is the example for you.

    Code:
    REQUIRED INFORMATION
    Ext version tested:  Ext 4.0.2
    Browser versions tested:
      Chrome 11
      IE8
    Description:
    No effects seen on Ext.tab.Bar - minTabWidth 
    
    Steps to check the problem:
     Create an Ext.TabPanel where the tabBar is configured with a minTabWidth
    
    The result expected:
    Tab width should be at least as much as the configured width
    The result that was found:
     Minimum width is getting ignored and if text is short then tab looks too narrow.
    Test Case code:
       Ext.create('Ext.tab.Panel', {
            width: 400,
            height: 200,
            renderTo: Ext.getBody(),
            
            //this is being ingnored
            tabBar: {
                minTabWidth: 150
            },
            
            //shown some items to show the problem
            items: [
                {
                    title: 'Short'
                },
                {
                    title: 'This is a much longer tab title'
                }
            ]
        });
    
    
    HELPFUL INFORMATION
    Screenshot or Video:
    provide any video or images that will describe your problem
    
    Debugging done:  none
    Possible fix: not provided
    
    Additional CSS used:
    only default ext-all.css
    
    Operating System:
    My operating system was Mac OS X.

  5. #5
    Join Date
    Jul 2011
    Posts
    421

    Re: Firefox 10 and auto height

    This could also be possible because Firefox has now turned to version 10. I think some code should be changed now. I have noted this and it looks doubtful:

    i
    Code:
    sGecko :true
    isGecko2:false
    isGecko3:false
    This line still exist in ext-all-debug for 3.4.0
    Code:
    Ext.isGecko ? "ext-gecko " + (Ext.isGecko2 ? 'ext-gecko2' : 'ext-gecko3')
    This looks doubtful because ext-gecko3 is added as a class in CSS but still gecko3 has value assigned as “false”.

Similar Threads

  1. How to adjust tab height in Firefox 8
    By Kanesteyn in forum Technology & Internet
    Replies: 4
    Last Post: 03-12-2011, 03:52 PM
  2. History gets auto deleted in FireFox 9
    By $o$^ in forum Technology & Internet
    Replies: 4
    Last Post: 01-12-2011, 08:12 PM
  3. How to Auto refresh web page in firefox 4
    By NigmA DogE in forum Technology & Internet
    Replies: 5
    Last Post: 14-04-2011, 06:19 AM
  4. Auto Search Firefox
    By Aagman in forum Windows Software
    Replies: 3
    Last Post: 19-08-2009, 12:34 PM
  5. Firefox auto restore all tabs
    By Pratim in forum Technology & Internet
    Replies: 4
    Last Post: 01-04-2009, 12:36 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,966,289.44854 seconds with 17 queries