JDK-8123709 : Rework picking clip behavior according to current state of rendering
  • Type: Bug
  • Component: javafx
  • Sub-Component: scenegraph
  • Affected Version: 8
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2013-10-01
  • Updated: 2015-06-17
  • Resolved: 2013-11-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Fixed
Related Reports
Blocks :  
Relates :  
Description
I've implemented a reasonable logic for handling non-XY-plane clip during picking and waited if this logic would be accepted for rendering as well. However, rendering is not going to address clipping at all for Lombard (RT-28510), so I need to remove the logic to align picking with rendering. I also need to take clip Z coordinate in 2D case into account.
Comments
http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/b4a6710496f7
25-11-2013

I pushed the change, rev. b4a6710496f7. Martin, instead of creating the new issue I commented on RT-28510, I hope that's enough.
25-11-2013

Pavel, push the code as Martin is ok with it.
20-11-2013

+1. Can you please open a new issue for 9 so we don't forget to re-enable the feature again? Thanks!
19-11-2013

Martin, please review the patch.
18-11-2013

Match picking completely with rendering is probably too much work (see RT-33551). So focusing on the most important issues: - 3D clips and clips of 3D nodes are ignored by rendering. Attaching pickIgnores3DClip.diff that aligns picking with that behavior (and probably fixes other things too as it also fixes bounds computation). - Nodes are not rendered or rendered weird with 3D transformed clip. First, the Z coordinate is not taken into account by picking, but is considered by bounds computation, so a lot of cases work similarly to rendering even now. I don't think it's worth spending time on it now, there will probably be bigger problems left and it seems we don't even know what the rendering behavior actually is.
18-11-2013

OK, if this can be done for FX 8 then great. Otherwise we will defer.
15-11-2013

Yes, nothing's been done so far. Picking still takes 3D clips and clips of 3D nodes into account (which rendering doesn't) and doesn't take 3D transforms of clip into account (which rendering does).
15-11-2013

Is there anything more to do here?
14-11-2013