Aceman, given the high popularity of this bug, can't we use the workaround as 
an interim fix when
renaming foo to Foo:

sourcefolder=foo
targetfolder=Foo
if (lcase(sourcefolder) == lcase(targetfolder)) {
- first rename foo to foo.tmp_random
- then rename foo.tmp_random to Foo }

Renaming folders doesn't happen every day, so taking a split second longer 
doesn't matter.
That way, it'll work for all types of folders/OSs/POP/Imap no matter what 
(except for those where the server doesn't allow renaming).
Then, we can spend the next decades looking for the real fix. Or maybe this is 
the real fix, because even some servers don't accept changing capitalization 
only, so we'd elegantly trick those.
The only scenario where this might fail are extra long nested folder names at 
the limit, where we might fail to create the tmp target folder if the tmp path 
gets too long or such.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/106737

Title:
  Renaming folder to same name but different case not allowed

Status in Mozilla Thunderbird:
  Confirmed
Status in thunderbird package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: mozilla-thunderbird

  In 1.5.0.10, renaming the folder "foo" to "foO", "fOo" or "Foo" isn't
  allowed; the OK button isn't clickable upon typing the new name.
  However, this can be worked around by renaming the folder "foo" to
  "bar" first, and then renaming "bar" to "foO".

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/106737/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to