Bug regarding extensions

Ask for help about FlashGot, no registration needed to post
Post Reply
Guest

Bug regarding extensions

Post by Guest »

Every time I change the used download manager in FlashGot the list of file extensions for download is cut to 8 items, the other added extensions are lost.
Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Bug regarding extensions

Post by Giorgio Maone »

That's really weird, and it's definitely not happening to me.
What download manager are you switching between?
Which extensions are listed?
Could you show me a screenshot of the extensions list?
Thanks.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
hjstehr
Posts: 2
Joined: Wed Jun 02, 2010 2:04 pm

Re: Bug regarding extensions

Post by hjstehr »

Giorgio Maone wrote:What download manager are you switching between?
Which extensions are listed?
I switch between Free Download Manager and DTA (Turbo).
The extension list:
Adblock Plus, Autofill Forms, BetterPrivacy, DownThemAll!, FlashGot, Free Download Manager Plugin (deactivated), InFormEnter, It's All Text!, Java Console, Kaspersky URL Advisor, Print/Print Preview, selectivecookiedelete, SQLite Manager, Wörterbuch Deutsch
I'm sorry but I don't know how to send a screenshot to you.
Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
hjstehr
Posts: 2
Joined: Wed Jun 02, 2010 2:04 pm

Re: Bug regarding extensions

Post by hjstehr »

I collected the lines in the prefs.js:

Start with 'DTA (Turbo)' as download manager:
user_pref("flashgot.extensions", "7z,cab,doc,exe,iso,mp3,mp4,msi,pdf");

Change to 'Free Download Manager':
user_pref("flashgot.extensions", "7z,cab,doc,exe,iso,mp3,mp4,msi");
the last extension (pdf) is lost!

'pdf' added again:
user_pref("flashgot.extensions", "7z,cab,doc,exe,iso,mp3,mp4,msi,pdf");

Change back to DTA (Turbo)
user_pref("flashgot.extensions", "7z,cab,doc,exe,iso,mp3,mp4,msi");
the last extension (pdf) is lost again!
Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Bug regarding extensions

Post by Giorgio Maone »

OK, I finally could reproduce.
It looks like a Gecko bug involving XUL lists which have not being displayed yet, whose getRowCount() method seems to report only the "visible" lines count, rather than all them as documented.

Switching download managers have no influence, but opening the FlashGot Options dialog and hitting the "OK" button without displaying the "Downloads" tab does repeatably cut the extensions list to 8 (the lines fitting into the list viewport without scrolling).

I'm gonna implement a work-around in next dev build, and file a bug against Mozilla's bug tracker.

Thank you.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Bug regarding extensions

Post by therube »

(Had never even realized that file type extensions were kept per download manager.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.14) Gecko/20100930 SeaMonkey/2.0.9
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Bug regarding extensions

Post by Giorgio Maone »

therube wrote:(Had never even realized that file type extensions were kept per download manager.)
It doesn't, in fact.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Bug regarding extensions

Post by therube »

Heh. OK, I get it now.
When I first read through his posting, I thought he was showing extensions per download manager.

Now I realize that he was just showing the extensions list as it changed when changing download managers.
Duh!
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.14) Gecko/20100930 SeaMonkey/2.0.9
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Bug regarding extensions

Post by Giorgio Maone »

Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11
Post Reply