From gschrader at gmail.com Mon Nov 24 23:12:43 2014 From: gschrader at gmail.com (Glen Schrader) Date: Mon, 24 Nov 2014 16:12:43 -0700 Subject: Java 8 Message-ID: Anyone still around here? I'm wondering if anyone is using cacio with JDK 1.8, I'm just in the process of upgrading one of our projects and have some tests that are now failing with some focus issues. I'm wondering if anyone else is seeing any issues before I start to dig in. -------------- next part -------------- An HTML attachment was scrubbed... URL: From neugens.limasoftware at gmail.com Mon Nov 24 23:29:28 2014 From: neugens.limasoftware at gmail.com (Mario Torre) Date: Tue, 25 Nov 2014 00:29:28 +0100 Subject: Java 8 In-Reply-To: References: Message-ID: Hi Glenn, I still have to find time to port to OpenJKD8, there have been some changes so I first need to port Cacio to the latest 7u and then port to 8, unfortunately I didn't have much time for that yet. Cheers, Mario 2014-11-25 0:12 GMT+01:00 Glen Schrader : > Anyone still around here? I'm wondering if anyone is using cacio with JDK > 1.8, I'm just in the process of upgrading one of our projects and have some > tests that are now failing with some focus issues. I'm wondering if anyone > else is seeing any issues before I start to dig in. -- pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF Fingerprint: BA39 9666 94EC 8B73 27FA FC7C 4086 63E3 80F2 40CF Java Champion - Blog: http://neugens.wordpress.com - Twitter: @neugens Proud GNU Classpath developer: http://www.classpath.org/ OpenJDK: http://openjdk.java.net/projects/caciocavallo/ Please, support open standards: http://endsoftpatents.org/ From roman at kennke.org Tue Nov 25 12:55:52 2014 From: roman at kennke.org (Roman Kennke) Date: Tue, 25 Nov 2014 13:55:52 +0100 Subject: Java 8 In-Reply-To: References: Message-ID: <1416920152.6080.10.camel@localhost> Hi there, there probably have been some API changes in AWT from 7 -> 8 (and from 8 -> 9), and cacio needs to be kept in sync with those. It would be the best solution to integrate cacio as a sort of internal API/feature into OpenJDK, that would make it much easier to maintain. If that is not possible, we'd need to have branches for each JDK versions I think. Roman Am Dienstag, den 25.11.2014 um 00:29 +0100 schrieb Mario Torre: > Hi Glenn, > > I still have to find time to port to OpenJKD8, there have been some > changes so I first need to port Cacio to the latest 7u and then port > to 8, unfortunately I didn't have much time for that yet. > > Cheers, > Mario > > 2014-11-25 0:12 GMT+01:00 Glen Schrader : > > Anyone still around here? I'm wondering if anyone is using cacio with JDK > > 1.8, I'm just in the process of upgrading one of our projects and have some > > tests that are now failing with some focus issues. I'm wondering if anyone > > else is seeing any issues before I start to dig in. > > > From gschrader at gmail.com Wed Nov 26 17:52:06 2014 From: gschrader at gmail.com (Glen Schrader) Date: Wed, 26 Nov 2014 10:52:06 -0700 Subject: Java 8 In-Reply-To: <1416920152.6080.10.camel@localhost> References: <1416920152.6080.10.camel@localhost> Message-ID: Looks to be some API changes even from later 7 builds, I guess I've been lucky that things work as well as they do. I've hacked together a patch with a test that triggers my issue (with a JIDE popup component). The JIDE popup creates a new JWindow that probably is stealing the focus, so this might be similar to the focus issue I was having a couple of years ago. I've also modified the code so things will compile under JDK 8, I'm sure what I did probably isn't correct though as I've only created empty methods to satisfy the new interface methods. I'll continue to poke around to see if I can track it down. Thanks, Glen On Tue, Nov 25, 2014 at 5:55 AM, Roman Kennke wrote: > Hi there, > > there probably have been some API changes in AWT from 7 -> 8 (and from 8 > -> 9), and cacio needs to be kept in sync with those. It would be the > best solution to integrate cacio as a sort of internal API/feature into > OpenJDK, that would make it much easier to maintain. If that is not > possible, we'd need to have branches for each JDK versions I think. > > Roman > > Am Dienstag, den 25.11.2014 um 00:29 +0100 schrieb Mario Torre: > > Hi Glenn, > > > > I still have to find time to port to OpenJKD8, there have been some > > changes so I first need to port Cacio to the latest 7u and then port > > to 8, unfortunately I didn't have much time for that yet. > > > > Cheers, > > Mario > > > > 2014-11-25 0:12 GMT+01:00 Glen Schrader : > > > Anyone still around here? I'm wondering if anyone is using cacio with > JDK > > > 1.8, I'm just in the process of upgrading one of our projects and have > some > > > tests that are now failing with some focus issues. I'm wondering if > anyone > > > else is seeing any issues before I start to dig in. > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: jidefocusissue.patch Type: application/octet-stream Size: 9065 bytes Desc: not available URL: From gschrader at gmail.com Wed Nov 26 22:01:18 2014 From: gschrader at gmail.com (Glen Schrader) Date: Wed, 26 Nov 2014 15:01:18 -0700 Subject: Java 8 In-Reply-To: References: <1416920152.6080.10.camel@localhost> Message-ID: Here is an updated patch that passes my test, it basically doesn't fire the focus gain/lost events in FocusManager if the the new window isn't focusable, I'm not sure if there is a cleaner way to handle this... On Wed, Nov 26, 2014 at 10:52 AM, Glen Schrader wrote: > Looks to be some API changes even from later 7 builds, I guess I've been > lucky that things work as well as they do. I've hacked together a patch > with a test that triggers my issue (with a JIDE popup component). The JIDE > popup creates a new JWindow that probably is stealing the focus, so this > might be similar to the focus issue I was having a couple of years ago. > > I've also modified the code so things will compile under JDK 8, I'm sure > what I did probably isn't correct though as I've only created empty methods > to satisfy the new interface methods. > > I'll continue to poke around to see if I can track it down. > > Thanks, > Glen > > > > On Tue, Nov 25, 2014 at 5:55 AM, Roman Kennke wrote: > >> Hi there, >> >> there probably have been some API changes in AWT from 7 -> 8 (and from 8 >> -> 9), and cacio needs to be kept in sync with those. It would be the >> best solution to integrate cacio as a sort of internal API/feature into >> OpenJDK, that would make it much easier to maintain. If that is not >> possible, we'd need to have branches for each JDK versions I think. >> >> Roman >> >> Am Dienstag, den 25.11.2014 um 00:29 +0100 schrieb Mario Torre: >> > Hi Glenn, >> > >> > I still have to find time to port to OpenJKD8, there have been some >> > changes so I first need to port Cacio to the latest 7u and then port >> > to 8, unfortunately I didn't have much time for that yet. >> > >> > Cheers, >> > Mario >> > >> > 2014-11-25 0:12 GMT+01:00 Glen Schrader : >> > > Anyone still around here? I'm wondering if anyone is using cacio >> with JDK >> > > 1.8, I'm just in the process of upgrading one of our projects and >> have some >> > > tests that are now failing with some focus issues. I'm wondering if >> anyone >> > > else is seeing any issues before I start to dig in. >> > >> > >> > >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: jidefocusissue.patch Type: application/octet-stream Size: 11973 bytes Desc: not available URL: From gschrader at gmail.com Wed Nov 26 22:37:58 2014 From: gschrader at gmail.com (Glen Schrader) Date: Wed, 26 Nov 2014 15:37:58 -0700 Subject: Java 8 In-Reply-To: References: <1416920152.6080.10.camel@localhost> Message-ID: No sooner did I get this working but found another case when there is actually a focusable component in the popup where this fails. So I'd say there is something wrong with how focus is being tracked. I'll see if I can come up with another test case. On Wed, Nov 26, 2014 at 3:01 PM, Glen Schrader wrote: > Here is an updated patch that passes my test, it basically doesn't fire > the focus gain/lost events in FocusManager if the the new window isn't > focusable, I'm not sure if there is a cleaner way to handle this... > > > > On Wed, Nov 26, 2014 at 10:52 AM, Glen Schrader > wrote: > >> Looks to be some API changes even from later 7 builds, I guess I've been >> lucky that things work as well as they do. I've hacked together a patch >> with a test that triggers my issue (with a JIDE popup component). The JIDE >> popup creates a new JWindow that probably is stealing the focus, so this >> might be similar to the focus issue I was having a couple of years ago. >> >> I've also modified the code so things will compile under JDK 8, I'm sure >> what I did probably isn't correct though as I've only created empty methods >> to satisfy the new interface methods. >> >> I'll continue to poke around to see if I can track it down. >> >> Thanks, >> Glen >> >> >> >> On Tue, Nov 25, 2014 at 5:55 AM, Roman Kennke wrote: >> >>> Hi there, >>> >>> there probably have been some API changes in AWT from 7 -> 8 (and from 8 >>> -> 9), and cacio needs to be kept in sync with those. It would be the >>> best solution to integrate cacio as a sort of internal API/feature into >>> OpenJDK, that would make it much easier to maintain. If that is not >>> possible, we'd need to have branches for each JDK versions I think. >>> >>> Roman >>> >>> Am Dienstag, den 25.11.2014 um 00:29 +0100 schrieb Mario Torre: >>> > Hi Glenn, >>> > >>> > I still have to find time to port to OpenJKD8, there have been some >>> > changes so I first need to port Cacio to the latest 7u and then port >>> > to 8, unfortunately I didn't have much time for that yet. >>> > >>> > Cheers, >>> > Mario >>> > >>> > 2014-11-25 0:12 GMT+01:00 Glen Schrader : >>> > > Anyone still around here? I'm wondering if anyone is using cacio >>> with JDK >>> > > 1.8, I'm just in the process of upgrading one of our projects and >>> have some >>> > > tests that are now failing with some focus issues. I'm wondering if >>> anyone >>> > > else is seeing any issues before I start to dig in. >>> > >>> > >>> > >>> >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From neugens.limasoftware at gmail.com Thu Nov 27 00:11:59 2014 From: neugens.limasoftware at gmail.com (Mario Torre) Date: Thu, 27 Nov 2014 01:11:59 +0100 Subject: Java 8 In-Reply-To: References: <1416920152.6080.10.camel@localhost> Message-ID: 2014-11-26 18:52 GMT+01:00 Glen Schrader : > Looks to be some API changes even from later 7 builds, I guess I've been > lucky that things work as well as they do. Most of the build failures are about specifics of AWT, while Cacio is an AWT toolkit implementation I think your main use cases are about Swing, so things keep working :) We're also using it extensively in Thermostat, but yeah, this is not a justification in not fixing it! > I've hacked together a patch > with a test that triggers my issue (with a JIDE popup component). The JIDE > popup creates a new JWindow that probably is stealing the focus, so this > might be similar to the focus issue I was having a couple of years ago. > > I've also modified the code so things will compile under JDK 8, I'm sure > what I did probably isn't correct though as I've only created empty methods > to satisfy the new interface methods. Thanks! I don't remember if you signed the OCA already, did you? Cheers, Mario -- pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF Fingerprint: BA39 9666 94EC 8B73 27FA FC7C 4086 63E3 80F2 40CF Java Champion - Blog: http://neugens.wordpress.com - Twitter: @neugens Proud GNU Classpath developer: http://www.classpath.org/ OpenJDK: http://openjdk.java.net/projects/caciocavallo/ Please, support open standards: http://endsoftpatents.org/ From emilian.bold at gmail.com Thu Nov 27 10:09:09 2014 From: emilian.bold at gmail.com (Emilian Bold) Date: Thu, 27 Nov 2014 12:09:09 +0200 Subject: Java 8 In-Reply-To: References: <1416920152.6080.10.camel@localhost> Message-ID: @glen: we found regressions in JidePopup itself with Java 7. So you should check it's not a JIDE bug first. --emi On Thu, Nov 27, 2014 at 12:37 AM, Glen Schrader wrote: > No sooner did I get this working but found another case when there is > actually a focusable component in the popup where this fails. So I'd say > there is something wrong with how focus is being tracked. I'll see if I > can come up with another test case. > > On Wed, Nov 26, 2014 at 3:01 PM, Glen Schrader > wrote: > >> Here is an updated patch that passes my test, it basically doesn't fire >> the focus gain/lost events in FocusManager if the the new window isn't >> focusable, I'm not sure if there is a cleaner way to handle this... >> >> >> >> On Wed, Nov 26, 2014 at 10:52 AM, Glen Schrader >> wrote: >> >>> Looks to be some API changes even from later 7 builds, I guess I've been >>> lucky that things work as well as they do. I've hacked together a patch >>> with a test that triggers my issue (with a JIDE popup component). The JIDE >>> popup creates a new JWindow that probably is stealing the focus, so this >>> might be similar to the focus issue I was having a couple of years ago. >>> >>> I've also modified the code so things will compile under JDK 8, I'm sure >>> what I did probably isn't correct though as I've only created empty methods >>> to satisfy the new interface methods. >>> >>> I'll continue to poke around to see if I can track it down. >>> >>> Thanks, >>> Glen >>> >>> >>> >>> On Tue, Nov 25, 2014 at 5:55 AM, Roman Kennke wrote: >>> >>>> Hi there, >>>> >>>> there probably have been some API changes in AWT from 7 -> 8 (and from 8 >>>> -> 9), and cacio needs to be kept in sync with those. It would be the >>>> best solution to integrate cacio as a sort of internal API/feature into >>>> OpenJDK, that would make it much easier to maintain. If that is not >>>> possible, we'd need to have branches for each JDK versions I think. >>>> >>>> Roman >>>> >>>> Am Dienstag, den 25.11.2014 um 00:29 +0100 schrieb Mario Torre: >>>> > Hi Glenn, >>>> > >>>> > I still have to find time to port to OpenJKD8, there have been some >>>> > changes so I first need to port Cacio to the latest 7u and then port >>>> > to 8, unfortunately I didn't have much time for that yet. >>>> > >>>> > Cheers, >>>> > Mario >>>> > >>>> > 2014-11-25 0:12 GMT+01:00 Glen Schrader : >>>> > > Anyone still around here? I'm wondering if anyone is using cacio >>>> with JDK >>>> > > 1.8, I'm just in the process of upgrading one of our projects and >>>> have some >>>> > > tests that are now failing with some focus issues. I'm wondering >>>> if anyone >>>> > > else is seeing any issues before I start to dig in. >>>> > >>>> > >>>> > >>>> >>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From neugens.limasoftware at gmail.com Thu Nov 27 10:57:22 2014 From: neugens.limasoftware at gmail.com (Mario Torre) Date: Thu, 27 Nov 2014 11:57:22 +0100 Subject: Java 8 In-Reply-To: <1416920152.6080.10.camel@localhost> References: <1416920152.6080.10.camel@localhost> Message-ID: If I get the GTK Laf JEP approved I won't have time for that, but I'll put next into my queue and target JDK10. CacioWeb won't be able to be merged, but the Buffered Image backend can be surely done. It would be interesting to do a Wayland port as well, this seems to be the next big thing anyway. Cheers, Mario 2014-11-25 13:55 GMT+01:00 Roman Kennke : > Hi there, > > there probably have been some API changes in AWT from 7 -> 8 (and from 8 > -> 9), and cacio needs to be kept in sync with those. It would be the > best solution to integrate cacio as a sort of internal API/feature into > OpenJDK, that would make it much easier to maintain. If that is not > possible, we'd need to have branches for each JDK versions I think. > > Roman > > Am Dienstag, den 25.11.2014 um 00:29 +0100 schrieb Mario Torre: >> Hi Glenn, >> >> I still have to find time to port to OpenJKD8, there have been some >> changes so I first need to port Cacio to the latest 7u and then port >> to 8, unfortunately I didn't have much time for that yet. >> >> Cheers, >> Mario >> >> 2014-11-25 0:12 GMT+01:00 Glen Schrader : >> > Anyone still around here? I'm wondering if anyone is using cacio with JDK >> > 1.8, I'm just in the process of upgrading one of our projects and have some >> > tests that are now failing with some focus issues. I'm wondering if anyone >> > else is seeing any issues before I start to dig in. >> >> >> > > -- pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF Fingerprint: BA39 9666 94EC 8B73 27FA FC7C 4086 63E3 80F2 40CF Java Champion - Blog: http://neugens.wordpress.com - Twitter: @neugens Proud GNU Classpath developer: http://www.classpath.org/ OpenJDK: http://openjdk.java.net/projects/caciocavallo/ Please, support open standards: http://endsoftpatents.org/ From gschrader at gmail.com Thu Nov 27 16:27:44 2014 From: gschrader at gmail.com (Glen Schrader) Date: Thu, 27 Nov 2014 09:27:44 -0700 Subject: Java 8 In-Reply-To: References: <1416920152.6080.10.camel@localhost> Message-ID: <5A25A869-8B16-4069-A0F5-38DBDA8A3013@gmail.com> The popups seem to work fine (in both Java 7 and 8) for us, i.e. the tests pass when not using cacio. I was able to workaround the Jide issue by using lightweight popups. JidePopupFactory.setPopupType(JidePopup.LIGHT_WEIGHT_POPUP) > On Nov 27, 2014, at 3:09 AM, Emilian Bold wrote: > > @glen: we found regressions in JidePopup itself with Java 7. So you should check it's not a JIDE bug first. > > --emi > > On Thu, Nov 27, 2014 at 12:37 AM, Glen Schrader > wrote: > No sooner did I get this working but found another case when there is actually a focusable component in the popup where this fails. So I'd say there is something wrong with how focus is being tracked. I'll see if I can come up with another test case. > > On Wed, Nov 26, 2014 at 3:01 PM, Glen Schrader > wrote: > Here is an updated patch that passes my test, it basically doesn't fire the focus gain/lost events in FocusManager if the the new window isn't focusable, I'm not sure if there is a cleaner way to handle this... > > > > On Wed, Nov 26, 2014 at 10:52 AM, Glen Schrader > wrote: > Looks to be some API changes even from later 7 builds, I guess I've been lucky that things work as well as they do. I've hacked together a patch with a test that triggers my issue (with a JIDE popup component). The JIDE popup creates a new JWindow that probably is stealing the focus, so this might be similar to the focus issue I was having a couple of years ago. > > I've also modified the code so things will compile under JDK 8, I'm sure what I did probably isn't correct though as I've only created empty methods to satisfy the new interface methods. > > I'll continue to poke around to see if I can track it down. > > Thanks, > Glen > > > > On Tue, Nov 25, 2014 at 5:55 AM, Roman Kennke > wrote: > Hi there, > > there probably have been some API changes in AWT from 7 -> 8 (and from 8 > -> 9), and cacio needs to be kept in sync with those. It would be the > best solution to integrate cacio as a sort of internal API/feature into > OpenJDK, that would make it much easier to maintain. If that is not > possible, we'd need to have branches for each JDK versions I think. > > Roman > > Am Dienstag, den 25.11.2014 um 00:29 +0100 schrieb Mario Torre: > > Hi Glenn, > > > > I still have to find time to port to OpenJKD8, there have been some > > changes so I first need to port Cacio to the latest 7u and then port > > to 8, unfortunately I didn't have much time for that yet. > > > > Cheers, > > Mario > > > > 2014-11-25 0:12 GMT+01:00 Glen Schrader >: > > > Anyone still around here? I'm wondering if anyone is using cacio with JDK > > > 1.8, I'm just in the process of upgrading one of our projects and have some > > > tests that are now failing with some focus issues. I'm wondering if anyone > > > else is seeing any issues before I start to dig in. > > > > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: