Thread: [Solved] JDownloader steals focus
View Single Post
  #20  
Old 11.06.2013, 09:30
coalado's Avatar
coalado coalado is offline
JD Manager
 
Join Date: Feb 2009
Posts: 1,988
Default



graphicaluserinterfacesettings.focustriggerforcaptchadialogs
graphicaluserinterfacesettings.mainframepopuptriggerwhennewlinkswereadded


have these options now:
  • Never,
  • mainframe_is_maximized,
  • mainframe_is_maximized_or_iconified,
  • mainframe_is_maximized_or_iconified_or_totray

graphicaluserinterfacesettings.mainframepopuptriggerwhennewlinkswereadded
you can define when the mainframe should appear based on the current mainframe window state.

If you want the mainframe not only to appear on top, but also steal the focus - enable the graphicaluserinterfacesettings.windowsrequestfocusonactivationenabled flag


graphicaluserinterfacesettings.focustriggerforcaptchadialogs
you can define when the captcha dialog should steal focus - based on the current windowstate of the mainframe.

This is tested on a windows 7 64 bit machine with a jdk1.7 the whole behaviour might be different on a different setup..please test and give feedback.




Default:


Default Values are on mainframe_is_maximized. maximized is a bit missleading. it means "everything but iconified or invisile".

So the default behaviour is: If JDownloader is minimized to tray or to taskbar, the window will not appear if new links were added. In case of a Captcha Dialog, the dialog will appear on top, but it will NOT get the focus.

IF JDownloader is not minimized, Captcha Dialogs will appear and get the focus. If new links were added, the Linkgrabber will appear on top, but it will not get the focus.



This whole window and fopcus management is complicated, and works a bit different on every system. So please test. Ask here what you want, and I'll tell you the correct settings.
__________________

Last edited by coalado; 11.06.2013 at 09:37.
Reply With Quote