Re: How to raise JavaFX iOS bugs?

2013-08-08 Thread Daniel Zwolenski
Wtf? Oracle guys, what JVM is this session going to use? https://oracleus.activeevents.com/2013/connect/sessionDetail.ww?SESSION_ID=5517 On 09/08/2013, at 3:51 PM, Tobias Bley wrote: > Daniel, the question is: Which surprise will Oracle show on JavaOne 2013 in > september? Maybe there is som

Re: How to raise JavaFX iOS bugs?

2013-08-08 Thread Tobias Bley
Daniel, the question is: Which surprise will Oracle show on JavaOne 2013 in september? Maybe there is something official concerning JavaFX and iOS and Android…? Please take a look a the planned tracks: http://blog.software4java.com/?p=97 One track talks about „JavaSE in AOT mode“…so maybe we do

hg: openjfx/8/graphics/rt: RT-30650: SwingNode is not Resizable

2013-08-08 Thread hang . vo
Changeset: 29a56291f75e Author:ant Date: 2013-08-09 09:38 +0400 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/29a56291f75e RT-30650: SwingNode is not Resizable Reviewed-by: anthony, art ! build.properties ! modules/swing/src/main/java/javafx/embed/swing/SwingNode.java

Re: JavaFX Media issues

2013-08-08 Thread Scott Palmer
At minimum the Media Player must support H.264, MP3, AAC (so there is a guarantee of a cross-platform format) and then defer to the default platform media decoder for everything else. I.e. *anything* that the standard OS provided media system can decode - I.e. QuickTime on Mac, GStreamer on Linux

Re: JavaFX Media issues

2013-08-08 Thread John Hendrikx
On 9/08/2013 02:10, Scott Palmer wrote: The Media APIs are mostly useless in their current state. Other than demoing that you can play a video, they don't go far enough to be of practical value. I tried to get someone to pay attention to them back in the JavaFX 1.0 days https://javafx-jira.kena

Re: JavaFX Media issues

2013-08-08 Thread Scott Palmer
I was referring to supplying the pixel data to the media nodes. Getting the pixel data of the media from the media nodes should also be possible. It actually is possible now to a degree via the "snapshot" method on Node. Though I encountered a lot of lock-up problems when I tried it. Scott On

Re: JavaFX Media issues

2013-08-08 Thread Daniel Zwolenski
I don't want to detract from the issues around media stuff (they are significant), but if you are desperate (as I was), here's some code for doing video capture and streaming based on LTI-CIVIL and writing to JFX image to render the video: - https://code.google.com/p/jfxcamera/ It's a work aro

Re: JavaFX Media issues

2013-08-08 Thread Scott Palmer
The Media APIs are mostly useless in their current state. Other than demoing that you can play a video, they don't go far enough to be of practical value. I tried to get someone to pay attention to them back in the JavaFX 1.0 days https://javafx-jira.kenai.com/browse/RT-2684 at least someone lis

Re: JavaFX Media issues

2013-08-08 Thread Felix Bembrick
Scott, That JIRA issue doesn't make any mention of getting hooks into pixel data etc., it only refers to user defined codecs. Maybe you could open another issue to manage the wishlist of missing features such as the ones you referred to? I too would very much like to see greatly improved media s

Chart CategoryView - setLowerBound(...) and setUpperBound(...)

2013-08-08 Thread Pedro Duque Vieira
Hi, I already posted this question on the JavaFX forum but got no answer. I have a chart with a CategoryAxis for the x values and a NumberAxis for the y values. I want to enable zooming in this chart. For the NumberAxis I'm planing to use the setLowerBound(...) and setUpperBound(...) methods

Re: How to raise JavaFX iOS bugs?

2013-08-08 Thread Daniel Zwolenski
No, I didn't get a chance. Probably easier for you to just raise it now? It's going to be a pretty big round loop to get ios fixes in. It first needs to go into jfx then needs to be merged into the backport, then that needs to be deployed to maven, then the maven plugin needs to be updated to re

Re: PrefWidth/Height calculations only works if stage is shown

