Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    May 2007
    Location
    The Netherlands
    Posts
    187
    Vote Rating
    1
    mschering is on a distinguished road

      0  

    Default [FIXED-105] HtmlEditor is gone in firefox after minimizing a window

    [FIXED-105] HtmlEditor is gone in firefox after minimizing a window


    Ext version tested:
    • Ext 2.3

    Adapter used:
    • ext

    Browser versions tested against:
    • IE8
    • FF3.0.13 (with and without firebug 1.4.2)
    • FF3.5.2 (with and without firebug 1.4.2)

    Operating System:
    • Ubuntu
    • WinXP Pro

    Description:

    I have a htmleditor inside a window. When I minimize this window and restore it the content of the htmleditor dissapears and I can't edit anymore.

    This happens in FF3.0.13 and 3.5.2 but NOT in IE8.

    The problem does NOT occur in Ext 2.2.1
    Building Group-Office (http://www.group-office.com) with ExtJS: http://http://demo.group-office.eu user: demo / pass: demo

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    96
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    You're not completely clear:
    Are you talking about minimizing the browser window or minimizing an Ext.Window in the desktop example?
    (I'll assume the first one)

    Firefox sometimes looses the cursor of an input field in absolutely positioned container after an application switch (this is a really old bug that is still not fixed).
    To get the cursor back you have to do another application switch (Alt-Tab, Alt-Tab).

  3. #3
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,508
    Vote Rating
    58
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Yes, collapsing a Window kills the html editor:

    This demonstrates:

    Code:
    Ext.getBody().update('');
    new Ext.Window({
        title: 'test',
        collapsible: true,
        border: false,
        layout: 'fit',
        height: 200,
        width: 300,
        items: {
            xtype: 'htmleditor'
        }
    }).show();

  4. #4
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    96
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Yes, your example is collapsing the body with display:none, which will kill the IFRAME.

  5. #5
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,508
    Vote Rating
    58
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Right, so if the OP is talking about the Ext Desktop (He doesn't say) which hides a window on click of the minimize tool, then hideMode: 'offsets' should fix his problem.

  6. #6
    Sencha User
    Join Date
    May 2007
    Location
    The Netherlands
    Posts
    187
    Vote Rating
    1
    mschering is on a distinguished road

      0  

    Default


    I'm talking about an Ext.Window with a formpanel with and editor in it. I don't use the Desktop.

    I tried to put hideMode:'offsets' on the window but the problem still persists. The iframe is still there when I look with firebug but there is no html markup inside anymore. If I switch to source mode the source appears.

    EDIT: I'm talking about minimizing the Ext.Window.
    Building Group-Office (http://www.group-office.com) with ExtJS: http://http://demo.group-office.eu user: demo / pass: demo

  7. #7
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    5
    mystix will become famous soon enough

      0  

    Default


    @mschering, did you test this in 3.0.0 btw?

    'cos this is the 3.x bug forum, and you posted a report for a 2.x bug.

  8. #8
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,508
    Vote Rating
    58
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    How do you minimize an Ext.Window?

    Do you mean "collapsing" as in my test case?

  9. #9
    Sencha User
    Join Date
    May 2007
    Location
    The Netherlands
    Posts
    187
    Vote Rating
    1
    mschering is on a distinguished road

      0  

    Default


    I mean collapsing indeed. Sorry for the confusing.

    Thumbs up for the fast response times by the way!

    I accidently posted this in the 3.x forum. I've tested this with 2.3 and 2.2.1 only. In 2.2.1 it works fine.
    Building Group-Office (http://www.group-office.com) with ExtJS: http://http://demo.group-office.eu user: demo / pass: demo

  10. #10
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,508
    Vote Rating
    58
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    I think it's been noted before that the collapse effect uses CSS display: none

    This breaks things.