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 234072

Summary: Scrolling page in mobile Safari changes selected element
Product: web Reporter: Vladimir Riha <vriha>
Component: InspectionAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: normal    
Priority: P4    
Version: 7.4   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: webkit log
screenshot

Description Vladimir Riha 2013-08-07 11:23:31 UTC
Created attachment 138388 [details]
webkit log

Please check the video. This happens on iOS Device only. If you turn inspect mode on and select some element, then after scrolling the previously selected element is considered as "hovered over in Browser DOM" and some other element is now considered to be selected.

As a result, scrolling on page changes selected element


Product Version: NetBeans IDE Dev (Build 201308062300)
Java: 1.7.0_40-ea; Java HotSpot(TM) 64-Bit Server VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-ea-b36
System: Mac OS X version 10.8.4 running on x86_64; UTF-8; en_US (nb)
Comment 2 Jan Stola 2013-08-15 08:22:01 UTC
I am sorry, I don't have iOS Device to check myself and the attached video doesn't seem to show what you describe. The main problem that I can see on the video is that the canvas over the inspected page is not repainted during scrolling but the selected element seems to remain the same (and the canvas is repainted correctly when the scrolling is finished). Could you, please, provide more details (or better video)? Thank you in advance.
Comment 3 Vladimir Riha 2013-08-15 08:59:27 UTC
Please check the video at 0:06, prior the scrolling, selected element was the title. After scrolling (in 0:06), selected element is the list (it has blue border) above the title and title becomes "hovered" (it has no longer blue border). It is visible if you switch video quality to 1080p. I'm attaching picture where it is highlighted.

It seems like if on iOS device, scroll event is automatically preceded with touch start event.
Comment 4 Vladimir Riha 2013-08-15 09:00:44 UTC
Created attachment 138716 [details]
screenshot

Screenshot, hope it helps a bit.

I found some solution at [1], maybe it will help.

[1] http://stackoverflow.com/questions/9842587/stop-the-touchstart-performing-too-quick-when-scrolling
Comment 5 Jan Stola 2013-08-15 09:23:41 UTC
Thank you for the explanation. I see the problem now.