2013-08-08 Thread Tom Schindl
Prefect! Tom On 08.08.13 23:40, Richard Bair wrote: > The peers don't impact the preferred sizes at all. Use this one instead of > impl_reapplyCSS (wrong one) > > impl_processCSS(true) > > > On Aug 8, 2013, at 2:35 PM, Tom Schindl wrote: > >> No same result! >> >>> BorderPane g = new Border

Re: PrefWidth/Height calculations only works if stage is shown

2013-08-08 Thread Richard Bair
The peers don't impact the preferred sizes at all. Use this one instead of impl_reapplyCSS (wrong one) impl_processCSS(true) On Aug 8, 2013, at 2:35 PM, Tom Schindl wrote: > No same result! > >> BorderPane g = new BorderPane(); >> TableView v = new TableView(); >> g.setCenter(v); >> Scene s

Re: How to raise JavaFX iOS bugs?

2013-08-08 Thread steve . x . northover
Hi Daniel, Did you log a bug for the TextField problem? If you have not done so, please do. If you use "iOS:" as a prefix for the title of the bug and use iOS as a label, that should help people find iOS related bugs. I have a fix for the problem you are seeing. The text skin thinks that

Automatic virtualisation (was Developing controls based on Canvas?)

2013-08-08 Thread Felix Bembrick
With all this talk of node virtualisation, I am wondering how feasible it would to build some kind of "automatic virtualiser" such that you pass it your real-world model and then it automagically works out the actual nodes and pools required and manages them seamlessly to maximise rendering perform

Re: PrefWidth/Height calculations only works if stage is shown

2013-08-08 Thread Tom Schindl
No same result! > BorderPane g = new BorderPane(); > TableView v = new TableView(); > g.setCenter(v); > Scene s = new Scene(g); > primaryStage.setScene(s); > g.impl_reapplyCSS(); > System.err.println(g.prefWidth(-1)); // 0 > primaryStage.show(); Could it be that this does not work because if a st

Re: Developing controls based on Canvas?

2013-08-08 Thread Felix Bembrick
T hanks Jonathan. I'll have to check out the virtualisation that you refer to that's going on in JavaFX8 with TableView., it sounds very interesting. I am not saying that controls such as what I am proposing are *impossible* to implement using a scenegraph; it just seems natural to implement them

Re: PrefWidth/Height calculations only works if stage is shown

2013-08-08 Thread Richard Bair
Yes, the problem is that CSS has not been executed yet. If you call reapplyCSS (did we add that API yet? or is it still that impl_?) then you can get a proper size from the control. Richard On Aug 8, 2013, at 2:26 PM, Tom Schindl wrote: > Hi, > > I've been trying to open a window in the mini

PrefWidth/Height calculations only works if stage is shown

2013-08-08 Thread Tom Schindl
Hi, I've been trying to open a window in the minimal dimension needed by components but it looks like size calculations prefHeight/prefWidth only works if the stage is shown. I need the dimensions before showing the stage because I want to position it on the lower right of the screen before showi

Re: Developing controls based on Canvas?

2013-08-08 Thread Richard Bair
> Though not directly analogous, consider your typical spreadsheet > application like Excel where the user is able to pan to the right > effectively without limits and that grid lines are constantly being > rendered as the panning takes place. Given that screens can be very large > these days it i

Re: Developing controls based on Canvas?

2013-08-08 Thread Jonathan Giles
Felix, As you are restricted in what you can say, that also restricts how I can help. However, your example of a spreadsheet not being a control that can be implemented in a scenegraph-based manner suggests that you might want to re-evaluate your assumptions. A spreadsheet would be able to be

Re: JavaFX Media issues

2013-08-08 Thread Kevin Rushforth
There is already bug filed to restore the FX Media APIs to the FX 8 API docs: https://javafx-jira.kenai.com/browse/RT-32004 -- Kevin Joe McGlynn wrote: I don't know why FX Media isn't in the FX 8 API docs, but that's clearly an error. Please file a bug on that. In the meantime, you shoul

RE: JavaFX Media issues

2013-08-08 Thread John Smith
> One thing to suggest is that you can install your own URL content handlers / > protocols in Java. That won't help in this case unless you replaced the http, file or jar protocol handlers, which would be weird. "Only HTTP, FILE, and JAR URLs are supported." http://docs.oracle.com/javafx/2/api/j

Re: JavaFX Media issues

