Bug #26736

Drag & Drop results in Focus Problem

Added by coalado over 6 years ago.

Status:NewStart date:04/08/2014
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:GUI
Target version:030 - Version > 2.xxx
Resolution:

Description

I wanted to report a minor bug:

When we drag and drop a link to jdownloader (from browser), jdownloader
linkgrabber takes control, its window comes forward (over browser window)
but it does not gain focus. Even though jdownloader window is now upfront,
focus stays on browser window. (Browser window's title is blue, jdownloader
window's title is grey).

So after we click "Start all downloads", we require taking browser window
to front manually. In that scenario jdownloader is now over browser window
but since it didn't take the focus and Windows OS still think browser
window is in focus and does not automatically move browser upfront when we
click on it (unless you click its header).

I drag and drop from firefox to JD directly. I think its all about
speed. If you do this (drag, drop, wait a second, click Start All
downloads button) SLOWLY, it works fine. But if you do it fast (drag,
drop, click start all downloads button immediately), JD window goes
front but does NOT gain focus, Firefox keeps focus.

I created a video for this so that I can demostrate it to you. In this
video, I dragged and dropped 3 times. First 2 times worked fine because
"start all downloads" button is not clicked very fast. But in the third
attempt, I clicked it fast and you can see JD window comes forward but
firefox keeps focus.

Also available in: Atom PDF