Thread: [Solved] restore from tray issues
View Single Post
  #1  
Old 18.02.2016, 15:45
maxmaster maxmaster is offline
Bandwidth Beast
 
Join Date: Dec 2014
Posts: 139
Default restore from tray issues

For Tray-settings see tray1.png

For bug-description see below.

With these settings, after a fresh start of JD2, when minimizing JD2 to tray it and then restoring it, the window-size is completely wrong, see tray2.png.

After resizing/maximizing the window, minimizing to tray and restoring it, the size of the restored window is fine until JD2 is closed.

For every new session, the window-size is wrong after restoring JD2 from tray for the first time.

Logs show no error or any other message.

Happening since yesterday (Feb 17).



EDIT:
Build Thu Feb 18 16:48:45 CET 2016 broke the restore in a different way.
Minimizing to tray right after starting JD2, it is not possible to restore the window at all.

Only when I switch panes before minimizing the first time, e.g. from Downloads to LinkGrabber, then restoring from tray works and the window has the proper size, too. One bug exchanged for another.

Log.L.log:
Code:
--ID:22TS:1455817335934-2/18/16 6:42:15 PM -  [] -> java.lang.NullPointerException
	at jd.gui.swing.jdgui.JDGui$36.edtRun(JDGui.java:1740)
	at org.appwork.utils.swing.EDTHelper.run(EDTHelper.java:119)
	at org.appwork.utils.swing.EDTHelper.start(EDTHelper.java:154)
	at org.appwork.utils.swing.EDTHelper.start(EDTHelper.java:139)
	at jd.gui.swing.jdgui.JDGui.setWindowToTray(JDGui.java:1725)
	at org.jdownloader.gui.jdtrayicon.TrayExtension.mousePressed(TrayExtension.java:424)
	at org.jdownloader.gui.jdtrayicon.TrayMouseAdapter.mousePressed(TrayMouseAdapter.java:184)
	at java.awt.TrayIcon.processMouseEvent(Unknown Source)
	at java.awt.TrayIcon.processEvent(Unknown Source)
	at java.awt.TrayIcon.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$300(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
Gui.log:
Code:
--ID:22TS:1455817335933-2/18/16 6:42:15 PM -  [jd.gui.swing.jdgui.JDGui$36(edtRun)] -> Reset frame to 
null
Attached Images
File Type: png tray1.png (10.8 KB, 55 views)
File Type: png tray2.png (26.8 KB, 43 views)

Last edited by maxmaster; 18.02.2016 at 19:00.
Reply With Quote