2013-08-08 Thread Fabrizio Giudici
On Thu, 08 Aug 2013 22:57:51 +0200, Joe McGlynn wrote: I don't know why FX Media isn't in the FX 8 API docs, but that's clearly an error. Please file a bug on that. In the meantime, you should look at the FX 2 media docs, there isn't a lot of change from FX2 media in FX8. Buffering and

Re: Developing controls based on Canvas?

2013-08-08 Thread Felix Bembrick
Hi Jonathan, Thanks for your reply. I am a little restricted in exactly what I can reveal about my plans for this control but I can say that it is one in which its very appearance could change quite significantly in a dynamic way at runtime. The control also needs to support panning and zooming

Re: JavaFX Media issues

2013-08-08 Thread Joe McGlynn
I don't know why FX Media isn't in the FX 8 API docs, but that's clearly an error. Please file a bug on that. In the meantime, you should look at the FX 2 media docs, there isn't a lot of change from FX2 media in FX8. Buffering and streaming (HTTP Live Streaming) are both supported, as is pla

Re: JavaFX Media issues

2013-08-08 Thread Richard Bair
> I am having a look at JavaFX media support and have a couple of questions: > > 1. It seems that the only way to load media files is by specifying a source > such as a file path etc. This is not going to work well for me as all of > my application's content (which includes data, digital assets,

RE: JavaFX Media issues

2013-08-08 Thread John Smith
JavaFX 2.2 does http live streaming: http://docs.oracle.com/javafx/2/media/overview.htm "HTTP Live Streaming Support With the addition of HTTP live streaming support, you can now download the playlist file and playback video or audio segments using JavaFX Media. Media players are now able to s

hg: openjfx/8/graphics/rt: SWT glass: trivial fix to enable menu bar on mac

2013-08-08 Thread hang . vo
Changeset: 3371ead571da Author:snorthov Date: 2013-08-08 16:34 -0400 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/3371ead571da SWT glass: trivial fix to enable menu bar on mac ! modules/graphics/src/main/java/com/sun/glass/ui/swt/SWTApplication.java

JavaFX Media issues

2013-08-08 Thread Felix Bembrick
I am having a look at JavaFX media support and have a couple of questions: 1. It seems that the only way to load media files is by specifying a source such as a file path etc. This is not going to work well for me as all of my application's content (which includes data, digital assets, media etc.

Re: Rowsorting of TableView with SortedList/FilteredList

2013-08-08 Thread Jonathan Giles
Funny you should ask about this - I just blogged about SortedList and TableView the other day, over at FXExperience: http://fxexperience.com/2013/08/returning-a-tableview-back-to-an-unsorted-state-in-javafx-8-0 Of course, I can see that you've already read that post (I see a comment from the co

hg: openjfx/8/master/rt: 97 new changesets

2013-08-08 Thread hang . vo
Changeset: 1881571d12e6 Author:mv157916 Date: 2013-08-02 00:42 -0700 URL: http://hg.openjdk.java.net/openjfx/8/master/rt/rev/1881571d12e6 RT-32076: Update the JDK build number to b101 in rt/build.properties file in the JavaFX 8 Master forest. ! build.properties Changeset: 02439ac

hg: openjfx/8/graphics/rt: RT-32224: restore Window.add/remove methods needed by Lens native

2013-08-08 Thread hang . vo
Changeset: e916bc90eb67 Author:ddhill Date: 2013-08-08 15:32 -0400 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/e916bc90eb67 RT-32224: restore Window.add/remove methods needed by Lens native ! modules/graphics/src/main/java/com/sun/glass/ui/Window.java

Re: Swing and JavaFX thread merge

2013-08-08 Thread Jeff Martin
So I found a workaround, though I don't understand the why of the problem or workaround. What I found was that on MacOSX 7u25+, my app mainSwing() (executed via invokeLater() from main()) was being called on AWT-EventQueue-2 from the JAWS startup thread (javawsApplicationMain) instead of AWT-Ev

hg: openjfx/8/graphics/rt: RT-30204 ES2RTT Viewport fix

2013-08-08 Thread hang . vo
Changeset: 1222358a4d4d Author:"Joseph Andresen" Date: 2013-08-08 11:31 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/1222358a4d4d RT-30204 ES2RTT Viewport fix ! modules/graphics/src/main/java/com/sun/prism/MultiTexture.java ! modules/graphics/src/main/java/com/su

