By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 2593

Summary: Errornous presentation of capital letters on USB drives
Product: TDE Reporter: Q4OS Team <q4os>
Component: tdebaseAssignee: Michele Calgaro <michele.calgaro>
Status: RESOLVED FIXED    
Severity: normal CC: bugwatch, michele.calgaro, q4os, slavek.banko
Priority: P5    
Version: R14.0.1 [Trinity]   
Hardware: All   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:
Bug Depends on:    
Bug Blocks: 2575    

Description Q4OS Team 2016-02-18 03:44:32 CST
USB-files with only capital letters are presented wrongly.
Example:
Plug a USB memory formatted FAT32 in.
Open Konqueror and create a text file. Give the file the name "ABC". The file will now be presented as "abc".
Create another file with the name "ABc", it is presented correctly.
Comment 1 Michele Calgaro 2016-02-19 05:58:53 CST
I have followed exactly the instruction given and I could not reproduce the problem. "ABC" is displayed as "ABC", not "abc".
What version of TDE are you using? How is the file displayed in Konsole? And in a proper CLI?
Comment 2 Q4OS Team 2016-02-23 04:24:15 CST
Exact way to reproduce:
- Clean Debian Jessie, no desktop environment
- Fresh TDE 14.0.2 installation as http://wiki.trinitydesktop.org/DebianInstall
- Format usb drive using FAT32 filesystem
 # sudo mkfs.vfat /dev/sdb1
- Re-plug usb drive
- 'Unmounted removable medium' window appears
- Select 'Open in new window' and Click 'Ok' to open the usb drive filesystem konqueror's window
- Right mouse click on the window's free space -> Create New -> Text File
- Enter text filename, type 'ABC', press Enter
- Once again - right mouse click on the window's free space -> Create New -> Text File
- Enter text filename, type 'DeF', press Enter
- Take care about capital letters being correct.
- Unmount the drive
- Mount it again
- You will see file names: incorrect: 'abc' and correct: 'DeF'
Comment 3 Michele Calgaro 2016-02-23 05:51:37 CST
Hi Q4OS Team,
thanks for the very detailed feedback, really appreciate that :-)

On my system (Stretch/TDE R14.1.0 [development]) it does not happen, but I will try on a Jessie VM following the steps you reported to the letter.
Comment 4 Michele Calgaro 2016-02-23 08:05:57 CST
Problem found. The reason for seeing all lower letter is the option used during automount, in particular "shortname=lower".
On my system I do not automount and use mount directly, which used "shortname=mixed" as option, which in turn displays the filename as is.

Added to R14.0.4 bug list.
Comment 5 Michele Calgaro 2016-02-23 08:06:07 CST
http://linuxcommand.org/man_pages/mount8.html
Comment 6 Michele Calgaro 2016-02-23 08:58:49 CST
Go to Trinity Control Center -> Peripherals -> Storage media -> Advanced tab.
In the bottom right there is a combo box named "shortnames". Change option to "mixed". Unmount USB and mount back. Names appears correctly.

Still we should probably change the default option to "mixed" instead of "lower", since a simple "mount -t vfat" from CLI will use the "mixed" mode.
I will discuss with Slavek about it
Comment 7 Slávek Banko 2016-02-23 09:21:37 CST
Either could be added value "default" at which the option shortname will be omitted. Or could be added toggle button to decide whether the option shortname should be used or not.
Comment 8 Michele Calgaro 2016-02-24 08:41:44 CST
I will add a default option as suggested by Slavek
Comment 9 Michele Calgaro 2016-02-25 08:57:59 CST
I have added a "default" option to the Storage manager.
Pushed to main repo in commit 71bd29a.
The same patch will be pushed to R14.0.x soon, after the release of R14.0.3 is completed.
Comment 10 Michele Calgaro 2016-02-26 09:20:32 CST
Pushed to R14.0.x in commit 14294b4.