Closed DominicWatson closed 8 years ago
This is looking pretty good!
It adds like 1.2 megs to the download (mostly for JNA), which is a little rough, but I think worth it.
Especially if we can get the "Notify" library from dorkbox to work as well, which uses the same JNA dependency and is itself tiny-- as it will do some nice message stuff which is better than the old message stuff, and can be used for tooltip-ish things too, if we need/want them back. (I tried Notify but got a noClassDef error, so filed a ticket.)
Ah shame, yes - I just gave it a whirl and saw that it compiled but then broke at runtime. Having that working would be great.
https://github.com/dorkbox/Notify/issues/2 For reference (no response on that ticket as yet).
@denuno would lack of notifications be a showstopper for you? I personally wouldn't miss them but understand that others may not feel the same way.
Nope, I see tooltips as a nice-to-have. The notifications make the meg of added dependencies easier to swallow, but I could see us doing a bit more native stuff in the future-- plus hopefully that ticket will get closed, so I say we go for it, and see about notifications and whatnot later on.
:+1: (I previously commented here that I could not reproduce and had a different error - but actually fixing that error then gave me the same error you found). fwiw, the error I had was missing "/resources/dialog-warning.png" so I added the pngs to the build).
I went ahead and merged this in, with a couple tweaks (theoretically the Notify stuff will work as soon as that class is found, plus it looks like input streams need a cache attribute or else new images are always created) to develop. I'm going to run a couple more tests, and verify I've fixed a couple other issues, and then push develop out to master. So this will be in the next stable-- I'm already digging the transparent background. :-)
Sweet. Yeah, its so much better and for me, doesn't crash sporadically so completely transforms my experience.
Addresses #24.
I don't think this is ready to be merged yet. A couple of issues:
getIconImage()
method to makesetIconImage()
due to the new library not taking anImage
object to set the icon while the code that sets the Apple Dock icon does need the image. Was using just a text editor and offline so couldn't explore what methods were available on theImage
object to turn it into an InputStream or somesuch.Has not yet been tested on Windows, OSX or any other desktop environment other than Cinnamon.