Presentation Screenshots Download Support Development Forum    
   

Welcome to the Community Forum.

Here you can discuss with other users or with the author, suggest new features, report bugs, ask for filters creation or correction, etc. Select the forum you wish to read or post below :

Forum
Forum > General discussion > Stuck at 'Save image' dialog

Pages : [1] Add a reply
User info Stuck at 'Save image' dialog
lordschmatt
Avatar
Oct 8 2014, 7:07 pm
Hello again :)

First off thanks for still maintaining the project, it's very useful to me.

I, once again, have a fresh install and can't get ASF to work. It's stuck at the 'Save Image' dialog..
Firefox is set to always ask for any download and any filetype
Settings & Filter:



Thanks for the assistance!

edit: I'm aware that I've had the same problem a while ago, but the reboot, which helped then doesn't help anymore..
Post #1
Edit
Cyan
Avatar
Oct 13 2014, 6:30 pm
Hello :)


Your settings seem fine.
so maybe it's an issue with your Firefox version? which one are you using?
I'm currently on v31 and it works fine.
I tested nightly build v35 and it has an issue with detecting Private browsing, as a result it stopped working.


when you say you are stuck, what does it mean?
the prompt doesn't set the path automatically to the correct folder, or the dialog is not accepted automatically?

When using right-click, it can't automatically accept the download, only the "what firefox should do with this file" dialog can be auto-accepted.
Post #2
Edit
lordschmatt
Avatar
Oct 13 2014, 8:14 pm
hi! :)

I'm on using 32.0.3.. Did they really change something crucial again ~_~'?

By stuck I mean that the 'save image' dialog isn't automatically accepted and the path isn't set to the correct folder.

Neither "what firefox should do with this file", nor Save image is accepted automatically..

(some random zip for demonstration)




I really appreciate your hard work and effort Cyan!
Post #3
Edit
Cyan
Avatar
Oct 14 2014, 6:55 pm
From the look of your screenshots, Automatic Save folder is not loaded (because it broke again .. Nooooo!)
so, the issue starts from Firefox 32?

I don't have time to work on it correctly, with all the changes they did since firefox 7, I would require to code it from scratch again to make a proper release. Soon they will disable the old setting's access functions, I'll have to recode it to use the new functions.


I'll see if I can fix the Private browsing detection issue.
until then, please try this build:
http://asf.mangaheart.org/xpi/test/automatic_save_folder-1.0.5bRev0128test.xpi

I did a very bad fix : I disabled Private browsing detection. If you depend on this feature, don't use this version ;)
It still is r128, I didn't increment version number.


Tell me if it works, so I know that there's only one issue.
If it doesn't work, then you have a new issue I didn't find yet, and I would like to see your console's log to find what's wrong.
Post #4
Edit
lordschmatt
Avatar
Oct 15 2014, 7:28 pm
good f*ck.. feels like they drastically change the behavior in every second version.. ¬¬

installed - restarted - the issue still is the same.. I just opened up the console, tried to download an image, and it seems that the filter works fine!

#############################
Automatic Save Folder :
These data will be used to verify the filters :
Filename: idSDolM.jpg
Domain test order: 1,5
1 - File's domain: http://i.imgur.com
2 - File's URL: http://i.imgur.com/
3 - Full file's URL: http://i.imgur.com/idSDolM.jpg
4 - Page's domain: http://i.imgur.com
5 - Page's URL: http://i.imgur.com/idSDolM.jpg
6 - Page's referrer:
7 - Tab's URL content: i.imgur.com/idSDolM.jpg
8 - Tab's group name:
Automatic Save Folder :
Filter 0 matched domain type : 1
Automatic Save Folder :
Filter 0 is matching both domain and filename.
Domain: *
Filename: .*\.(jpg|png|jpeg)$
Folder: D:\Downloads\pictures
Automatic Save Folder :
save location for i.imgur.com changed to: D:\Downloads\pictures
#############################

