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 237691 - embedded webkit goes black when scrolling
Summary: embedded webkit goes black when scrolling
Status: RESOLVED INCOMPLETE
Alias: None
Product: platform
Classification: Unclassified
Component: Embedded Browser (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-26 18:23 UTC by homberghp
Modified: 2014-06-20 10:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (1.08 MB, image/png)
2013-10-26 18:23 UTC, homberghp
Details
Simple Swing app to reproduce the problem (1.27 KB, application/octet-stream)
2013-10-29 13:47 UTC, Stanislav Aubrecht
Details
screencast of problem (3.89 MB, video/mp4)
2014-06-20 10:08 UTC, homberghp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description homberghp 2013-10-26 18:23:13 UTC
Created attachment 141587 [details]
screenshot

On 7.4 on two of my linux machines, the embedded goes black when I scroll (with the mouse wheel). The linux machines both run ubuntu, the one I am using nowt 12.04.3 and the other 13.04.

Both are running in 64 bit mode. The video cards are by nvidia in both cases. 
On this machine, it seems the problem is only visible when the css styles window is pinned, but of course this would be the mode where the embedded brwoser is most useful.
Comment 1 Vladimir Riha 2013-10-29 08:08:08 UTC
It looks like issue 236961. Does it happen only when scrolling or also after your run project/file? Could you please provide information about JDK? Thank you
Comment 2 Stanislav Aubrecht 2013-10-29 13:47:22 UTC
Created attachment 141639 [details]
Simple Swing app to reproduce the problem

Reporter, please run the attached app on your machine to see if the issue is reproducible in a plain Swing application, thanks.
Comment 3 homberghp 2013-10-29 14:29:27 UTC
Problem does not occur in sample application as per your request.

I tested with both the orignal (netbeans.org url) an with another url, the
one I used when reporting the problem the first time.
Comment 4 homberghp 2013-10-29 14:32:59 UTC
(In reply to Vladimir Riha from comment #1)
> It looks like issue 236961. Does it happen only when scrolling or also after
> your run project/file? Could you please provide information about JDK? Thank
> you

Intermittent. Sometimes the browser window starts black.
Comment 5 homberghp 2013-10-29 14:34:10 UTC
(In reply to Vladimir Riha from comment #1)
> It looks like issue 236961. Does it happen only when scrolling or also after
> your run project/file? Could you please provide information about JDK? Thank
> you

From netbeans ide about window.
Product Version: NetBeans IDE 7.4 (Build 201310111528)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Linux version 3.2.0-55-generic running on amd64; UTF-8; en_GB (nb)
User directory: /home/hom/.netbeans/7.4
Cache directory: /home/hom/.cache/netbeans/7.4
Comment 6 homberghp 2013-10-29 14:37:42 UTC
(In reply to homberghp from comment #3)
> Problem does not occur in sample application as per your request.
> 
> I tested with both the orignal (netbeans.org url) an with another url, the
> one I used when reporting the problem the first time.

Tested on the ubuntu 12.04  LTS machine too. Same here, problem does not occur in standalone swing.
Ran it from the IDE as well as per command line as in
 '$ java -jar dist/browsertest.jar'
Comment 7 Vladimir Riha 2013-10-29 17:32:08 UTC
Thank you homberghp for the details.

I've tried it on Ubuntu 12.04 32b (32b JDK) and 13.10 64b (64b JDK) and cannot reproduce it, but both machines have only integrated Intel graphic cards


Product Version: NetBeans IDE 7.4 (Build 201310111528)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Linux version 3.11.0-12-generic running on amd64; UTF-8; en_US (nb)
Comment 8 homberghp 2013-10-29 17:58:16 UTC
Maybe it is indeed related to the nvidia card.
The two machines I have tested it on are nvidia only.

I have a third machine with an intel graphics + nvidia graphics which normally
only uses the intel adapter. I will try on that one too, to see if that reveals anything useful. Give me a minute to install netbeans and repeat the tests.
Comment 9 homberghp 2013-10-29 18:13:47 UTC
(In reply to homberghp from comment #8)
> Maybe it is indeed related to the nvidia card.
> The two machines I have tested it on are nvidia only.
> 
> I have a third machine with an intel graphics + nvidia graphics which
> normally
> only uses the intel adapter. I will try on that one too, to see if that
> reveals anything useful. Give me a minute to install netbeans and repeat the
> tests.

I have tested on the intel/nvidia machine. In the energy save modus the problem does not occur.
Once I have my nvidia adapter active I will have another go.

btw: that machine runs a different jdk: 1.7.0_40-b43, 64 bit mode.
Comment 10 homberghp 2013-11-14 08:47:00 UTC
(In reply to homberghp from comment #9)
> (In reply to homberghp from comment #8)
> > Maybe it is indeed related to the nvidia card.
> > The two machines I have tested it on are nvidia only.
> > 
> > I have a third machine with an intel graphics + nvidia graphics which
> > normally
> > only uses the intel adapter. I will try on that one too, to see if that
> > reveals anything useful. Give me a minute to install netbeans and repeat the
> > tests.
> 
> I have tested on the intel/nvidia machine. In the energy save modus the
> problem does not occur.
> Once I have my nvidia adapter active I will have another go.
> 
> btw: that machine runs a different jdk: 1.7.0_40-b43, 64 bit mode.

I have noted, that when I decouple the internal browser from the IDE (select chrome insetad of internal browser), but continue interacting with the internal browser the black flashes are gone. So it somehow related to the updates when the internal browser interacts with the IDE through the debug channel.
Comment 11 Stanislav Aubrecht 2014-06-20 07:59:16 UTC
Please try the latest update of Oracle JDK 8 and reopen if the problem is still reproducible, thanks.
Comment 12 homberghp 2014-06-20 10:08:02 UTC
Created attachment 147728 [details]
screencast of problem

should be obvious