"Show icon and notifications" needs to be set on every new instance of
What steps will reproduce the problem?
What is the expected output? What do you see instead?
I expect a new instance of DocFetcher to show the icon in the taskbar, as
opposed to being hidden.
What version of the product are you using? On what operating system?
Windows 7 64-bit (I am using the bat file to launch a 32-bit version of Java)
The problem does not only occur by exiting DocFetcher. If I launch DocFetcher,
then minimize it to the tray and set the notification area settings to "Always
show all icons and notifications on the taskbar", and then restore the window,
and then minimize it to the tray again, it will be hidden.
Please give the newer beta versions of DocFetcher a try. The betas should run
with 64-bit Java without problems, so the DocFetcher.bat won't be needed.
Maybe that'll fix this issue.
I gave beta 4 a try a few days ago, and it did not fix the issue. I also tried
using a newer version of the GUI library along with 1.0.3 and that did not
I believe that the issue might be related to Java, not with DocFetcher
particularly. I can't find specific details on how the Windows notification
Well, if it's a Java problem (and that's likely the case here), then I'm
afraid there isn't much I can do about it.
Btw, beta 5 was released just an hour or so ago. beta 4 had a super-serious
bug that made searching impossible.
I looked at an SWT example snippet at:
I did not have the problem with their code. Setting "Show icon and
notifications" is retained for new instances of the program. At first I
thought the problem might be caused when a TrayItem is not declared final.
However, I tried changing this in their code and the notification area
settings were still retained.
I believe the problem occurs in DocFetcher because a new TrayItem is created
every time the program is minimized. Here is a solution that fixes the problem
in 1.0.3 by creating the TrayItem only once, and then toggling it using the
In my brief testing, doing it this way makes the "Show icon and notifications"
settings retained both for
1) minimizing and restoring and then minimizing the same instance of
2) closing DocLauncher completely and relaunching
Well, then I guess I could add this bugfix to the 1.1 beta source code when I
have time. (The 1.0.3 source code is not maintained anymore, btw.)
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.