Re: Proposal For Inclusion of Robot and ParametersImpl in the Public API

2018-03-24 Thread Scott Palmer
> On Mar 23, 2018, at 5:50 PM, Michael Ennen wrote: > > Kevin, > > I believe I followed all of your suggestions, except the one with a > re-usable WritableImage. > If you want me to implement that as well, I can, but you seemed unsure > about the necessity > of it. I think it should be includ

Re: Windows Build setupTools

2017-12-21 Thread Scott Palmer
One of the reasons I would like to eliminate Cygwin is that I believe it causes more problems than it is worth. For example, lat time I check, there was a bunch of code in the build scripts to hack paths because Cygwin apparently wants non-Windows paths on Windows. It’s the “let’s pretend we a

Re: Building OpenJFX.

2017-12-19 Thread Scott Palmer
> On Dec 19, 2017, at 5:13 PM, Mario Torre > wrote: > > 2017-12-19 23:04 GMT+01:00 Scott Palmer : >> The project should be configured to use the Gradle Wrapper, so the correct >> version of Gradle is used automatically. > > This is not an option for Linux dist

Re: Building OpenJFX.

2017-12-19 Thread Scott Palmer
The project should be configured to use the Gradle Wrapper, so the correct version of Gradle is used automatically. https://docs.gradle.org/current/userguide/gradle_wrapper.html There was some concern about checking in the gradle-wr

Re: javapackager feedback and questions

2017-11-30 Thread Scott Palmer
I’m using javapackager to generate native installers for several services and GUI applications. I would be using it for some command line tools as well, but it doesn’t yet support “console” applications on Windows. I.e. you can’t make javapackager with javapackager. I’ve filed an issue for that

Please Re-Open JDK-8169596

2017-11-27 Thread Scott Palmer
https://bugs.openjdk.java.net/browse/JDK-8169596 There is no reason to preclude creating command-line tools with Java. This restriction makes it impossible to create programs like javapackager with javapackager. Scott

Multiselection in a TreeView

2017-10-12 Thread Scott Palmer
Try it. It has a lot of issues. - SelectedItems ListChangeListener misses “Remove” notifications - IndexOutOfBoundsExceptions - Selection of item by clicking on the collapse-node widget See https://bugs.openjdk.java.net/browse/JDK-8189228 Scott

Re: WebView and WebGL

2017-09-09 Thread Scott Palmer
If I’m remembering correctly, I think the another factor for why WebGL wasn’t included is that the rendering layer of WebKit was done on top of JavaFX. That allows it to integrate nicely with the all the other JavaFX rendering. Personally I wish that time wasn’t wasted (IMO) on the existing 3D

Re: WebView and WebGL

2017-08-26 Thread Scott Palmer
+1 ... to Any high performance way to get images from native code to the screen in a JavaFX app. I filed an enhancement request many years ago for a method to supply portions of the media pipeline for the media player APIs. I've also been asking for some way to get at a native surface context

Re: javapackager - partially self-contained apps in JDK 9

2017-04-25 Thread Scott Palmer
> On Apr 11, 2017, at 1:43 PM, Alan Snyder wrote: > > I have run into a problem in moving my macOS apps from JDK 8 to 9. The issue > relates to using MySQL via JDBC. > The connector class name is fixed. The class is loaded using Class.forName(). > However, there can be different versions > of

Re: Is a Desktop Experience on ARM with X11 Possible?

2017-02-10 Thread Scott Palmer
well with the X11 system > on the Raspberry Pi. > > - Johan > > On Thu, Feb 9, 2017 at 8:19 PM Scott Palmer <mailto:swpal...@gmail.com>> wrote: > Just wondering if there are some options for building OpenJFX for > embedded ARM such that it behaves like it

Is a Desktop Experience on ARM with X11 Possible?

2017-02-09 Thread Scott Palmer
Just wondering if there are some options for building OpenJFX for embedded ARM such that it behaves like it does on x86 Linux with X11. I mean with actual decorated windows instead of just lumping everything onto the frame buffer or a single window. Is this currently possible? Scott

Re: Testing your JavaFX applications on JDK 9

2017-01-26 Thread Scott Palmer
t client VM is gone so you get the 32 bit server VM. > That could make a difference, although in theory the server VM performs > better - so > long as it does not run out of memory. > > -phil. > > On 1/26/17, 6:44 PM, Scott Palmer wrote: >> I’ve only tested with Java

Re: Testing your JavaFX applications on JDK 9

