Re: monitor mouse events but not capture them

2014-06-09 Thread Tom Eugelink
Looking at PopupWindow; that is an abstract class and I'm not finding much examples on how to use it. Maybe extending PopupControl would be a better choice. Been looking at the ContextMenu source code (which is extending PopupControl), but it is somewhat mysterious how those MenuItems get ren

Re: How to scale control properly?

2014-06-09 Thread Martin Sladecek
That should work for non-resizable Nodes, but resizables would be tricky if not impossible. During the layout pass, we need to know min/pref/max size. In this case, it would have to be adjusted with the transformation (which can be a rotation, shear or doesn't have to be affine). The transfor

hg: openjfx/8u-dev/rt: 2 new changesets

2014-06-09 Thread hang . vo
Changeset: 619b6657bf41 Author:Daniel Blaukopf Date: 2014-06-10 08:45 +0300 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/619b6657bf41 RT-37474 [Monocle] Shift-backspace generates an undefined key code Reviewed-by: kselle ! modules/graphics/src/main/java/com/sun/glass/ui/m

hg: openjfx/8u-dev/rt: RT-37392: TableView's columns auto-resize if a CSS class is added/removed on MouseEnter/Exit of a wrapping pane

2014-06-09 Thread hang . vo
Changeset: 7cbfb3021f40 Author:jgiles Date: 2014-06-10 16:07 +1200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/7cbfb3021f40 RT-37392: TableView's columns auto-resize if a CSS class is added/removed on MouseEnter/Exit of a wrapping pane ! modules/controls/src/main/java/c

Re: How to scale control properly?

2014-06-09 Thread Richard Bair
One thing we’ve always considered was adding some kind of convenience API to Node to toggle how the layout bounds are computed (whether they take into account transforms or not). Martin, how difficult would that be, do you think? Richard On Jun 5, 2014, at 11:41 AM, Rafal Leibzig wrote: > Tha

hg: openjfx/8u-dev/rt: RT-37429: [TreeTable] An ArrayIndexOutOfBoundsException is thrown when calling getAddedSubList on a Change from TreeTableView's selectedItems.

2014-06-09 Thread hang . vo
Changeset: 60c28b4342a4 Author:jgiles Date: 2014-06-10 12:56 +1200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/60c28b4342a4 RT-37429: [TreeTable] An ArrayIndexOutOfBoundsException is thrown when calling getAddedSubList on a Change from TreeTableView's selectedItems. ! m

hg: openjfx/8u-dev/rt: [Accessibility] WinAccessible#Navigate() was quite inneficient for next/previous sibling navigation. It had to traverse the parent starting at index zero to find the current chi

2014-06-09 Thread hang . vo
Changeset: 27adbe346c85 Author:Felipe Heidrich Date: 2014-06-09 16:45 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/27adbe346c85 [Accessibility] WinAccessible#Navigate() was quite inneficient for next/previous sibling navigation. It had to traverse the parent startin

Re: -fx-background-radius problem

2014-06-09 Thread Kevin Rushforth
Since you said: On Parallels Windows it does not: http://www.reportmill.com/examples/Radius/RadiusWin.jpg This is probably a SW rendering bug (we will fall back to SW when running in Parallels). Is this with 8u20-ea or with 8u5? Please file a JIRA with a complete test program. Also, can

-fx-background-radius problem

2014-06-09 Thread Jeff Martin
Has anyone seen a problem with -fx-background-radius on Windows? When I run Windows using Parallels (on a Mac), -fx-background-radius styles seem to get ignored. Here is my sample code: // Create label with background color and radius Label label = new Label("Testing"); label.setPadding

hg: openjfx/8u-dev/rt: 3 new changesets

2014-06-09 Thread hang . vo
Changeset: 9b0627dd3de8 Author:Felipe Heidrich Date: 2014-06-09 15:12 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/9b0627dd3de8 [Accessibility] removing accessibilityIndexOfChild(), it never fixed anything (it was added during early investigation on virtualizing ite

hg: openjfx/8u-dev/rt: 2 new changesets

2014-06-09 Thread hang . vo
Changeset: 570ce4be0938 Author:Felipe Heidrich Date: 2014-06-09 13:22 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/570ce4be0938 RT-36630: [Accessibility] Mac, sometimes VO focus starts at the wrong node ! modules/graphics/src/main/java/com/sun/glass/ui/mac/MacAccess

hg: openjfx/8u-dev/rt: 2 new changesets

2014-06-09 Thread hang . vo
Changeset: a3b5a890fbe1 Author:flar Date: 2014-06-09 13:47 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/a3b5a890fbe1 Fix RT-36891: [Canvas] clipping can be corrupted by transform Reviewed by: kcr ! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGCanvas.java

[8u20] Review request: [FXCanvas, JFXPanel] NPE in Browser while pressing back/forward buttons from mouse

2014-06-09 Thread Stephen F Northover
Hi Antony, Felipe, Please review: https://javafx-jira.kenai.com/browse/RT-37436 Steve

[8u20] Review request: RT-36361: [Accessibility] Mac: context menu hot key not working

2014-06-09 Thread Anthony Petrov
Hi Felipe, Steve, Please review the fix: https://javafx-jira.kenai.com/browse/RT-36361 -- best regards, Anthony

8u-dev forest open for normal pushes

2014-06-09 Thread Kevin Rushforth

Review request: RT-37474 [Monocle] Shift-backspace generates an undefined key code

2014-06-09 Thread Daniel Blaukopf
Hi Lisa, Please review: https://javafx-jira.kenai.com/browse/RT-37474 http://cr.openjdk.java.net/~dblaukop/webrev-20140609-2233-RT-37474/webrev Thanks, Daniel

hg: openjfx/8u-dev/rt: 3 new changesets

2014-06-09 Thread hang . vo
Changeset: c3f0df64cedf Author:snorthov Date: 2014-06-09 12:28 -0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/c3f0df64cedf INTELLIJ ONLY: fix project files reference to Eclipse bin directory ! .idea/rt-closed.iml Changeset: 030f278e3de1 Author:snorthov Date:

Invitation to connect on LinkedIn

2014-06-09 Thread Pawel Gronkiewicz
LinkedIn I'd like to add you to my professional network on LinkedIn. - Pawel Pawel Gronkiewicz QA Engineer at Zalando SE Berlin Area, Germany Confirm that you know Pawel Gronkiewicz: https://www.linkedin.com/e/j4bywu-hw7y616g-6w/isd/5881791911672426496/WbTSli-Q/?hs=false&tok=2CLT

Re: SceneBuilder 2.0 import custom components from Ja

2014-06-09 Thread Tom Schindl
Maybe it should but to me your use of default-methods in interfaces looks very odd and you should maybe rethink! Tom On 09.06.14 11:06, Lidierth, Malcolm wrote: > Scene Builder presently displays menu items where there is a public > setter/getter for a class. > Should it also display them when t

Re: monitor mouse events but not capture them

2014-06-09 Thread Tomas Mikula
Hi Tom, I am in favor of the menu being a PopupWindow, but alternatively, could your "canvas" be a Group instead of a Pane? The code would look like this: StackPane stack = new StackPane(); Group canvas = new Group(); canvas.setManaged(false); stack.setOnMousePressed(e -> {

SceneBuilder 2.0 import custom components from Ja

2014-06-09 Thread Lidierth, Malcolm
Scene Builder presently displays menu items where there is a public setter/getter for a class. Should it also display them when there is a default setter/getter implemented in an interface? That would allow control of the menus for concrete subclasses of a common abstract class where individual

Re: monitor mouse events but not capture them

2014-06-09 Thread Tom Eugelink
But a PopupWindow would be detached from the pane? Not sure if that is what I envision, but I'll give it a go and see what it looks like. Your event filter does work though for what I need now. Thanks! On 2014-6-9 10:41, Martin Sladecek wrote: Oh, I see. So it's not a PopupWindow at all. Eve

Re: monitor mouse events but not capture them

2014-06-09 Thread Martin Sladecek
Oh, I see. So it's not a PopupWindow at all. Events can pass only though parent-child hierarchy, so you can't catch an Event in your "circular menu" pane and then pass it to some other children of the parent StackPane. The menu pane would have to be parent of the controls in the StackPane. So a

Re: monitor mouse events but not capture them

2014-06-09 Thread Tom Eugelink
Or to see in in action with a single java -jar statement, download the samples from. http://jfxtras.org/ On 2014-6-9 10:13, Martin Sladecek wrote: OK, so to avoid further confusion, you have a PopupWindow with a Pane and you want to capture Events on the Pane and sent those events to the un

Re: monitor mouse events but not capture them

2014-06-09 Thread Tom Eugelink
No, I require a StackPane, to which a special "canvas" Pane is added. And on that Pane a circular shaped menu is placed. The separate pane prevents conflicting with other nodes that may be drawn, the stack pane makes sure the menu is on top. See the blog post about both corner menu and circle

Re: monitor mouse events but not capture them

2014-06-09 Thread Martin Sladecek
OK, so to avoid further confusion, you have a PopupWindow with a Pane and you want to capture Events on the Pane and sent those events to the underlying controls (in a parent window) if those events are not relevant to that popup? Thanks, -Martin On 06/09/2014 10:07 AM, Tom Eugelink wrote:

Re: monitor mouse events but not capture them

2014-06-09 Thread Tom Eugelink
Hm, maybe I chose bad words; I'm not using Canvas, but just a Pane. Since the Pane is only used to draw the menu on when it need to appear, I'm calling it the canvas pane, as in "what is painted on". On 2014-6-9 9:46, Martin Sladecek wrote: Just looked at the code and it seems Canvas does pi

Re: monitor mouse events but not capture them

2014-06-09 Thread Martin Sladecek
Just looked at the code and it seems Canvas does pick on bounds independently of the pickOnBounds value. There's currently no logic for picking only when over an opaque pixel ( worth filing a JIRA issue maybe?). This makes Canvas to consume everything as it's always picked instead of some contr