dangling tab when clicking download link with target="_blank"
Bug #973646 reported by
natano
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Midori Web Browser |
Fix Released
|
Undecided
|
natano |
Bug Description
when clicking on a download link with target="_blank" a new tab opens and the save dialog appears. after selecting a choice in the save dialog the (empty) tab is still there.
Changed in midori: | |
status: | New → Confirmed |
tags: | added: review |
Changed in midori: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
You probably already know, but for the record: It's impossible to know beforehand if a URL is a website or a download. So if a link opens a new tab, it cannot be prevented in WebKit without indefinitely waiting for the full network response ie. freezing Midori or opening a tab after an unknown delay.
I appreciate your looking into it. It's slightly awkward that the view closes a tab (read: pulls itself out of the swamp) but the general idea is probably good. It'd be good to have a more specific check than "is_blank" to avoid closing unrelated tabs.
An idea that came up in IRC in relation to this patch is showing download options inside the tab, to sort of turn the flaw into a feature. I personally feel it doesn't satisfy as a solution.