This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 229859 - HTML Element highlighting sometimes hangs on iOS
Summary: HTML Element highlighting sometimes hangs on iOS
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: Cordova (show other bugs)
Version: 7.4
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Jan Becicka
URL:
Keywords: RANDOM
: 230328 230330 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-05-16 13:00 UTC by Jan Becicka
Modified: 2013-07-17 13:45 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
webkit log (425.33 KB, application/octet-stream)
2013-06-04 12:34 UTC, Vladimir Riha
Details
Webkit log for incomplete DOM (3.35 MB, application/zip)
2013-06-11 08:43 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Becicka 2013-05-16 13:00:59 UTC
HTML Element highlighting sometimes hangs during initialization.
Comment 1 Jan Becicka 2013-05-28 13:16:42 UTC
*** Bug 230330 has been marked as a duplicate of this bug. ***
Comment 2 Jan Becicka 2013-05-28 13:18:01 UTC
*** Bug 230328 has been marked as a duplicate of this bug. ***
Comment 3 Vladimir Riha 2013-06-04 12:24:27 UTC
I have web-main build 10702.

I can still reproduce missing highlighting with:

- run https://github.com/ladariha/sampleapp on iOS simulator
- turn inspection on, select the big cube in browser
- scroll down until you see the menu (with items like Home, JS Debugger...) and previous highlight is not visible

=> inspection mode is broken (page is not frozen, missing highlighting etc.) but if I select item from Browser DOM, it is populated into CSS Styles
Comment 4 Vladimir Riha 2013-06-04 12:34:19 UTC
Created attachment 135320 [details]
webkit log

Webkit log from moment when inspection is broken.

2 possibly related observations:
- I scrolled twice on Simulator (meaning I pressed and kept pressed 'left' button on touchpad, move down to scroll, released pressed touchpad and repeated this again)
- in Browser log, there is error

TypeError: 'null' is not an object (evaluating 'element.getAttribute') (14:29:47:444 | error, javascript)
  at undefined:124
Comment 5 Jan Becicka 2013-06-04 13:54:45 UTC
Changeset: 9b084333bb80
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2013-06-04 15:48
Message:
Comment 6 Vladimir Riha 2013-06-04 14:01:26 UTC
Thanks for fixing the scrolling issue.



Unfortunately issue 230328 still randomly reproducibly, now I saw it several times on iOS Simulator. It happened with Refresh on Save and also when I right clicked on element in Browser DOM, selected Edit CSS Rules and modified e.g. class attribute.


15:48:43:154 event {"method":"Debugger.scriptParsed","params":{"startLine":-1,"endLine":538,"startColumn":0,"scriptId":"276406096","url":"","isContentScript":true,"endColumn":60}}
15:48:46:584 no response for {"id":15363,"method":"Runtime.evaluate","params":{"expression":"NetBeans.finishNextSelection();"}}
15:48:46:584 blocking send {"id":15391,"method":"Runtime.evaluate","params":{"expression":"NetBeans.initNextRuleSelection();"}}
15:48:56:586 no response for {"id":15391,"method":"Runtime.evaluate","params":{"expression":"NetBeans.initNextRuleSelection();"}}
15:48:56:587 blocking send {"id":15392,"method":"Runtime.evaluate","params":{"expression":"NetBeans.finishNextRuleSelection();"}}
15:49:06:589 no response for {"id":15392,"method":"Runtime.evaluate","params":{"expression":"NetBeans.finishNextRuleSelection();"}}
15:49:06:589 blocking send {"id":15393,"method":"Runtime.evaluate","params":{"expression":"NetBeans.initNextHighlight();"}}
15:49:16:591 no response for {"id":15393,"method":"Runtime.evaluate","params":{"expression":"NetBeans.initNextHighlight();"}}
15:49:16:591 blocking send {"id":15394,"method":"Runtime.evaluate","params":{"expression":"NetBeans.finishNextHighlight();"}}
15:49:26:593 no response for {"id":15394,"method":"Runtime.evaluate","params":{"expression":"NetBeans.finishNextHighlight();"}}
15:49:26:594 blocking send {"id":15395,"method":"Runtime.evaluate","params":{"expression":"NetBeans.setSelectionMode(false)"}}
Comment 7 Quality Engineering 2013-06-05 09:34:17 UTC
Integrated into 'main-golden', will be available in build *201306050626* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/9b084333bb80
User: Jan Becicka <jbecicka@netbeans.org>
Log: Issue #229859 - HTML Element highlighting sometimes hangs on iOS
Comment 8 Jan Becicka 2013-06-06 08:19:40 UTC
Please attach full webkit log (or at least couple of lines before "no responses" to see what happened)
Comment 9 Vladimir Riha 2013-06-06 08:29:22 UTC
Unfortunately I overrode log file with newer one, I'll try to reproduce it again. I'll try to do it today but I'm not sure I'll make it.
Comment 10 Vladimir Riha 2013-06-10 14:38:23 UTC
Honzo, please feel free to close it. I cannot reproduce it. Thank you
Comment 11 Vladimir Riha 2013-06-11 08:43:18 UTC
Created attachment 135622 [details]
Webkit log for incomplete DOM

I reproduced the missing DOM once again. Unfortunately it happened after quite some work so webkit log is huge... From what I can see, it does not contain any red warning message.
Comment 12 Jan Becicka 2013-07-17 13:02:31 UTC
just trying :) ... still reproducible?
Comment 13 Vladimir Riha 2013-07-17 13:11:38 UTC
I haven't seen it during last testing, so probably fixed. I'll file new/reopen if I'll see it again. Thanks
Comment 14 Jan Becicka 2013-07-17 13:45:59 UTC
so be it