Java 8

Glen Schrader gschrader at gmail.com
Thu Nov 27 16:27:44 UTC 2014


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 <emilian.bold at gmail.com> 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 <gschrader at gmail.com <mailto:gschrader at gmail.com>> 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 <gschrader at gmail.com <mailto:gschrader at gmail.com>> 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 <gschrader at gmail.com <mailto:gschrader at gmail.com>> 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 <roman at kennke.org <mailto:roman at kennke.org>> 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 <gschrader at gmail.com <mailto:gschrader at gmail.com>>:
> > > 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: <http://mail.openjdk.java.net/pipermail/caciocavallo-dev/attachments/20141127/6fd6cbad/attachment-0001.html>


More information about the caciocavallo-dev mailing list