[Bug 501724] New: firefox 3.5 downloads into some weird wherever-defined directory
http://bugzilla.novell.com/show_bug.cgi?id=501724 Summary: firefox 3.5 downloads into some weird wherever-defined directory Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Firefox AssignedTo: bnc-team-mozilla@forge.provo.novell.com ReportedBy: jmatejek@novell.com QAContact: qa@suse.de Found By: --- There should be a consistent default download location across firefox versions and across distribution releases. On linux, that location should obviously be $HOME. There were some long-standing bugs in firefox that made it impossible, so i got used to downloading to $HOME/Desktop. (note that it's "Desktop" not "Plocha", "Arbeitsplatz" or "页文电子图书") And for a time, it was good. steps to reproduce: 1. do your packaging work 2. download a new version of a package with firefox (yeah, i know, should've used wget). this time it's GraphicsMagick-1.1.5.tar.bz2 3. back to shell, try to copy from download location to current directory: $ cp ~/Desktop/Gra<TAB> (beep) 4. aha, so we're (finally?) back to downloading to home? $ cp ~/Gra<TAB> (beep) 5. check manually... $ ls ~ (nothing of interest) $ ls ~/Desktop (nothing of interest) 6. open firefox download window, right-click the file, show folder !!!! 7. stare in disbelief as a Nautilus window opens with a directory called "Stažené soubory" (that's "downloaded files") !!!! 8. bang head against desk see, this is why openSUSE is hacker unfriendly! well okay, this might be firefox's fault, but anyway. whose braindead idea was this? not only creating a special directory for downloads (what was wrong with downloading to $HOME? oh, i remember, poor windows users don't get to see their $HOME ... alright then what was wrong with downloading to desktop?), but localizing its name? now come on, that is just ... wtf. Additional info: all download-related settings from about:config are on their default states. i like them that way, because i tend to change location of $HOME from time to time, and i can always rely on finding my files in ~/Desktop. (well not anymore, i guess) but granted, not many people move their $HOME around -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 User wolfgang@rosenauer.org added comment http://bugzilla.novell.com/show_bug.cgi?id=501724#c1 Wolfgang Rosenauer <wolfgang@rosenauer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |wolfgang@rosenauer.org Info Provider| |jmatejek@novell.com --- Comment #1 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2009-05-07 06:01:34 MDT --- Which desktop environment do you use. I cannot reproduce with WindowMaker at least. By default all downloads go to $HOME/Downloads here. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 User jmatejek@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=501724#c2 Jan Matejek <jmatejek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|jmatejek@novell.com | --- Comment #2 from Jan Matejek <jmatejek@novell.com> 2009-05-07 06:04:21 MDT --- GNOME, latest factory everything. also my locale is cs_CZ.UTF-8, that might be it -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 User wolfgang@rosenauer.org added comment http://bugzilla.novell.com/show_bug.cgi?id=501724#c3 Wolfgang Rosenauer <wolfgang@rosenauer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |jmatejek@novell.com --- Comment #3 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2009-05-07 06:11:11 MDT --- Argl, apparently that is: https://bugzilla.mozilla.org/show_bug.cgi?id=399500 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 Wolfgang Rosenauer <wolfgang@rosenauer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|jmatejek@novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 User wolfgang@rosenauer.org added comment http://bugzilla.novell.com/show_bug.cgi?id=501724#c4 Wolfgang Rosenauer <wolfgang@rosenauer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |jmatejek@novell.com --- Comment #4 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2009-05-07 06:27:43 MDT --- My Factory installation is en-US so a bit hard to check. Could you please check if you have a file called user-dirs.dirs in your $HOME or in /etc/xdg? I don't but it's apparently the place where the download directory name is defined. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 User jmatejek@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=501724#c5 Jan Matejek <jmatejek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|jmatejek@novell.com | --- Comment #5 from Jan Matejek <jmatejek@novell.com> 2009-05-07 06:33:03 MDT --- (In reply to comment #3)
Argl, apparently that is: https://bugzilla.mozilla.org/show_bug.cgi?id=399500
ooooh i seee .... this should be probably fixed in GNOME then i'll raise this on one of the mailing lists (In reply to comment #4)
My Factory installation is en-US so a bit hard to check. Could you please check if you have a file called user-dirs.dirs in your $HOME or in /etc/xdg? I don't but it's apparently the place where the download directory name is defined.
i thought so too, but don't have those files. apparently the defaults are hardcoded somewhere -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 User wolfgang@rosenauer.org added comment http://bugzilla.novell.com/show_bug.cgi?id=501724#c6 --- Comment #6 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2009-05-07 06:40:13 MDT --- Yes, please raise it with the Gnome guys to get some input. Looking at the patch https://bug399500.bugzilla.mozilla.org/attachment.cgi?id=286149 though it really only seems to read from those config files therefore I'm a bit confused that you don't have one. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 User sbrabec@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=501724#c7 Stanislav Brabec <sbrabec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sbrabec@novell.com --- Comment #7 from Stanislav Brabec <sbrabec@novell.com> 2009-05-07 06:54:03 MDT --- I guess that it is not a bug, but a feature. Please check your xdg-user-dirs and xdg-user-dirs-gtk packages. Note: The fact that GNOME desktop does not require these packages may be considered as a bug. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 User jmatejek@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=501724#c8 --- Comment #8 from Jan Matejek <jmatejek@novell.com> 2009-05-07 07:04:04 MDT --- maybe it's not this patch after all. if i understand correctly, this should change the lookup of "Desktop" and others, but not pick any of them. if i renamed my desktop to "quickbrownfox" via xdg conf, this patch should ensure that files still save there. (and yes, my desktop is still called Desktop) this problem is originating from the place where "Desktop" default from 3.0 was changed to "Downloads" -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 User jmatejek@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=501724#c9 --- Comment #9 from Jan Matejek <jmatejek@novell.com> 2009-05-07 07:08:32 MDT --- (In reply to comment #7)
I guess that it is not a bug, but a feature. Please check your xdg-user-dirs and xdg-user-dirs-gtk packages.
Note: The fact that GNOME desktop does not require these packages may be considered as a bug.
i don't have any of those. that should mean that i don't have localized directories - if that's the case, then all is well, GNOME not requiring them (put probably suggesting) is correct, and this is a bug in firefox. if directories are still localized even though xdg-user-dirs are not present, i think that's a bug. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 User sbrabec@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=501724#c10 --- Comment #10 from Stanislav Brabec <sbrabec@novell.com> 2009-05-07 07:27:46 MDT --- Without xdg-user-dirs it should probably use English names, but I am not sure. To migrate them all to localized name, use "xdg-user-dirs-update --force". See: http://www.freedesktop.org/wiki/Software/xdg-user-dirs http://lists.freedesktop.org/archives/xdg/2007-February/007727.html -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 User jmatejek@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=501724#c11 --- Comment #11 from Jan Matejek <jmatejek@novell.com> 2009-05-07 07:39:47 MDT --- re bug: i installed xdg-user-dirs and it created the directory "Stažené" (Downloads) for me. alongside that, firefox is still downloading into "Stažené soubory" in default config. that is definitely a bug. ///////// re xdg-user-dirs: (In reply to comment #10)
Without xdg-user-dirs it should probably use English names, but I am not sure. To migrate them all to localized name, use "xdg-user-dirs-update --force".
See: http://www.freedesktop.org/wiki/Software/xdg-user-dirs http://lists.freedesktop.org/archives/xdg/2007-February/007727.html
the mail post says: "Secondly, its the approach that is easiest to opt out of (if you hate this idea) or configure as you'd like (if you have a 10 year old homedir structure)." consider me idea hater who will furiously report bugs if "enabled=False" doesn't disable the behavior ;e) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 User wolfgang@rosenauer.org added comment http://bugzilla.novell.com/show_bug.cgi?id=501724#c12 --- Comment #12 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2009-05-07 07:55:15 MDT --- Hmm, that's probably really not the xdg patch which went in. I still don't fully understand it (given that it downloads to "Downloads" for me even in my german localized Firefox) but the logic is the following: 1. try to get the download dir from XDG 2. if that fails fall back to the localized version of "Downloads" which is defined in the locale chrome used. (ha, and now I know why I didn't notice with DE: the german locale still has "Downloads" instead of any localized string!) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 User wolfgang@rosenauer.org added comment http://bugzilla.novell.com/show_bug.cgi?id=501724#c13 --- Comment #13 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2009-05-07 07:59:26 MDT --- Ok, so what should we as openSUSE do about it? It's intended upstream behaviour. We could change it to always use "Downloads" (if no xdg renaming is going on) but I'm undecided what a good solution is. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 User jmatejek@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=501724#c14 --- Comment #14 from Jan Matejek <jmatejek@novell.com> 2009-05-07 08:12:52 MDT --- okay, i can confirm that it does fetch the download dir name from xdg - in gui, it still shows "Stažené soubory", but it properly downloads to directory set by xdg. that part works correctly. i can raise some ruckus on some lists and try to convince people that xdg is an evil idea - but that's not firefox's problem. (and in fact, i like how xdg doesn't get in the way. i removed the downloads directory and it automatically adjusted and changed to $HOME) Here, i'd propose not localizing and always using "Downloads" as default. Somehow i think that people who don't run xdg-enabled desktop environment won't care about localized directories ;e) My argument is that xdg was designed to solve the localized directories problem, it works and firefox plays with it - so when not present, it should not try to be smart and use a homebrew solution (esp. when the translation in firefox differs from the xdg one, and especially so when the translated string contains a space). I don't see a good usecase where you would want the default be localized and at the same time not want xdg. and out of curiosity: why is the default now Downloads instead of Desktop? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 User wolfgang@rosenauer.org added comment http://bugzilla.novell.com/show_bug.cgi?id=501724#c15 --- Comment #15 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2009-05-08 02:22:46 MDT --- I agree that we shouldn't translate on our (FF) own but only support xdg. I'll work on a patch. The default from Desktop to Downloads seems to have changed with FF3. Quote from the code: // 'Downloads' // In 1.5, this pointed to a folder we created called 'My Downloads' // and was available as an option in the 1.5 drop down. On XP this // was in My Documents, on OSX it was in User Docs. In 2.0, we did // away with the drop down option, although the special label was // still supported for the folder if it existed. Because it was // not exposed it was rarely used. // With 3.0, a new desktop folder - 'Downloads' was introduced for // platforms and versions that don't support a default system downloads // folder. See nsDownloadManager for details. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 User wolfgang@rosenauer.org added comment http://bugzilla.novell.com/show_bug.cgi?id=501724#c16 Wolfgang Rosenauer <wolfgang@rosenauer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |jmatejek@novell.com --- Comment #16 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2009-05-08 03:49:05 MDT --- Jan, I have prepared test packages. Could you please tell me if you need x86-64 or i586 packages since it would be good if you could test them as well. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 User jmatejek@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=501724#c17 Jan Matejek <jmatejek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|jmatejek@novell.com | --- Comment #17 from Jan Matejek <jmatejek@novell.com> 2009-05-09 08:19:30 MDT --- x86_64, please -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 User wolfgang@rosenauer.org added comment http://bugzilla.novell.com/show_bug.cgi?id=501724#c18 Wolfgang Rosenauer <wolfgang@rosenauer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |jmatejek@novell.com --- Comment #18 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2009-05-10 00:38:27 MDT --- Testpackages (i586 and x86-64) available here: ftp://ftp.rosenauer.org/pub/download-folder-test/ You need the mozilla-xulrunner191 and MozillaFirefox packages since there is a change in both. Please let me know if everything is sane in your environment. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 User jmatejek@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=501724#c19 Jan Matejek <jmatejek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|jmatejek@novell.com | --- Comment #19 from Jan Matejek <jmatejek@novell.com> 2009-05-11 09:07:04 MDT --- without xdg, firefox now downloads into "Downloads". with xdg, download goes into the specified directory. so far, so good. However, with this version, it doesn't understand file associations. In the download list, doubleclicking on file, or "open folder" from context menu, both ask me to choose an application (from an empty list). Before installing this, firefox used my gnome associations (nautilus for directories, file-roller for archives). dunno if this is related -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 User jmatejek@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=501724#c20 --- Comment #20 from Jan Matejek <jmatejek@novell.com> 2009-05-11 09:13:10 MDT --- reverting to factory firefox and xulrunner fixes the associations. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 User wolfgang@rosenauer.org added comment http://bugzilla.novell.com/show_bug.cgi?id=501724#c21 --- Comment #21 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2009-05-11 10:02:23 MDT --- That is _very_ weird and I can't reproduce with the 11.1 versions I've tested. The patch I've introduced could never cause that. I'll test on Factory as well. Thanks for testing. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 User jmatejek@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=501724#c22 --- Comment #22 from Jan Matejek <jmatejek@novell.com> 2009-05-11 10:11:42 MDT --- found out the cause: when installing your packages, i had to remove mozilla-xulrunner191-gnomevfs. i reinstalled it when reverting to factory versions. apparently, when that package is not present, the associations don't work. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 User wolfgang@rosenauer.org added comment http://bugzilla.novell.com/show_bug.cgi?id=501724#c23 Wolfgang Rosenauer <wolfgang@rosenauer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #23 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2009-05-11 10:13:51 MDT --- Yes, that's the explanation. Thanks for confirming. the gnomevfs subpackage contains the routines which talk to gnome-vfs (obviously). So I'll submit that to Factory with next update and close it afterwards. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 User wolfgang@rosenauer.org added comment http://bugzilla.novell.com/show_bug.cgi?id=501724#c24 Wolfgang Rosenauer <wolfgang@rosenauer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #24 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2009-05-25 02:45:47 MDT --- MozillaFirefox with its part of the patch has been submitted to Factory. mozilla-xulrunner191 still waiting for checkin. That's unfortunate because both fixes are needed but anyway I'm closing this now. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=501724 http://bugzilla.novell.com/show_bug.cgi?id=501724#c25 --- Comment #25 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (501724) was mentioned in https://build.opensuse.org/request/show/10777 Factory / MozillaFirefox -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com