2017-01-26 Thread Scott Palmer
e a good thing to discuss on jigsaw-dev. >> If you are seeing actual application slowdown, that might be something else, >> depending on where the problem is. Have you profiled your application? >> >> -- Kevin >> >> >> Scott Palmer wrote: >>>

Re: Testing your JavaFX applications on JDK 9

2017-01-26 Thread Scott Palmer
I finally managed to get my app running on JDK 9. It is based on a plugin architecture and the plugins are made accessible by modifying the system class loader at runtime (because that seemed to be the only way to make things like JAXB able to reach the classes in the plugins). That “hack” bro

javapacker's iconswap flagged as malware

2016-10-18 Thread Scott Palmer
Just tried to run a build on Windows 10 with 8u112 and got this: Exception: java.io.IOException: Cannot run program "C:\Users\spalmer\AppData\Local\Temp\iconswap2930071229376508731.exe": CreateProcess error=225, Operation did not complete successfully because the file contains a virus or potential

Re: SVG

2016-10-11 Thread Scott Palmer
ne().load("PathToSvg.svg"); ). > Could you please let us know which content (SVG) failed to rendered as > expected. Please file a JBS with simplified test content , will analyze. > > Thanks, > Guru > > On 11/10/16 6:56 PM, Scott Palmer wrote: >>> On Oct

Re: SVG

2016-10-11 Thread Scott Palmer
> On Oct 11, 2016, at 8:36 AM, Kevin Rushforth > wrote: > > JavaFX supports SVG paths both directly and via CSS, but there is no general > support for SVG. Perhaps there should be? Is there an enhancement request in JIRA? I just Worte a program that tried to get around this using WebView t

Warnings when running with -Xcheck:jni

2016-09-21 Thread Scott Palmer
I noticed several warnings coming from javaFX when I ran my app with -X:check:jni Is that something worth filing an issue over,or is it basically a known thing and we don't particularly care? E.g.: WARNING in native method: JNI call made without checking exceptions when required to from CallStat

What does the nicetohave label in JIRA mean?

2016-09-13 Thread Scott Palmer
I just noticed it was applied to a bug I am watching, JDK-8089573 (JavaFX printing does not work on Mac) The issue seems to be more critical to me than what the words "nicetohave" would imply, but perhaps it simply means that it has been deferred? Scott

Re: Packager Images for Mac DMG and PKG Backgrounds

2016-09-07 Thread Scott Palmer
Done. https://bugs.openjdk.java.net/browse/JDK-8165630 > On Sep 7, 2016, at 12:35 PM, Chris Bensen wrote: > > Hi Scott, > > Please file a bug. > > Thanks, > Chris > > >> On Sep 7, 2016, at 9:27 AM, Scott Palmer wrote: >> >> As I continued

Re: Packager Images for Mac DMG and PKG Backgrounds

2016-09-07 Thread Scott Palmer
getConfig_VolumeBackground method of the DMG bundler. It should be fixed as otherwise you can’t run all bundlers in a sane way with customizations. Regards, Scott > On Sep 7, 2016, at 12:03 PM, Scott Palmer wrote: > > I’m packaging a Java application on Mac. As I want to be able to install it >

Packager Images for Mac DMG and PKG Backgrounds

2016-09-07 Thread Scott Palmer
I’m packaging a Java application on Mac. As I want to be able to install it as a service or run it as a regular application, I’m building both a .dmg and .pkg. I'm trying to use two different custom images for my Disk Image and for my .pkg background. I can’t seem to make that work. The packa

javapackager - Is it JDK or JFX?

2016-08-28 Thread Scott Palmer
I’m curious where the javapackager tool belongs. It used to be called javafxpackager, and the source code seems to still live in the ‘fxpackager’ folder of the OpenJFX repository, which is why I’m asking on this list. I noticed that builds of the JDK that don’t include JavaFX (e.g. Linux ARM)

Re: Playing a sound at regular intervals

2016-08-23 Thread Scott Palmer
FYI... This issue is not visible to me https://bugs.openjdk.java.net/browse/JDK-8090414 Scott > On Aug 23, 2016, at 10:15 AM, David DeHaven wrote: > > >> We're trying to play a notification sound at a regular interval (every >> 500ms) in a loop. >> >> It should sound like "bing.bing.bing.

Re: Scene graph performance

