Re: NB 8.2 Issues
"benno.markiewicz" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
Mmh. But this splash.png must be included somewhere in jar of the target platform. Den 5 okt. 2016 4:04 em skrev Steven Yi <[email protected]>: > > Hi Benno, > > Thanks for the reply. My images are named the same as they have > always been and for which they worked in previous platforms. If > something changed that requires new image names I'd consider this a > regression. > > However, my theme, while dark in nature, does not come up as a dark > look and feel (I don't set "nb.dark.theme"). Setting breakpoints in > Splash and ImageUtilities confirms that those code paths for dark > image loading are not used. > > An interesting point is that the image I am seeing for the splash and > about screen is precisely the one shown in that wiki link. > > It would be simpler if the problem was that I only saw one image (the > dev one), but what I'm seeing is the dev one first appear, then my own > image, on startup. For the about screen, I only see the dev image. > > I do see something interesting: in org.netbeans.core.startup.Splash, there is: > > if (!s.exists("splash.png")) { > s.scheduleSave(this, "splash.png", false); > } > > Looking in my test user directory, in the cache is indeed a splash.png > with the dev image. > > I looked through the commit > (http://hg.netbeans.org/main-silver/rev/121baf524946) but nothing > there seems like it would cause this behavior. > > I also checked that the contents of the core_{BRANDING}.jar contains > my images and it does, which hints to me that the build process is > working alright. > > > On Wed, Oct 5, 2016 at 2:11 AM, benno.markiewicz > <[email protected]> wrote: > > Steven, check http://wiki.netbeans.org/DevFaqImagesForDarkLaf > > > > 1)I contributed a change regarding image loading for dark lafs in 8.2. Perhaps your icons are not properly named... > > 2) Check the sources of NB. There won't be so much splashscreen images. In worst case, brand the unwanted one also. Den 5 okt. 2016 1:19 fm skrev Steven Yi <[email protected]>: > >> > >> Hi All, > >> > >> I updated to NB 8.2 just now and gave my Ant-based platform > >> application a try on it. I'm seeing two issues at the moment: > >> > >> 1. The icons for my application (visible in Branding dialog, also > >> located within branding folder) do not seem to get applied in the > >> build. (Cleaning and rebuilding with 8.1 does work fine.) > >> > >> 2. When I go to run the application within the IDE, for the splash > >> screen, I first see a Netbeans IDE image that says "Netbeans Platform > >> Development Version" appear, then as the progress occurs on load, my > >> own splash screen image appears with the progress bar. > >> > >> Both issues exhibit themselves when I generate a release build and > >> execute the release version of the application. > >> > >> Are others seeing these behaviors too? > >> > >> steven