hg: openjfx/8/graphics/rt: RT-30449 FX 8 3D: Need to handle mirror transformation (flip culling)

2013-08-08 Thread hang . vo
Changeset: ae7b09388ec2 Author:Yao Wang Date: 2013-08-08 11:00 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/ae7b09388ec2 RT-30449 FX 8 3D: Need to handle mirror transformation (flip culling) ! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGShape3D.java

hg: openjfx/8/graphics/rt: RT-31962: Window Display all black and can't restore

2013-08-08 Thread hang . vo
Changeset: c3890f1ae2a1 Author:kcr Date: 2013-08-08 10:43 -0700 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/c3890f1ae2a1 RT-31962: Window Display all black and can't restore ! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/PresentingPainter.java ! modules/g

hg: openjfx/8/graphics/rt: Adding vi .swp files to .hgignore

2013-08-08 Thread hang . vo
Changeset: d045f3d461de Author:ddhill Date: 2013-08-08 13:23 -0400 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/d045f3d461de Adding vi .swp files to .hgignore ! .hgignore

Re: current state of gradle script for Android?

2013-08-08 Thread Danno Ferrin
Summer vacation stuff with my family is sucking up all my free time. School starts in two weeks so I should be off the hook soon. On Aug 8, 2013 5:14 AM, "tomas.brandalik" wrote: > Hi, > I have hardly any info about the project jfx78 backport and its status. > I've just had a look at it and saw t

Re: Swing and JavaFX thread merge

2013-08-08 Thread Jeff Martin
Addendum: it turns out that the JOptionPane is not blocking any of the UI (Swing included). So maybe this isn't strictly a JavaFX problem. jeff On Aug 8, 2013, at 8:17 AM, Jeff Martin wrote: > It looks like this is specific to MacOSX 7u25+, if you run Java Inventor from > the JAWS link on Ma

Re: Glass thread checks

2013-08-08 Thread steve . x . northover
Heavens .. typos! To give a little more context. JavaFX is apartment threaded with well documented rules for threading. These rules were not enforced in code. Glass, the low level window component for FX is now enforcing apartment threading for this component. Since Glass has no public API

Re: Glass thread checks

2013-08-08 Thread steve . x . northover
To give a little more context. JavaFX is apartment threaded with well documented rules for threaded. These rules were not enforced in code. Glass, the low level window component for FX is not enforcing apartment threading. Since Glass has no public API, the only way that an application can

Re: Glass thread checks

2013-08-08 Thread Petr Pchelko
Hello, OpenJFX Team. As you know, the previous attempt to switch on the thread checks have failed. The problems were fixed, so I'm going to enable them again tomorrow morning if nobody objects. With best regards. Petr.

Re: JavaFX CSS significantly differs from W3C CSS (Forked from RE: Proposal to move default style-class from Control to SkinBase)