2016-07-21 Thread Scott Palmer
> On Jul 21, 2016, at 6:18 PM, Richard Bair wrote: > > Hi Steve, > > It could be a benchmark problem, although I wouldn’t be surprised at all if > the benchmark was exercising the platform in some way that was CPU limited. > Assuming it is CPU limited (and not going multi-core), I think the p

Re: Anyone using JMX with JavaFX?

2016-06-10 Thread Scott Palmer
I never heard of this until this thread. And after googling I still have no clue what it is. I think that explains some of why it is rarely used. Scott > On Jun 10, 2016, at 6:01 AM, dalibor topic wrote: > > I suspect that particular plugin is extremely rarely used, judging by > https://githu

Re: Handling Enter key presses on Buttons in JavaFX

2016-06-08 Thread Scott Palmer
> On Jun 8, 2016, at 3:29 AM, Robert Lichtenberger > wrote: > > >> 2) Do we want to have different behaviors for OS X and non-OS X? I'm a >> newly inducted member into the cult of Mac, and I don't yet have all >> my bearings sorted out, so I don't have a strong opinion here. > Please don't ma

Re: What does this mean for the future of JavaFX on iOS?

2016-04-19 Thread Scott Palmer
> On Apr 19, 2016, at 4:18 AM, Felix Bembrick wrote: > > Let's face it, without highly optimised AOT, Java and/or JavaFX on mobiles is > simply not viable which in turn implies that JavaFX itself is not even worth > looking at... RIP. Let's not go crazy. JavaFX is still the best bet for desk

Re: JavaFX Application Heat up MacBook Pro

2016-03-28 Thread Scott Palmer
s, you will need to >>>> package your application with the appropriate entry in the Info.plist >>>> file. >>>> >>>> The equivalent AWT fix -- >>>> https://bugs.openjdk.java.net/browse/JDK-8041900 >>>> -- is fixed in 8u92 which

Re: JavaFX Application Heat up MacBook Pro

2016-03-25 Thread Scott Palmer
What version of JavaFX are you running? There is a known issue, where JavaFX (and AWT/Swing) trigger activation of the discreet GPU. I believe for FX the issue has been resolved in the latest version, but the equivalent AWT fix hasn't made it to a released version yet. Scott > On Mar 25, 2016,

Re: How do I read the output of the Pulse Logger?

2016-03-15 Thread Scott Palmer
et/browse/JDK-8151756 notwithstanding) > > On 3/15/16 12:14 PM, Scott Palmer wrote: >> Is there a guideline somewhere that explains how to read the output of the >> Pulse Logger? >> >> For example, what do the two times represent in this PULSE line: >> >> PUL

How do I read the output of the Pulse Logger?

