Page MenuHomePhabricator

The "Destination filename:" needs to be blanked when a new file is selected
Closed, ResolvedPublic

Description

Author: gerardm

Description:
With 1.5 "Destination filename:" was added. This parses the filename out of the
selected file. This needs to be done whenever a new file is selected, not only
when it is blank.

When you upload hundreds / thousands of pronunciations this means a lot of extra
time.. For me it is a major amount of time.

Thanks,

GerardM

Version: 1.5.x
Severity: major

Details

Reference
bz2527

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:35 PM
bzimport set Reference to bz2527.
bzimport added a subscriber: Unknown Object (MLST).

slowpoke wrote:

(In reply to comment #0)

When you upload hundreds / thousands of pronunciations this means a lot of extra
time.. For me it is a major amount of time.

I hope you know that scripts can be used for this (they may need to be updated
for 1.5 though). --Dori

It might be good to keep the manually set name, this way users
can easily upload a sequence of file with a close name.

For example, you have:
MyHollydayPic.png
MeWithAshar.png
CloseFriend.png
MagicChurch.png

But you want to upload them as:
Hollyday2005March-01.png
Hollyday2005March-02.png
Hollyday2005March-03.png
Hollyday2005March-04.png

If the "destination filename" field is kept (as it is now) one can
easily change the trailing number.

gerardm wrote:

If you think it a good idea have a tick box that allows you to NOT update the
name in the "destination file name". The argument why you want to keep the name
is as good as the request to change the name.

Thanks,

GerardM

zigger wrote:

*** Bug 3101 has been marked as a duplicate of this bug. ***

Fixed in HEAD and REL1_5.

I don't think the case for not setting the filename on selection is very strong.
Perhaps it could be thought about as an enhancement, but the primary use case
doesn't seem to support it, and the behavior was confusing and not self-
consistent (eg, it's not clear why it would set the filename sometimes but not
other times).

Bug 3131 is a side-effect of this fix.