Bug Tracker item #3451630, was opened at 2011-12-05 11:43 Message generated for change (Comment added) made by bphinz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126848&aid=3451630&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: Java viewer Group: trunk >Status: Closed Resolution: None Priority: 5 Private: No Submitted By: Robert (ragoley) Assigned to: Brian Hinz (bphinz) Summary: Distorted Blocky mouse image under OSX Initial Comment: This issue only affects the Java viewer running under OSX. I have only tested it with OSX 10.6, nothing older. The mouse works fine but displays a block very reminiscent of mouse pointers under DOS. You can see the image that should be displayed whether it is a standard pointer, a resize window pointer or application specific pointer. It has a DOS cursor sized block around it that looks like rendering a 16 bit image in 8 bit colors. The colors are off and the block area is not transparent as it should be. It does not affect Windows or Linux. The same mount pointers look perfect there. It is almost like the pointer image data is being improperly rendered for some reason. Everything else seems fine. I am willing to help test if you do not have a OSX environment to work with. ---------------------------------------------------------------------- >Comment By: Brian Hinz (bphinz) Date: 2011-12-23 12:07 Message: Closing as "FIXED" ---------------------------------------------------------------------- Comment By: Robert (ragoley) Date: 2011-12-15 06:51 Message: Your last changes appear to have fixed it. I have tested it under OSX 10.6, Windows XP and Linux (Ubuntu 9.10). The blocky cursor is gone and I have not seen any regressions. Thank you for getting this fixed. ---------------------------------------------------------------------- Comment By: Brian Hinz (bphinz) Date: 2011-12-07 18:20 Message: Robert, Thanks for that last image, I didn't see it until a few minutes ago. I just committed a change (r4823) that I think will fix this issue. Can you please test it out and let me know? Thanks, -brian ---------------------------------------------------------------------- Comment By: Robert (ragoley) Date: 2011-12-07 08:44 Message: The primary test has been this one: java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-10M3425) Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode) I tested again with a java update Apple pushed out recently which was 1.6.0_29. I don't have that version output available at the moment though. ---------------------------------------------------------------------- Comment By: Brian Hinz (bphinz) Date: 2011-12-07 08:18 Message: Yes, but only when the client pf depth is 8. BTW, which JRE are you using? ---------------------------------------------------------------------- Comment By: Robert (ragoley) Date: 2011-12-07 07:06 Message: If you look at the last image I uploaded, my assumptions about the local pixel depth were a little off. It is reported locally as 32 bpp and remotely the server is started at 24 bpp which seems to translate to 32 bpp. I am not sure of the exact difference between these. My understanding was that they were essentially the same. Is your code running some type of conversion when the remote and local pixel data are not of the same type? If so, that might be the source of this issue. ---------------------------------------------------------------------- Comment By: Brian Hinz (bphinz) Date: 2011-12-07 03:43 Message: Ah, I misunderstood. That seems strange then that they are both 24bpp and it's behaving like that... You are correct about how the cursor is rendered. The X11 data is received and then converted to an image where the masked bits are transparent. In the case of 8bpp there is no transparent pixel so I extend the color map by 1 bit so that I can fake transparency. ---------------------------------------------------------------------- Comment By: Robert (ragoley) Date: 2011-12-06 19:46 Message: The java command/JVM runs native on OSX. It is not X11 based like it is in Linux. I assume that it is closer to how the Java GUIDE functions on windows in this regard. I am not sure of a comparable command to xdpyinfo. I can confirm that the server and the viewer are running in 24 bpp color modes. I will see what other info I can dig up on it. What can you tell me about how the mouse pointer image data is handled? I am assuming that it picks up the X11 image and converts the image data to the local native format and uses the local windowing system to render it. Is that correct? ---------------------------------------------------------------------- Comment By: Brian Hinz (bphinz) Date: 2011-12-06 19:15 Message: Robert, The problem is in the local cursor rendering. I can't tell from the screenshots if your server is 8bpp, but making the masked areas of the cursor transparent in 8bpp was really tricky for me to implement in the first place. Obviously it's still not quite right. In either case could you attach the output of the OSX equivalent of xdpyinfo? I don't have access to any mac HW so I'll have to take you up on the offer to help test. Thanks, -brian ---------------------------------------------------------------------- Comment By: Pierre Ossman (cendossm) Date: 2011-12-06 00:44 Message: Could you attach a screen shot? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126848&aid=3451630&group_id=254363 ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Tigervnc-devel mailing list Tigervnc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-devel