2016-03-15 Thread Scott Palmer
Is there a guideline somewhere that explains how to read the output of the Pulse Logger? For example, what do the two times represent in this PULSE line: PULSE: 569 [1459ms:270ms] At first I guessed is that it was PULSE: [ms:] but that doesn’t seem to hold up. What does the first (us

Re: reapplyCss() Is called too many times when adding a node hierarchy to the Scene

2016-03-11 Thread Scott Palmer
plying > to the children. > > It may also depend on how you add the nodes to the scene. > > On 3/11/16 5:18 PM, Scott Palmer wrote: >> I think I've discovered a significant performance issue with CSS >> processing... >> >> Adding a Node hierarchy

Re: reapplyCss() Is called too many times when adding a node hierarchy to the Scene

2016-03-11 Thread Scott Palmer
> to the children. > > It may also depend on how you add the nodes to the scene. > >> On 3/11/16 5:18 PM, Scott Palmer wrote: >> I think I've discovered a significant performance issue with CSS >> processing... >> >> Adding a Node hierarchy to a

reapplyCss() Is called too many times when adding a node hierarchy to the Scene

2016-03-11 Thread Scott Palmer
I think I've discovered a significant performance issue with CSS processing... Adding a Node hierarchy to a Scene leads to javafx.scene.node.setScenes(Scene, SubScene) being called. This leads a walk down the Node hierarchy like so: setScenes -> invalidatedScenes -> scenesChanged

Profiling JavaFX Apps Not Working

2016-03-11 Thread Scott Palmer
When I connect a profiler to my application with jvisualvm I get a constant stream of exceptions: Exception in thread "Thread-9" java.lang.NoClassDefFoundError: com/sun/javafx/tk/quantum/QuantumToolkit$$Lambda$54 When I mouse over the UI, I get even more: Exception in thread "JavaFX Application

Re: javapackager

2016-02-04 Thread Scott Palmer
s relative file reference. I wasn't able to do anything to convince it that the license file was there. I just omitted it for now. Updating to 8u72 did not solve my .rpm dependency issues. Scott On Wed, Feb 3, 2016 at 4:08 PM, Scott Palmer wrote: > > > On Feb 3, 2016, at 11:40 A

Re: javapackager

2016-02-03 Thread Scott Palmer
> On Feb 3, 2016, at 11:40 AM, Chris Bensen wrote: > > On Feb 2, 2016, at 7:27 PM, Scott Palmer wrote: >> >> Note that this is a RPM-based system, apt-get is not available, yum is. >> >> yum install libX11 > > What is the Linux system you are running

Re: javapackager

2016-02-02 Thread Scott Palmer
vapackager. > > Is your app built with the 64-bit or 32-bit packager? I noticed “x86_64” > appended to the name. If it’s 32-bit you could try running: > > sudo apt-get install libx11-6:i386 > > Chris > > >> On Feb 2, 2016, at 1:49 PM, Scott Palmer wrote: >

Re: javapackager

2016-02-02 Thread Scott Palmer
] } } ${buildDir}/extracted-dist contains a full layout of the application image. Scott > On Feb 2, 2016, at 7:03 PM, Chris Bensen wrote: > > This list or the Deployment blog > (https://blogs.oracle.com/talkingjavadeployment/) are the best places to get > help with the

javapackager

2016-02-02 Thread Scott Palmer
What's the best place to go to get help with using the javapackager ? I've read the docs, but things aren't working smoothly and it would be helpful if there were some known working examples to base things on. I'm not finding any examples that use the -daemon or -BserviceHint=true options, for ex

Public API to find node at specific coordinates

2016-02-02 Thread Scott Palmer
Do we have such an API yet? I found this: https://bugs.openjdk.java.net/browse/JDK-8091684 and: https://bugs.openjdk.java.net/browse/JDK-8099546 which is still unresolved (and 6 years old!), so I'm guessing no. Is it too late for Java 9? I need a way to forward events to a scene and have them d

StringBinding and null

2016-01-19 Thread Scott Palmer
So I just discovered that: ObjectProperty objectPropertyString = new SimpleObjectProperty<>(null); StringBinding stringBinding = objectPropertyString.asString(); stringBinding.get() == null --> FALSE stringBinding.get().equals("null") --> TRUE I care because this fails to do what I want: Butt

JavaFX Docs

2015-12-24 Thread Scott Palmer
Is there a plan to unify them with the rest of the JDK? I noticed the JDK 9 EA releases still have separate links to JDK and JavaFX docs. Scott

Re: JavaFX on Raspberry Pi

2015-12-05 Thread Scott Palmer
ght help: > > http://gluonhq.com/gluon-supports-javafx-embedded-binary-builds-now-available/ > > -- Jonathan > Sent from a touch device. Please excuse my brevity. > >> On 6 December 2015 15:29:27 GMT+13:00, Scott Palmer >> wrote: >> I seem to recall tha

JavaFX on Raspberry Pi

2015-12-05 Thread Scott Palmer
I seem to recall that the Arm builds of Java 8 no longer include JavaFX. I just installed 8u65 on my Raspberry Pi and that does in fact appear to be the case. The web page https://wiki.openjdk.java.net/display/OpenJFX/OpenJFX+on+the+Raspberry+Pi was last updated in June and it implies that Ja

Re: Future of JavaFX

2015-12-02 Thread Scott Palmer
I didn't find it too difficult to get the form signed and submitted, but a key exchange is also a good idea. The mirror of the Mercurial repo on BitBucket also makes a lot of sense as a staging area for contributions. (So long as I can avoid dealing with the insanity of Git and its ridiculous U

Java 9 Questions

2015-11-19 Thread Scott Palmer
I was just looking at the Java 9 EA pages and have a few questions (mostly JavaFX related). - There is a separate download for Java 9 + Jigsaw, but it has a much earlier build number (b86). Is Jigsaw not included with the of the latest (b92) download? - When looking at the Java 9 JEPs I see

Re: Java 8 updates are causing "Apps that use non-public APIs will be rejected"

2015-11-17 Thread Scott Palmer
> On Nov 17, 2015, at 7:21 PM, Michael Hall wrote: > >> On Nov 17, 2015, at 11:31 AM, Kevin Rushforth >> wrote: >> >> [taking awt-dev off of this thread] >> >> The fix that was put into 8u72-b02 is that the packager will no longer >> include libjfxwebkit.dylib in the packaged app. Is this n

Re: Bug when combining ListView and SortedList?

2015-10-30 Thread Scott Palmer
That looks like a bug to me. Please report it. On Fri, Oct 30, 2015 at 7:07 AM, Fisher, Robert wrote: > Hi, > > I am wondering if this behaviour of ListView's MultipleSelectionModel is > correct: > > > ListView listView = new ListView<>(); > ObservableList items = FXCollections.observableArrayL

Jira Forms need updating for "Affects Version/s"

2015-09-30 Thread Scott Palmer
At https://bugs.openjdx.java.net/ 8u60 is still listed under “Unreleased Versions” Scott

Re: Usage of Toolkit firePulse

2015-09-24 Thread Scott Palmer
For some of these use cases I wonder if an AnimationTimer could be used to handle spreading work out. E.g in the case of rendering to a canvas across multiple pulses, do a bit at a time in the AnimationTimer’s handle() method. Scott > On Sep 24, 2015, at 5:53 AM, Fisher, Robert > wrote: > >

Re: [9] Proposal to deprecate VP6 video and the FLV/FXM file formats

2015-08-27 Thread Scott Palmer
> On Aug 27, 2015, at 2:29 AM, Dr. Michael Paus wrote: > > Am 26.08.15 um 22:25 schrieb Scott Palmer: >> >> Then legacy formats could be provided in optional downloads and new formats >> can be supported without the need to integrate them within the JRE code. >&g

Re: [9] Proposal to deprecate VP6 video and the FLV/FXM file formats

2015-08-26 Thread Scott Palmer
+1 for deprecation of VP6 and clearing the way to open sourcing of JFXMedia. On a related note, you will soon need to support H.265/HEVC. HEVC apparently also supports an alpha channel, so it may also address that concern. (See http://www.itu.int/rec/T-REC-H.265-201504-I/en) All of this might

Can we use JavaPackager and a get full JRE?

2015-08-08 Thread Scott Palmer
I’m using the JavaFX gradle plugin to build a very simple application with the new java packager and I’ve noticed a problem with the embedded JRE, at least on OS X. Specifically, the ‘bin’ folder is missing from the embedded JRE, presumably because the embedded launcher replaces it. However my

Re: Camera Access

2015-08-07 Thread Scott Palmer
> On Aug 5, 2015, at 5:06 PM, Jens Kapitza > wrote: > > Am Dienstag, 4. August 2015, 13:26:06 schrieb Scott Palmer: >> The issue is: https://bugs.openjdk.java.net/browse/JDK-8090438 >> <https://bugs.openjdk.java.net/browse/JDK-8090438> >> >> A targ

8u60-b26 ?

2015-08-05 Thread Scott Palmer
It was there a few days ago, when I downloaded it for OS X. Now the page only shows b25. It’s the first FCS build, so I wonder if it was removed for a reason. It’s still there for download if you guess the URL. Scott

Camera Access

2015-08-04 Thread Scott Palmer
The issue is: https://bugs.openjdk.java.net/browse/JDK-8090438 A target release has not been set. But I really hope it could make it into 9.0. Has there been any further discussion on this? Regards, Scott

Re: The Case for JavaFX & Emulated L&Fs (across iOS, Android etc.)

2015-07-29 Thread Scott Palmer
As long as SceneBuilder is maintained I'm all for FXML. It is entirely useless without SceneBuilder though, and doing complex UI layouts without SceneBuilder is a pain in the butt. I have no issues with CSS either. There's no need to keep inventing new ways of doing what CSS does. It's much easi

Re: Simple equivalent to display: none?

2015-07-22 Thread Scott Palmer
Just do: node.managedProperty().bind(node.visibleProperty()); Then the visible property controls both. Scott > On Jul 22, 2015, at 8:33 AM, Mike Hearn wrote: > > One common layout task that seems harder than necessary in JavaFX is to > temporarily remove a node from the scene graph, without

Re: JavaFX graphic performance slow on Mac? Clock app

2015-07-10 Thread Scott Palmer
I just tried this app on my MacBook Pro (Retina, 15-inch, Mid 2015) The framerate was always 60fps. The higher performance AMD graphics processor was active - as it is for all Java programs :-(. The CPU usage reported for the process by Activity Monitor varied between 18 and 30%, and settled at j

Re: JavaFX features in JDK 9

2015-06-30 Thread Scott Palmer
> On Jun 30, 2015, at 7:21 AM, Mike Hearn wrote: > > ... > With respect to things like "support WebRTC" or "support WebGL" - > seriously? WebRTC is useful for exactly one kind of app, video chat. It > seems to have been driven primarily so Google could make a Skype competitor > inside Gmail with

EA downloads?

2015-06-26 Thread Scott Palmer
Is there a reason that the 8u early access download page hasn’t been updated with either 8u60 b20 or b21 ? The downloads are available if you guess the URL. https://jdk8.java.net/download.html I still see it offering b19. Scott

Re: JavaFX printing on OS X is horribly broken

2015-06-10 Thread Scott Palmer
d test with that. > > Once "Resolved In Build:team" > > looks more like "Resolved In Build:b20" .. or something then you will know > what to try. > > In other words it is team->master->b## and only the latter is useful to > people who > do not like cr

JavaFX printing on OS X is horribly broken

2015-06-10 Thread Scott Palmer
The JavaFX bug https://javafx-jira.kenai.com/browse/RT-38198 refers to the JDK bug https://bugs.openjdk.java.net/browse/JDK-8064833 which appears to be back ported to 8u60 via https://bugs.openjdk

Re: Building Scene Builder

2015-05-27 Thread Scott Palmer
> On May 27, 2015, at 12:47 PM, David Hill wrote: > > On 5/27/15, 12:08 PM, Scott Palmer wrote: >>> On May 27, 2015, at 10:04 AM, David Hill wrote: >>> >>> On 5/24/15, 10:56 AM, Scott Palmer wrote: >>>> Where can I find the ins

Re: Building Scene Builder

2015-05-27 Thread Scott Palmer
> On May 27, 2015, at 10:04 AM, David Hill wrote: > > On 5/24/15, 10:56 AM, Scott Palmer wrote: >> Where can I find the instructions for building Scene Builder from source? >> >> >> I ran Ant in the apps/scenebuilder folder and it produced >> SceneBuil

Re: Integrated vs. Discrete Graphics on OS X

2015-05-25 Thread Scott Palmer
s on the fly. It > requires/would require some code in the Mac GL specific part of JavaFX. > Otherwise if you force it to integrated then some other app causes a switch > to discrete, the app might die because its GL surface just vanished. > > On Mon, May 25, 2015 at 5:30 PM, Scott Palmer

Integrated vs. Discrete Graphics on OS X

2015-05-25 Thread Scott Palmer
I've noticed that it is not possible to run a Java GUI app (Swing or JavaFX) on a MacBook Pro without it activating the discrete graphics and therefore reducing battery life. I believe it is automatically triggered by the use of OpenGL. Unless you explicitly code for the integrated adapter, I don

Building Scene Builder

2015-05-24 Thread Scott Palmer
Where can I find the instructions for building Scene Builder from source? I ran Ant in the apps/scenebuilder folder and it produced SceneBuilderApp.jar in the 'SceneBuilderApp/dist' folder. But where's the rest of it? It looks like the javapackager part does run automatically, so I don't have a

Re: Stage hide/show from Swing

2015-05-18 Thread Scott Palmer
I would have thought that #2 was correct. What happened when you tried it? Did you make sure JavaFX didn't try to shutdown automatically when the last Stage was hidden? Scott > On May 18, 2015, at 7:37 AM, Matthias Hänel wrote: > > Hello there, > > > I have a stage that is been called from

Re: JDK 1.8.0 33/40, diacritics and file problems

2015-04-28 Thread Scott Palmer
I thought Mac OS X has a standard normalization for unicode filenames. Linux just treats whatever it gets as bytes so it is up to the software creating the file. Am I correct? (e.g. see: http://stackoverflow.com/questions/9757843/unicode-encoding-for-filesystem-in-mac-os-x-not-correct-in-python )

Re: Debugging CSS

2015-04-03 Thread Scott Palmer
How exactly can you use pseudo-class state for this sort of change? I have a similar requirement in my own app. It always did feel a little 'heavy' when I added and removed style-classes, but it still seemed like the best way to trigger visual changes on my nodes. Though I guess one benefit is th

Re: Media API question regarding metadata retrieval

2015-04-01 Thread Scott Palmer
I seems like a decent compromise to defer to the native platform code that will ultimately be used to process the file anyway. It seems a little heavy, but the alternative is perhaps bloating the JavaFX API. It likely makes more sense to use the MediaInfo project with some JNA bindings (you can p

Re: Doubts on KeyCode

2015-03-30 Thread Scott Palmer
If I recall correctly there is one keycode named PLUS and another named ADD. One of them refers to the numeric keypad. Scott > On Mar 30, 2015, at 6:58 AM, Tom Schindl wrote: > > hi, > > suppose you have the following code: > >> package application; >> >> import javafx.application.Applicati

Here's a interest one: Layout has stopped happening in my app

2015-03-29 Thread Scott Palmer
Running 8u40: I was running a long-term test to reproduce a leak that I reported earlier with ProgressBarSkin accumulating WeakReferences via some binding related to Invalidation listeners. My app has been running for 43 hours. It is currently running fine and the memory stats show the heap size

Re: Packaging a JFX app in a gradle build system

2015-03-28 Thread Scott Palmer
>> On Fri, Mar 27, 2015 at 7:27 AM, Robert Krüger wrote: >>> On Fri, Mar 27, 2015 at 12:16 AM, Scott Palmer wrote: >>> I am successfully using the javafx gradle plugin to produce a packaged app >>> on Windows and Linux. (Thanks Danno!) >>> I haven

Re: ProgressBar has significant leaks

2015-03-27 Thread Scott Palmer
Another chain to the GC root looks like: WeakReference BindingHelperObserver InvalidationListener[] ExpressionHelper$Generic Node$NodeTransformation$2 Node$NodeTransformation StackPane ProgressBarSkin ProgressBar On Fri, Mar 27, 2015 at 2:28 PM, Scott Palmer wrote: > I searched the

ProgressBar has significant leaks

2015-03-27 Thread Scott Palmer
I searched the bug database and though ProgressBar leaks have been reported before, they are supposed to be fixed in 8u40. I'm seeing tons of leaks in 8u40. Comparing heap dumps with jvisualvm I see in three minutes that my app has accumulated 11,000 WeakReference and BindingHelperObserver object

Re: Packaging a JFX app in a gradle build system

2015-03-26 Thread Scott Palmer
I am successfully using the javafx gradle plugin to produce a packaged app on Windows and Linux. (Thanks Danno!) I haven't tried much with Mac yet, but I believe it will make an application bundle. Oracle should be making this part of your day job, Danno. Who do I need to bribe? :-) Scott >

Re: Crash in Glass with 8u40

2015-03-26 Thread Scott Palmer
to say without an Apple crash dump or Java crash log. Did the crash >> produce an hs_err* file? >> > > Windows most likely (glass.dll) > > Not aware of anything reported. Keep an eye out for it happening again, > and perhaps we will get a better clue :-) > > Dave >

Crash in Glass with 8u40

2015-03-26 Thread Scott Palmer
Has anyone seen this? It's just happened once so far. I haven't figured out what triggers it. Problem Event Name: APPCRASH Application Name: java.exe Application Version: 8.0.40.25 Application Timestamp: 54daf0c7 Fault Module Name: glass.dll Fault Module Version: 8.0.40.25 Fault Modul

Re: The trouble with Skins

2015-03-21 Thread Scott Palmer
I would have no problem > having a paging skin or a scrollbar skin for ListView. > > > >> On 21-3-2015 19:46, Scott Palmer wrote: >> But that's not right. A *List* is 'a container for an unbounded list of >> items". A ListView is a specific type

Re: The trouble with Skins

2015-03-21 Thread Scott Palmer
But that's not right. A *List* is 'a container for an unbounded list of items". A ListView is a specific type of control that gives you a view to that list *in a specific way*. It has properties in addition to the list itself. It *should* have a scroll position because that is a property of

Re: Media player maturity (on Mac)

2015-03-11 Thread Scott Palmer
Now that you mention this, I remember having a problem with JavaFX audio on my Mac - where I believe playback wasn't working at all, and that was also resolved with a reboot. That was some time ago, with an older version of FX and the OS for that matter. Scott > On Mar 11, 2015, at 6:42 AM, Ro

Re: Media player maturity (on Mac)

2015-03-09 Thread Scott Palmer
As you have discovered, the JavaFX media support isn't quite where it needs to be. That said, the JavaFX team is putting in the effort to make JavaFX better with every release. Please do file that bug report! (This kind of issue is sure to get addressed faster than my request to make the media

Re: 8u40 is released / SB

2015-03-05 Thread Scott Palmer
I would never consider for a second coding FXML "directly". I have only tweaked it by hand occasionally after creating it with SceneBuilder. SB is an important selling point for JavaFX and should be included in the JDK, it shouldn't even be a separate download. Scott > On Mar 5, 2015, at 3:19

Re: Selection Events v. Focus Events - order is broken in JavaFX 8?

2015-02-10 Thread Scott Palmer
us lost or enter pressed. Scott On Tue, Feb 10, 2015 at 10:47 AM, Tomas Mikula wrote: > Hi Scott, > > whether that behavior is a bug in JavaFX 8 or not, why not commit on > focus lost *or* selection change? Less assumptions means more robust > code. > > Regards, > Tomas

Selection Events v. Focus Events - order is broken in JavaFX 8?

2015-02-10 Thread Scott Palmer
I have a custom field (my own formatted field done in JavaFX 2.2) bound to a property of the selected row in a TableView. My control commits an edit on focus lost. This works on JavaFX 2.2 but fails on JavaFX 8. After a bit of debugging I discovered why. The way to reproduce the problem was to ty

Re: Event Filtering

2015-02-09 Thread Scott Palmer
replaceText and/or > TextInputControl#replaceSelection to convert lowercase into uppercase. I have > used it for exactly this purpose. > > Werner > >> On 07.02.2015 01:33, Scott Palmer wrote: >> But let's say that I want to allow the user to type lowercase letters and >> ha

Re: Event Filtering

2015-02-07 Thread Scott Palmer
> On Feb 7, 2015, at 11:36 AM, Tomas Mikula wrote: > >> On Fri, Feb 6, 2015 at 8:45 PM, Scott Palmer wrote: >> >>>> On Feb 6, 2015, at 8:21 PM, Tomas Mikula wrote: >>>> >>>> On Fri, Feb 6, 2015 at 7:33 PM, Scott Palmer wrote: >>

Re: Event Filtering

2015-02-06 Thread Scott Palmer
> On Feb 6, 2015, at 8:21 PM, Tomas Mikula wrote: > >> On Fri, Feb 6, 2015 at 7:33 PM, Scott Palmer wrote: >> Is it possible to modify the event in an event filter or otherwise tweak >> the event that is ultimately received by the target? >> >> >>

Event Filtering

2015-02-06 Thread Scott Palmer
Is it possible to modify the event in an event filter or otherwise tweak the event that is ultimately received by the target? Let's say I have a TextField and I only want to allow typing of capital letters. That is easy enough to enforce with an event filter.. if the KeyTyped event doesn't repres

Re: Path Rendering in 8u40

2015-01-27 Thread Scott Palmer
the smooth flag (it's a rasterization hint) but now > honor it and disable AA if set to false. > > -- Kevin > > > > Scott Palmer wrote: > >> I'm seeing a regression where Paths are not rendered with anti-aliasing on >> 8u40. On 8u20 they are fine.

Path Rendering in 8u40

2015-01-27 Thread Scott Palmer
I'm seeing a regression where Paths are not rendered with anti-aliasing on 8u40. On 8u20 they are fine. There are also glitches in SVG Paths from CSS. The SVG paths are smooth, but the end points are different and they have 'kinks'. There is also a difference in the position of my "arrowhead" o

Re: Scroll events fired in TableView although there is nothing to scroll

2015-01-24 Thread Scott Palmer
You are probably only seeing the event when the TableView's internal ScrollPane doesn't consume it. Scott > On Jan 24, 2015, at 11:50 AM, Robert Krüger wrote: > > Hi, > > yes, I just now realized that setOnScroll is Node API and not TableView so > I obviously sent my Mail too early. > > Sorr

Re: SplitPane layout question

2014-12-22 Thread Scott Palmer
The min/max sizes of the children are probably being respected. Scott > On Dec 22, 2014, at 7:13 AM, Florian Brunner wrote: > > Hi, > > Sometimes when I'm setting the divider positions of a SplitPane > programmatically my value get overridden again by some JavaFX internal layout > code. >

Re: Understanding Layout

2014-12-19 Thread Scott Palmer
t; Hi Scott, > > On 18.12.2014 22:49, Scott Palmer wrote: > >> Short Version: >> >> Is there good documentation on how JavaFX performs layout? (Not specific >> layouts, but layout in general.) >> > Not an official documentation I'm afraid (at least I

Understanding Layout

2014-12-18 Thread Scott Palmer
Short Version: Is there good documentation on how JavaFX performs layout? (Not specific layouts, but layout in general.) Long Version: I was looking into a layout issue in ControlsFX (BreadCrumbBar width is reported incorrectly and it doesn't behave when right-aligned). What I found is that Pa

<    1   2   3   4   >