The random .zip file i posted above produces the following output in the console.

#############################
DEPRECATION WARNING: DownloadLastDir.getFile is deprecated. Please use getFileAsync instead.
You may find more details about this deprecation at: https://developer.mozilla.org/en-US/docs/Mozilla/JavaScript_code_modules/DownloadLastDir.jsm
chrome://asf/content/asf_download.js 1540 null
null 0 null
Deprecated.jsm:79
DEPRECATION WARNING: nsIContentPrefService is deprecated. Please use nsIContentPrefService2 instead.
You may find more details about this deprecation at: https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIContentPrefService2
resource://gre/modules/DownloadLastDir.jsm 117 DownloadLastDir.prototype.getFile
chrome://asf/content/asf_download.js 113 automatic_save_folder.main
chrome://asf/content/asf_download.js 1540 null
null 0 null
Deprecated.jsm:79
Automatic Save Folder :
These data will be used to verify the filters :
Filename: Foundation_Fieldbus_DDL_v020101_0.zip
Domain test order: 1,5
1 - File's domain: https://www.cidra.com
2 - File's URL: https://www.cidra.com/sites/default/files/document_library/
3 - Full file's URL: https://www.cidra.com/sites/default/files/document_library/Foundation_Fieldbus_DDL_v020101_0.zip
4 - Page's domain: https://www.cidra.com
5 - Page's URL: https://www.cidra.com/resource-center/foundation-fieldbus-DDL-v010101
6 - Page's referrer:
7 - Tab's URL content: https://www.cidra.com/resource-center/foundation-fieldbus-DDL-v010101
8 - Tab's group name:
Automatic Save Folder :
Filter 0 matched domain type : 1
Automatic Save Folder :
Filter 1 matched domain type : 1
NS_ERROR_NOT_AVAILABLE: Cannot call openModalWindow on a hidden window
#################################


greetings - lordschmatt
Post #5
Edit
lordschmatt
Avatar
Oct 17 2014, 11:19 am
good heavens.. I just checked out the source code, as I hoped I could be able to help you at least a little, but it's way more complex that I thought.
I've never coded anything firefox related but if I find the time to look into it, eventually get back to the code and try to contribute.

greetings..
Post #6
Edit
Cyan
Avatar
Oct 18 2014, 1:16 am
I'm sorry it still doesn't work for you :(

When I tried Firefox 35 it worked fine (as long as I removed the private browsing detection).

Thank you for the log.
I know they marked few functions as deprecated and I'll have to recode the add-on, I just always hoped it didn't break on next version.

It doesn't seem the error is related to the deprecation, but to the fact the window is hidden when ASF runs.
Maybe the auto-accept is the issue now?
Could you try to disable that option and click on the "Save" button manually? (I tested with Firefox 35 only with manual saving).
Post #7
Edit
lordschmatt
Avatar
Oct 19 2014, 8:27 am
hey cyan!
no worries.. You're doing a good job!

As it seems it really is linked to the auto-save feature.. But the save destination change doesn't work for some files (e.g. *.zip, *.exe).

Really appreciate the hard work, thanks man!
btw. how is it going with your violin playing?
Post #8
Edit
Cyan
Avatar
Oct 20 2014, 7:05 pm
I don't remember I told it on this forum :o
I stopped taking lessons. I wasn't working enough and felt I wasn't progressing fast enough to play with others in the orchestra.
I spent more time on computer than rehearsal :/


I'll try to fix ASF when I'll update my Firefox version.
For now, it works fine with v31
Post #9
Edit
lordschmatt
Avatar
Oct 26 2014, 11:47 am
haha :)
you didn't, I just got curious who the person behind this project is and checked out mangaheart.org's staff site..
Violin is pretty challenging I guess.. I couldn't even bear half a year of flute lessons..

thank you so much for all the effort!
Post #10
Edit / Delete
Pages : [1] Add a reply

Return to top