Opened 14 years ago

Closed 14 years ago

#5925 closed defect (wontfix)

Firebug Lite layout is broken if it is initially hidden

Reported by: guest Owned by: Mike Wilcox
Priority: low Milestone: future
Component: Core Version: 1.0
Keywords: Cc: [email protected]
Blocked By: Blocking:

Description (last modified by dante)

If Firebug Lite is initially hidden (i.e. djConfig.isDebug is false), and you open the console after page load, the layout of the console is totally broken (the toolbar is hidden, the command line is at the top of the console, etc.)

Looks like this happens because when layout() is called, the firebug div is still hidden, so consoleFrame.offsetHeight returns 0.

Adding a call to layout() in toggleConsole() after showing the div seems to fix it.

See attached test page. Load the page and then press F12. Reproducible in Fx2, IE6, and IE7.

Attachments (1)

test.html (158 bytes) - added by guest 14 years ago.

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by guest

Attachment: test.html added


comment:1 Changed 14 years ago by dylan

Milestone: 1.1
Owner: changed from anonymous to dante

comment:2 Changed 14 years ago by dante

Milestone: 1.11.2

comment:3 Changed 14 years ago by dante

Description: modified (diff)
Milestone: 1.21.4
Priority: normallow

correct me if I'm wrong, but it seems firebug won't popup at all if isDebug !== true. I've tried the test case without success my nulling console var, leaving it, in IE7 I get errors and FF3 it seems like there is a FireBug? 1.2 bug or something happening. Also pressing F12 didn't seem to do anything in FF3/2 or IE7

Moving this back.

I'm also not sure this would be a supported mechanism anyway ... FirebugLite? isn't meant to be dojo.require()'d into a page, it is an automatic mechanism based on isDebug being true or false.

comment:4 Changed 14 years ago by dante

Milestone: 1.4future
Owner: changed from dante to Mike Wilcox

mike- what do you think about this, ye owner de fblite code

comment:5 Changed 14 years ago by Mike Wilcox

Resolution: wontfix
Status: newclosed

The test case doesn't have anything in it. How are you calling firebug if it's not there? If anything, it sounds like the bug is that it shouldn't be there.

I agree with Dante, this isn't how it's supposed to work. If mmantel wants to present a better case we'll reopen it.

Note: See TracTickets for help on using tickets.