Mixed case names converted to all lower case on download from DropBox

iGigBook Sheet Music Manager App for iPad and Android Tablets
Post Reply
Andy58Bass
iGigBook User
Posts: 12
Joined: Sun Feb 19, 2017 7:28 pm

Mixed case names converted to all lower case on download from DropBox

Post by Andy58Bass »

My "scoremaster" provides charts (pdf format) via DropBox. Usually, the files have mixed-case names in DropBox, and iGigBook shows them with the mixed-case names in the Download dialog. When I download the files, though, iGigBook usually (but not always) converts the file names to all lower-case. This is a nuisance, since in the "not always" case it interferes with the renaming of duplicates (e.g. ThisIsAMixedCaseName.pdf is not the same as thisisamixedcasename.pdf). Is there some configuration setting in iGigBook or DropBox that I need to adjust?

User avatar
Phil Smith
iGigBook Specialist
Posts: 2886
Joined: Tue Oct 19, 2010 8:00 pm

Re: Mixed case names converted to all lower case on download from DropBox

Post by Phil Smith »

From what I can see, the case of the file name is not a affected with the exception of the extension. A upper case .PDF will be converted to a lower case .pdf.
ThisIsAMixedCaseName.pdf is not the same as thisisamixedcasename.pdf
When using iGigBook these two names are the same. There's no setting to turn that behavior on or off, that's how it works.
Are you happy with iGigBook?
Tell the world about it by leaving a rating or a review in the App or Google Play Store.
Got Questions? Click Here For The How To Section
iGigBook: The Go-To Gig Tool.

Andy58Bass
iGigBook User
Posts: 12
Joined: Sun Feb 19, 2017 7:28 pm

Re: Mixed case names converted to all lower case on download from DropBox

Post by Andy58Bass »

Upon reflection, I have come to the conclusion that most (if not all) of the mixed-case score file names came from my adding files via iTunes after pulling them down to my PC from DropBox, rather than from downloading them directly to iGigBook from DropBox.

That said, I must contest your statement that the "two names are the same". In some sense, they are, but iPadOS clearly distinguishes case and iGigBook will display multiple files that differ only in capitalization. Further, if I add e.g. "MaggieMay-FINAL.pdf" to a setlist, iGigBook will subsequently prevent my adding "maggiemay-final.pdf" to the same setlist; why would it preserve the case of the filename when adding it to the setlist but then lowercase it for a comparison??
IMG_0979.jpg
Please see attachments for details.

By the way, ".plist" is not a supported file type, so I will have to make an archive and attach that.
You do not have the required permissions to view the files attached to this post.

Andy58Bass
iGigBook User
Posts: 12
Joined: Sun Feb 19, 2017 7:28 pm

Re: Mixed case names converted to all lower case on download from DropBox

Post by Andy58Bass »

Also, I should re-emphasize that the DropBox download dialog shows mixed case file names but something converts those names to lowercase upon download. I haven't observed such case translation in other DropBox download scenarios.

User avatar
Phil Smith
iGigBook Specialist
Posts: 2886
Joined: Tue Oct 19, 2010 8:00 pm

Re: Mixed case names converted to all lower case on download from DropBox

Post by Phil Smith »

Andy58Bass wrote:
Thu Mar 03, 2022 11:03 pm
Also, I should re-emphasize that the DropBox download dialog shows mixed case file names but something converts those names to lowercase upon download. I haven't observed such case translation in other DropBox download scenarios.
We haven't seen this behavior when downloading from Google Drive and we don't handle Dropbox any differently.

As for multiple files having the same name with different case...
That said, I must contest your statement that the "two names are the same". In some sense, they are, but iPadOS clearly distinguishes case and iGigBook will display multiple files that differ only in capitalization. Further, if I add e.g. "MaggieMay-FINAL.pdf" to a setlist, iGigBook will subsequently prevent my adding "maggiemay-final.pdf" to the same setlist; why would it preserve the case of the filename when adding it to the setlist but then lowercase it for a comparison??
We do a case insensitive search which is why you can't add two different files to a set list with the same name but different case.

What is the .plist file supposed to illustrate?
Are you happy with iGigBook?
Tell the world about it by leaving a rating or a review in the App or Google Play Store.
Got Questions? Click Here For The How To Section
iGigBook: The Go-To Gig Tool.

Andy58Bass
iGigBook User
Posts: 12
Joined: Sun Feb 19, 2017 7:28 pm

Re: Mixed case names converted to all lower case on download from DropBox

Post by Andy58Bass »

The .plist file illustrates that iGigBook is happy to build a setlist containing a mixed-case score file name and that the name collision is therefore not due to iGigBook lowercasing the name before building the setlist. (I have no desire to build a setlist containing two such scores, by the way. This was just an illustration to show that iGigBook treats the files as distinct when searching or displaying the unindexed scores but as the same when building set lists. The fact that iGigBook forbids this makes perfect sense and I don't object.)

What I really want is for iGigBook to preserve case when downloading from dropbox. The current observed behavior is that it lowercases the whole filename. The other download features work fine (and I like the way it renames the old file, rather than the new, when there is a name collision on download).

User avatar
Phil Smith
iGigBook Specialist
Posts: 2886
Joined: Tue Oct 19, 2010 8:00 pm

Re: Mixed case names converted to all lower case on download from DropBox

Post by Phil Smith »

Andy58Bass wrote:
Fri Mar 04, 2022 6:28 pm
What I really want is for iGigBook to preserve case when downloading from dropbox. The current observed behavior is that it lowercases the whole filename. The other download features work fine (and I like the way it renames the old file, rather than the new, when there is a name collision on download).
That's an issue with Dropbox. As I mentioned earlier, we don't see this behavior with Google Drive and we don't have code that converts the entire filename to lowercase. If you visit the Dropbox forum, you will see mentions of this issue and iOS.
Are you happy with iGigBook?
Tell the world about it by leaving a rating or a review in the App or Google Play Store.
Got Questions? Click Here For The How To Section
iGigBook: The Go-To Gig Tool.

Andy58Bass
iGigBook User
Posts: 12
Joined: Sun Feb 19, 2017 7:28 pm

Re: Mixed case names converted to all lower case on download from DropBox

Post by Andy58Bass »

Thanks. I'll see what I can find.

Andy58Bass
iGigBook User
Posts: 12
Joined: Sun Feb 19, 2017 7:28 pm

Re: Mixed case names converted to all lower case on download from DropBox

Post by Andy58Bass »

Dropbox documentation claims that dropbox and its APIs are case-insensitive yet case-preserving, and the dropbox iOS app is perfectly able to produce local files with mixed-case names. There seems to have been an acknowledged case-preservation issue of some sort with Files and mail apps in iOS since 2017 at least. No fix for that is on the horizon, so I'll have to live with this, I guess. Just out of curiosity, though, does iGigBook access the DropBox APIs directly or is it relying on the iOS DropBox or Files apps in some fashion?

Post Reply