Cannot specify save directory for some GTK+3 applications - Recent/recursive directories replace user selection.

Bug #915165 reported by Pavlo Bohmat
130
This bug affects 28 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
New
Undecided
Unassigned
gtk+3.0 (Ubuntu)
Confirmed
High
Unassigned
transmission (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

This bug is very evident in the default 12.04 versions of Transmission and gnome-screenshot, though I suspect many other applications are affected.

When the user clicks on dropdown list GTK widget to specify save location, often times the resultant selection is not what the user specified; rather, a folder that lies inside the selected folder is often selected or a recently used download folder is selected.

Workaround (sometimes doesn't work): Select "Other" and manually browse to the folder desired, then hit the select button.

Please see the following video for a demo: https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/915165/+attachment/3258165/+files/bug.webm

The video shows the 'Desktop' location being unusable - For Transmission, it is often the 'Downloads' folder that is unusable (I still have every new transmission file download to "Elegia_Eternum_Full_Version_v_1.1", no matter what I try). And even if I do successfully sometimes get it to download to "Downloads", the folder "Elegia_Eternum_Full_Version_v_1.1" will still be created.

This bug was supposedly addressed during the 12.04 beta cycle at bug 914356 but was possibly wrongly marked as fixed.

Original Description:

can not save download to necessary directory. Unable to save the path, who had previously worked. Manually change the path to save the ~/.config/transmission/settings.json does not help

"download-dir": "/home/paul/\u0422\u043e\u0440\u0440\u0435\u043d\u0442\u044b/Rammstein - Made in Germany (2011)"

should be:
"download-dir": "/home/paul/Торренты"

Cyrillic in the config does not understand. If the jump file downloads to choose the way nearly impossible. Keeps to himself wants, not where indicated. This behavior only in transmission.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: transmission-gtk 2.42-1ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-8.15-generic 3.2.0
Uname: Linux 3.2.0-8-generic x86_64
ApportVersion: 1.90-0ubuntu1
Architecture: amd64
Date: Thu Jan 12 07:21:24 2012
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
ProcEnviron:
 PATH=(custom, no user)
 LANG=ru_UA.UTF-8
 SHELL=/bin/bash
SourcePackage: transmission
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Pavlo Bohmat (bohm) wrote :
Revision history for this message
Pavlo Bohmat (bohm) wrote :

how to specify and save the download-dir (Save to Location)?

description: updated
Revision history for this message
Pavlo Bohmat (bohm) wrote :

transmission-gtk and transmission-qt: FAIL
Please fix this problem.

transmission-daemon -g ~/.config/transmission + edit "download-dir": "/home/paul/\u0422\u043e\u0440\u0440\u0435\u043d\u0442\u044b/ (aka ~/Торренты): OK

Revision history for this message
Pavlo Bohmat (bohm) wrote :

After the last update everything is fine. Cyrillic in the config does not understand.

Revision history for this message
Pavlo Bohmat (bohm) wrote :

After the last update in transmission-gtk 2.50 (13228) back issues... with which the package is that?

Revision history for this message
Pavlo Bohmat (bohm) wrote :

Delete subdirectories from the directory downloads. The way to become a normal setting. Mystery ...

Revision history for this message
Pavlo Bohmat (bohm) wrote :

transmission-gtk 2.50: FAIL (not downloads...), but transmission-daemon: OK

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in transmission (Ubuntu):
status: New → Confirmed
Revision history for this message
qwerty (matiasjrossi) wrote :

I'm experiencing the same issue, but after doing some more testing I found it only happens in my user account.
The test case is as follows:
1) Make sure you don't have any subdirectories in ~/Downloads
2) Set transmission to use ~/Downloads as the target directory
3) Create an empty directory under ~/Downloads
4) Open transmission's preferences dialog
In my user account, after doing this, the target directory for downlaoded files is automatically set to the deepest subdirectory under ~/Downloads.

However, if I do the same in the "Guest" account, everything works as expected, and transmission keeps the target directory correctly.

I tried to reset the configuration by:
rm -r ~/.config/transmission
but the problem is still happening.

I suspect this is not a bug from transmission. I tried to debug it, adding some output in the GTK+ callbacks and the functions that manipulate the app's settings. It looks to me like GTK+ file_chooser_button widget is firing the event positioning itself in the wrong directory, thus confusing transmission. As far as I could understand transmission code is handling the path correctly.

Revision history for this message
Dax Solomon Umaming (knightlust) wrote :

This has become such an irritating bug that I've decided to delete a couple of config files to reset my desktop since a newly created user account does not have this bug.
However, while deleting those config files, I stumbled upon .local/share/gtk-2.0<something>/gtkfilechooser.ini
Maybe that's where the bug's originated from, but I can no longer test it since I've also deleted .gconf, .gnome2, etc

Anyone care to try deleting the gtkfilechooser.ini to test my theory?

Revision history for this message
Dax Solomon Umaming (knightlust) wrote :

nope, it's not what I thought. This bug popped up today after launching transmission. I still have no idea what's causing it.

Revision history for this message
Shiraz Dindar (shiraz-v) wrote :

exact same issue, as described in #9 -- https://bugs.launchpad.net/ubuntu/+source/transmission/+bug/915165/comments/9 -- thanx matias

Changed in gtk+3.0 (Ubuntu):
status: New → Confirmed
importance: Undecided → High
summary: - can not save download to necessary directory
+ Cannot specify save directory for some GTK+3 applications -
+ Recent/recursive directories replace user selection.
Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :
description: updated
Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

I have not filed this upstream because I have a sneaking suspicion that the fault lies in Ubuntu's implementation of GTK.

description: updated
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

For what it's worth, 12.10 appears to not suffer from this bug.

Changed in hundredpapercuts:
milestone: none → raring-gtk
Revision history for this message
Andy Holmes (andyholmes) wrote :

I can confirm this in Raring. I agree that it seems to be a bug with GtkFileChooser (or one of it's subclasses) as I've had weird problems with it in other situations.

Revision history for this message
ZiNk (cserpentis) wrote :

Confirm this in raring too. Don't know what you guys did to GTK3, but it is as unpleasant as it can get.

Revision history for this message
ZiNk (cserpentis) wrote :

Confirm this in raring too. Annoying as hell. I don't have to open picker at all. As soon as I open transmission settings pane, it sets all folders chosen to "$home", displays them as "none" and if I try download anything there it creates a folder with non-displayable unicode characters in the name.

Revision history for this message
Diomas (dmitriy-skopa) wrote :

13.04 - still here

Revision history for this message
Diomas (dmitriy-skopa) wrote :

affects screenshot saving dialog: it always sugests ~/Pictures and last selected folder doesn't even appear in the list

Revision history for this message
Charles Kerr (charlesk) wrote :

For those of you experiencing this behavior in Transmission, does it still occur in >= 2.80?

Revision history for this message
Alexander T. Stanton (stanton-sculpture) wrote : Re: [Bug 915165] Re: Cannot specify save directory for some GTK+3 applications - Recent/recursive directories replace user selection.

Still is a problem. Don't know why.

Alex

On 07/21/2013 03:19 PM, Charles Kerr wrote:
> For those of you experiencing this behavior in Transmission, does it
> still occur in >= 2.80?
>

Revision history for this message
Jeremy Bícha (jbicha) wrote :

I believe this is actually bug 1102042 which was fixed for Ubuntu 13.10 Alpha.

Revision history for this message
Von (daaxix) wrote :

Not a duplicate of 1102042. If I select a folder under the dropdown (even twice) it will save to the first folder that it defaulted to, it is as if it isn't taking the new folder setting under the dropdown!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.