2013-08-08 Thread Pedro Duque Vieira
Richard, John and Tom thanks for your input. > > Also one more advantage I see if JavaFX complies with w3c CSS (on the > > things that count) is that CSS is a continuously evolving technology > with a > > lot of people already working on it and evolving it (for instance, the > > broken layout sys

Re: Swing and JavaFX thread merge

2013-08-08 Thread Jeff Martin
It looks like this is specific to MacOSX 7u25+, if you run Java Inventor from the JAWS link on MacOSX (I'm using JVM 1.7.0_25 or 40-ea): prompt> javaws http://reportmill.com/javi/javi1/JavaInventor1.jnlp Here are the steps: 1. Create New Project and Open 2. Click on larg

Re: Swing and JavaFX thread merge

2013-08-08 Thread Petr Pchelko
Hello. I've just pushed the fix to the repo, so it should be available in a couple of builds. However, it is an experimental feature, so we lack the documentation or examples on it. If you experience any issues with it - please contact me. > As I wrote, it won't work by default in JDK8, you'll

hg: openjfx/8/graphics/rt: RT-30694: Add support for a single threaded mode for FX/AWT interop

2013-08-08 Thread hang . vo
Changeset: c122b03b13e5 Author:Petr Pchelko Date: 2013-08-08 16:23 +0400 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/c122b03b13e5 RT-30694: Add support for a single threaded mode for FX/AWT interop Reviewed-by: anthony, art, ant, snorthov ! modules/graphics/src/main/

hg: openjfx/8/graphics/rt: RT-31861: Examine commented-out thread checks in Glass

2013-08-08 Thread hang . vo
Changeset: 1d86b2b314e3 Author:Petr Pchelko Date: 2013-08-08 15:52 +0400 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/1d86b2b314e3 RT-31861: Examine commented-out thread checks in Glass Reviewed-by: anthony, art ! modules/graphics/src/main/java/com/sun/glass/ui/Applic

Re: Swing and JavaFX thread merge

2013-08-08 Thread Artem Ananiev
On 8/8/2013 1:45 AM, Jeff Martin wrote: I thought I was getting this automatically - when I run on my desktop, I can bring up a JOptionPane from a Swing thread and JFXPanels (correctly) block. But when I run from Java Web Start, they don't, and I end up with sporadic SwingUtilities.computeInters

hg: openjfx/8/graphics/rt: RT-21125 Mac: Native menus don't show the correct symbol for some Unicode chars.

2013-08-08 Thread hang . vo
Changeset: 97a393b3f64d Author:Petr Pchelko Date: 2013-08-08 15:34 +0400 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/97a393b3f64d RT-21125 Mac: Native menus don't show the correct symbol for some Unicode chars. RT-21945 Mac: Menu accelerator badly rendered when using

Rowsorting of TableView with SortedList/FilteredList

2013-08-08 Thread Martin Klähn
Hi guys, I'm working on a business application that makes use of TableView and I'm working with JDK 8 build b101. Displaying the data works like a charm. Row sorting for ordinary ObservableLists is fine too. Then I've set TableView.items to FilteredList and row sorting was disabled. replacing Ta

Re: current state of gradle script for Android?

2013-08-08 Thread tomas.brandalik
Hi, I have hardly any info about the project jfx78 backport and its status. I've just had a look at it and saw that last sync happened in beginning of July. It's good if somebody is willing to put his effort into that. In order to run on dalvik we need to compile jfx with jdk1.6 (I suppose 1.7

hg: openjfx/8/graphics/rt: RT-31966 Null-screen error on WebEngine.print()

2013-08-08 Thread hang . vo
Changeset: 1d7e167d5300 Author:peterz Date: 2013-08-08 14:15 +0400 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/1d7e167d5300 RT-31966 Null-screen error on WebEngine.print() ! modules/web/src/main/java/com/sun/javafx/webkit/prism/WCGraphicsPrismContext.java

hg: openjfx/8/graphics/rt: Android: Implement loadContent() on webview. Use default encoding set to null instead base64.

2013-08-08 Thread hang . vo
Changeset: 158e4ee0658a Author:tb115823 Date: 2013-08-08 11:17 +0200 URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/158e4ee0658a Android: Implement loadContent() on webview. Use default encoding set to null instead base64. ! modules/graphics/src/android/java/com/oracle

Re: JavaFX CSS significantly differs from W3C CSS (Forked from RE: Proposal to move default style-class from Control to SkinBase)

2013-08-08 Thread Tom Schindl
Hi Pedro, on CSS as a spec: You are right the spec does not only hold a language definition but also the definition of e.g. the box-model, ... who simply can not be applied to FX unless you completely revamp how it works on CSS: The grammer o

Re: current state of gradle script for Android?

2013-08-08 Thread Tobias Bley
Hi Tomas, yes, I was able to build JavaFX for Android, but I would like to start JavaFX on Dalvik…You said its necessary to update the jfx78 backport to the latest openjfx code changes…? btw: I just saw your very interesting JavaOne track ;) Am 08.08.2013 um 09:59 schrieb tomas.brandalik :

Re: current state of gradle script for Android?

2013-08-08 Thread tomas.brandalik
Hi Tobi, shouldn't be necessary to patch android.gradle file or set ANDROID_CROSS_TOOLS_VER anymore. The latest changes resolve path to a toolchain taking into account variants of NDK. Thank you for testing it. -Tomas On 08/01/2013 11:41 PM, Tobias Bley wrote: Thanks Tomas, after changing a