Bug Tracker item #3518901, was opened at 2012-04-17 12:48 Message generated for change (Tracker Item Submitted) made by afluegel You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126848&aid=3518901&group_id=254363
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Albert Fluegel (afluegel) Assigned to: Nobody/Anonymous (nobody) Summary: Java Viewer of 1.2.0 shows empty screen started as appl Initial Comment: When the java viewer of 1.2.0 is started as applet within a browser, the screen is empty i.e. completely black or gray. This happens at least on Redhat Enterprise Linux 5 and 6 in firefox with jre 1.6.0_22 and 1.6.0_29 and on windows 2k3 in internet explorer with jre 1.6.0_03 and on windows 7 in ie with jre 1.6.0_20 or in other words: i did not find a working combination. An interesting aspect is: When looking onto a different viewer started in parallel (vncviewer binary), one can see, that this empty screen is reacting on input: mouse movements, klicks, keyboard input. It just does not display anything. The problem can be fixed reverting the changes applied to the file java/com/tigervnc/vncviewer/PixelBufferImage.java between 1.1.90 and 1.2.0. These are the diffs, that must be undone to make the display work again when running as applet: diff -ru tigervnc-1.1.90/java/com/tigervnc/vncviewer/PixelBufferImage.java tigervnc-1.2.0/java/com/tigervnc/vncviewer/PixelBufferImage.java --- tigervnc-1.1.90/java/com/tigervnc/vncviewer/PixelBufferImage.java 2011-12-04 23:58:48.000000000 +0100 +++ tigervnc-1.2.0/java/com/tigervnc/vncviewer/PixelBufferImage.java 2012-02-12 23:20:48.000000000 +0100 @@ -103,8 +103,7 @@ public void put(int x, int y, int w, int h, Graphics g) { if (ic != null) { ic.setPixels(x, y, w, h, cm, data, width() * y + x, width()); - g.setClip(x, y, w, h); - ic.imageComplete(ImageConsumer.SINGLEFRAMEDONE); + desktop.repaint(x, y, w, h); } } @@ -116,8 +115,7 @@ super.copyRect(x, y, w, h, srcX, srcY); if (ic == null) return; ic.setPixels(x, y, w, h, cm, data, width() * y + x, width()); - g.setClip(x, y, w, h); - ic.imageComplete(ImageConsumer.SINGLEFRAMEDONE); + desktop.repaint(x, y, w, h); } // setColourMapEntries() changes some of the entries in the colourmap. Please have a check. Thanks ! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126848&aid=3518901&group_id=254363 ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Tigervnc-devel mailing list Tigervnc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-devel