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: Open
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-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

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to