View Issue Details

IDProjectCategoryView StatusLast Update
0001641Chrono Download ManagerBugpublic2018-07-11 22:05
ReporterDCoder Assigned Toadmin  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformDesktopOSWindowsOS Version10
Target Version0.10.0Fixed in Version0.10.0 
Summary0001641: Second download prompt for the same file
DescriptionI normally have the Chrono manager open in a pinned tab. After right-clicking a link in a regular tab and choosing "Download the link...", the Chrono dialog shows up as expected. But when I close that regular tab, the Chrono tab throws up another download dialog for that file.
Additional InformationThis started sometime around the time Chrome 48 was released.

I looked through the extension code and tracked this issue down to a breakdown in communication:
* the menu action sends a message to Chrono to add a new download, and expects a response.
* The message receiver code does not send a response, so Chrome invokes the response callback when cleaning up during tab close. (This behaviour is documented by Chrome, https://developer.chrome.com/extensions/messaging#simple says: "The sendMessage function's callback will be invoked automatically if no handlers return true or if the sendResponse callback is garbage-collected.")
* The response callback sees that it did not get a response, so it panics, logs a message to the console: "menu download no response", and tells Chrono to open the new task dialog again.

If this project had a repository with the original source code available, I could try and make a pull request to fix this.
TagsNo tags attached.
Chrome Version51.0.2704.103m

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2016-07-09 09:30 DCoder New Issue
2017-05-25 18:45 admin Target Version => 0.10.0
2018-07-11 21:59 admin Fixed in Version => 0.10.0
2018-07-11 22:01 admin Status new => resolved
2018-07-11 22:02 admin Status resolved => closed
2018-07-11 22:05 admin Status closed => new
2018-07-11 22:05 admin Status new => resolved
2018-07-11 22:05 admin Resolution open => fixed
2018-07-11 22:05 admin Assigned To => admin