firebug / firebug

Web Development Evolved - The Firebug you have known and loved
http://getfirebug.com/
1.35k stars 341 forks source link

Script panel content is not properly updated #3742

Closed fbugissues closed 9 years ago

fbugissues commented 9 years ago

Originally reported on Google Code with ID 3603

What steps will reproduce the problem?
1. Load http://getfirebug.com/tests/content/script/LocalScopeVariables/LocalScopeVariables.html
2. Open FBUI, select the Script panel
3. Create breakpoint at line 8
4. Reload the page
5. The panel content shows only the first two lines:
<html>
<head> 

You can switch to another panel and back to refresh the content and see whole source
code.

Honza

Reported by odvarko on 2010-11-02 07:17:14

fbugissues commented 9 years ago
This is reproducible in 1.6 and 1.7
If it's easy to fix, I'd like to nominate for 1.6 blocker.

Honza

Reported by odvarko on 2010-11-02 07:21:21

fbugissues commented 9 years ago
I looked into this, for some reason we are missing an updateLocation, I suppose because
the breakpoint hits before load event. Probably not a big fix, just difficult to sort
out...

Reported by johnjbarton@johnjbarton.com on 2010-11-03 15:28:07

fbugissues commented 9 years ago
updateLocation() is called but the Script panel has never been rendered so the clientHeight
is zero and we don't know how many lines will fit. So we create 2 lines and render
them, that is why we see 2 lines.

I can fix this by setTimeout and re-render, but I wish there was a better way. Some
way to estimate the UI height.

FYI pedro as this is sourcebox stuff 

Reported by johnjbarton@johnjbarton.com on 2010-11-04 04:56:51

fbugissues commented 9 years ago
r8284 on branches/firebug1.7 for Firebug 1.7a5

Should be ported to 1.6

Reported by johnjbarton@johnjbarton.com on 2010-11-04 16:03:32

fbugissues commented 9 years ago
Yep, works for me, thanks!

I'll mark as verified as soon as the 1.7a5 is released.
Honza

Reported by odvarko on 2010-11-04 16:37:24

fbugissues commented 9 years ago
This is one of 24 fixed issues in Firebug 1.7a5
Those marked with port1.6 will be ported into Firebug 1.6b4

http://getfirebug.com/releases/firebug/1.7X/

Please try it and let us know if this issue is fixed for you.
Honza

Reported by odvarko on 2010-11-05 12:14:13

fbugissues commented 9 years ago

Reported by odvarko on 2010-11-05 12:15:27

fbugissues commented 9 years ago
This is one of 31 fixed issues in Firebug 1.6b4
http://getfirebug.com/releases/firebug/1.6X/

Please try it and let us know if this issue is fixed for you.

Reported by odvarko on 2010-11-17 15:08:30

fbugissues commented 9 years ago

Reported by sebastianzartner on 2012-06-05 14:05:33

fbugissues commented 9 years ago

Reported by sebastianzartner on 2012-06-05 14:25:48