We have upgrade to 4.1 RC 2 and are testing our current website. Have found a minor issue with window display in a border layout where the window width and height configs are not explicitly set (if they are set the issue doesn't occur). Window is displayed from a button click event and is renderedTo the centre panel.
Issue at this stage only occurs when there is a nested field set within the window being displayed.
When the window displays the title bar and title bar controls are missing. They only appear with a resize of the window or expanding the collapsed field-set with the window.
Would you like a bug report? (I appreciate your very busy)
RC2 has not yet been released. I assume you're referring to a nightly build? If so, it'd be very helpful if you could include the date-stamp of the build when you're reporting problems.
If you're testing with nightly builds then you should expect some problems, those builds have not yet cleared the QA process and could still contain serious bugs. That said, if the problem persists for a few days then it's a good idea to file a bug report.
If you post some code here to reproduce your issue then it should be pretty easy to confirm whether you've found a bug or whether there's a problem with your code. If it's a bug I'll move this thread to the bugs forum to save you having to report it again.
My first attempt at a debug post so apologies if its messy or not correct.
Ext version tested:
Ext 4.1.0 RC2 nightly build 23 March 2012
Browser versions tested against:
Chrome 18.0.1025.137 beta-m
Display a window in a container fails to render correctly. Window title bar and controls missing. Re-sizing the window causes the bar to appear. Issue only occurs if the window width and height config are not set. Appears to be related to the window control contents where a field set is nested within a field set. See code sample
Steps to reproduce the problem:
Use code reproducer below. Click button to add the window
The result that was expected:
Window should display centered in the container and auto sized
The result that occurs instead:
Window displays top left with title bar missing and not sized
The forum allows you to edit your post after you've posted it. I've gone through and de-mangled your post for you, if you have problems like this again please edit it yourself so that others can read it easily. I highly recommend clicking the A/A button in the top-left corner of the editor so that you can see your posts as markup rather than the half-baked attempt at a WYSIWYG editor that the forum shows you by default.
Please don't attach ZIPs to threads. Post the relevant code inline in the thread, making sure it is nicely formatted and wrapped in [CODE] tags. If you attach a ZIP then your thread will almost always be ignored.
There's no official rules saying you can't use attachments, just in practice you'll find that threads with file attachments get ignored.
In the specific case of bug reports, you're ideally looking to provide a complete, minimal test case. I've never yet come across a test case that was genuinely minimal and yet was complicated enough to justify attaching it as a ZIP.
If you post your code for this window issue to the thread I'll take a look at it for you, see whether it's a bug.