[Bug 338046] Re: transmission tries to use downloads folder but it doesnt exist

2009-05-02 Thread Graham Binns
** Bug watch removed: trac.transmissionbt.com/attachment/ #1773 http://trac.transmissionbt.com/attachment/ticket/1773 -- transmission tries to use downloads folder but it doesnt exist https://bugs.launchpad.net/bugs/338046 You received this bug notification because you are a member of Ubuntu B

[Bug 338046] Re: transmission tries to use downloads folder but it doesnt exist

2009-03-30 Thread Launchpad Bug Tracker
This bug was fixed in the package transmission - 1.51-0ubuntu3 --- transmission (1.51-0ubuntu3) jaunty; urgency=low * 30_first-run-pref-error-fix.patch: - Don't show an error when the preferences dialog is opened for the first time (LP: #338046). * 31_honor-xdg_download_

[Bug 338046] Re: transmission tries to use downloads folder but it doesnt exist

2009-03-11 Thread Chris Coulson
Thanks, that works ok now. ** Changed in: transmission (Ubuntu) Status: In Progress => Triaged ** Attachment added: "transmission_1.51-0ubuntu2.debdiff" http://launchpadlibrarian.net/23759788/transmission_1.51-0ubuntu2.debdiff -- transmission tries to use downloads folder but it doesn

[Bug 338046] Re: transmission tries to use downloads folder but it doesnt exist

2009-03-11 Thread Chris Coulson
Thanks charles, I'll build and test that when I get home from work later. -- transmission tries to use downloads folder but it doesnt exist https://bugs.launchpad.net/bugs/338046 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu

[Bug 338046] Re: transmission tries to use downloads folder but it doesnt exist

2009-03-10 Thread charles
Yes; changeset 8048 didn't pick up that change because I'm stupid and did "svn commit" in the gtk directory instead of the parent directory. The rest of the fix is in 8049. If an unpatched 8049 doesn't do the trick for you, or I'm misunderstanding something, let me know. -- transmission tries to

[Bug 338046] Re: transmission tries to use downloads folder but it doesnt exist

2009-03-10 Thread Chris Coulson
Thanks charles. I still see the same behaviour with the second patch though. I've done some debugging, and what seems to be happening is that the correct setting is overwritten later on after returning from tr_prefs_init_defaults. In tr_sessionLoadSettings, tr_sessionGetDefaultSettings is called wh

[Bug 338046] Re: transmission tries to use downloads folder but it doesnt exist

2009-03-10 Thread charles
upstream reference for the secondary issue: -- transmission tries to use downloads folder but it doesnt exist https://bugs.launchpad.net/bugs/338046 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubun

[Bug 338046] Re: transmission tries to use downloads folder but it doesnt exist

2009-03-10 Thread charles
@chris: I think this is fixed upstream now in -- transmission tries to use downloads folder but it doesnt exist https://bugs.launchpad.net/bugs/338046 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed t

[Bug 338046] Re: transmission tries to use downloads folder but it doesnt exist

2009-03-06 Thread Josh Smith
There is no need to have a seperate checkbox just for system default directory. Simply set the entry for "custom directory" to be the system default directory by default, but allow it to be changed -- transmission tries to use downloads folder but it doesnt exist https://bugs.launchpad.net/bugs/

[Bug 338046] Re: transmission tries to use downloads folder but it doesnt exist

2009-03-06 Thread Chris Coulson
I think I should have explained a little better. If I start with a fresh user profile (after deleting ~/.config/transmission), then the default download directory always seems to be ~/Downloads on the first run (regardless of what I set XDG_DOWNLOAD_DIR to), whereas the watch directory is always co

[Bug 338046] Re: transmission tries to use downloads folder but it doesnt exist

2009-03-06 Thread charles
Hm, we could accomplish both if we had two options in the preferences: [x] Use system default download directory [ ] Use custom directory [ Directoryname | v ] This feels like overkill to me. My (admittedly uninformed) guess is that most users won't ever know about XDG_DOWNLOAD_DIR or the dirs o

[Bug 338046] Re: transmission tries to use downloads folder but it doesnt exist

2009-03-06 Thread charles
chris: I don't see where I'm misusing the return value of g_get_user_special_dir(). transmission calls it three times, all in tr_prefs_init_defaults(), and puts the return value in a const char* each time. My guess is that the first time you run Transmission, it gets the g_get_user_special_dir(G_

[Bug 338046] Re: transmission tries to use downloads folder but it doesnt exist

2009-03-06 Thread Chris Coulson
Hmmm, ok, that's not it. I'll keep looking at it, but you'll probably figure it out before me ;) -- transmission tries to use downloads folder but it doesnt exist https://bugs.launchpad.net/bugs/338046 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 338046] Re: transmission tries to use downloads folder but it doesnt exist

2009-03-06 Thread Chris Coulson
charles, I've tested the patch and it fixes the original bug. One thing I've noticed though, is that the default download directory is always ~/Downloads, regardless of what XDG_DOWNLOAD_DIR is set too. This is because after the first time you call g_user_get_special_dir() to get the default watch

[Bug 338046] Re: transmission tries to use downloads folder but it doesnt exist

2009-03-05 Thread Chris Coulson
Thanks, I'll package the patch shortly with those 2 lines reversed. -- transmission tries to use downloads folder but it doesnt exist https://bugs.launchpad.net/bugs/338046 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs

[Bug 338046] Re: transmission tries to use downloads folder but it doesnt exist

2009-03-05 Thread charles
Hm, I think that's a good point. I agree that the two lines should be reversed to give G_USER_DIRECTORY_DOWNLOAD a higher priority. -- transmission tries to use downloads folder but it doesnt exist https://bugs.launchpad.net/bugs/338046 You received this bug notification because you are a member

[Bug 338046] Re: transmission tries to use downloads folder but it doesnt exist

2009-03-05 Thread Chris Coulson
I'll package this later on today. Just a quick question about this bit of the patch though charles: #ifdef HAVE_GIO str = NULL; if( !str ) str = g_get_user_special_dir( G_USER_DIRECTORY_DESKTOP ); if( !str ) str = g_get_user_special_dir( G_USER_DIRECTORY_DOWNLOAD ); if( !str ) str

[Bug 338046] Re: transmission tries to use downloads folder but it doesnt exist

2009-03-04 Thread Bug Watch Updater
** Changed in: transmission Status: Unknown => Fix Released -- transmission tries to use downloads folder but it doesnt exist https://bugs.launchpad.net/bugs/338046 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs m

[Bug 338046] Re: transmission tries to use downloads folder but it doesnt exist

2009-03-04 Thread charles
I don't know if we're going to do a 1.52 or not yet, but here's the patch against 1.51: http://trac.transmissionbt.com/attachment/ticket/1773/startup.diff ** Bug watch added: Transmission Trac #1773 http://trac.transmissionbt.com/ticket/1773 ** Also affects: transmission via http://trac.tr