Bug 29539 - Thunar modifies the special characters in the names of files/folders transferred on a USB drive
Summary: Thunar modifies the special characters in the names of files/folders transfer...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Jani Välimaa
QA Contact:
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2021-10-08 16:49 CEST by Régis Imbeault
Modified: 2021-10-15 20:19 CEST (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
Screenshot of the bug experienced with Thunar (257.51 KB, image/png)
2021-10-08 16:49 CEST, Régis Imbeault
Details
The output of lspci -v (7.87 KB, text/plain)
2021-10-08 16:54 CEST, Régis Imbeault
Details

Description Régis Imbeault 2021-10-08 16:49:59 CEST
Created attachment 12942 [details]
Screenshot of the bug experienced with Thunar

Hello,

I am running Mageia Cauldron (kernel 5.14.10-desktop-1.mga9) with the Xfce graphical environment (xfce4-session-4.16.0-2.mga8.src.rpm) and I am experiencing a bug when I transfer files and folders to a USB Drive through Thunar (thunar-4.17.6-1.mga9.src.rpm).

The specific issue is with files and folders with French names containing special characters (é, è, ê, à, î, ô, û, etc...). When I copy or move these items from my computer to a USB drive, either through drag-and-drop or through the copy/cut-and-paste in the right-click options, the names landing in the drive are changed where every special French character become "__" (I have attached a screenshot to illustrate what I mean. If it is a folder, all the files inside with French special characters in their names end up with "__" instead of said special characters.

I played around with that issue and here are further observations:
1) The type of USB drive does not matter, the bug is the same for all of them.

2) It only happens when I copy/move from my computer to the drive. When I go from the drive to the computer, the files/folders names are not affected.

3) This only occurs when I proceed through Thunar. If I copy/move through a terminal (mv, cp, rsync), the names landing in the USB drive are not affected.

4) The source RPMs I mentioned above are the most recent ones that are running on my computer as of today, but the bug also existed with previous versions.

I will attach the details on my hardware, but here is a short summary:

sudo lshw -short
H/W path           Device   Class          Description
======================================================
                            system         OptiPlex 760
/0                          bus            0M858N
/0/0                        memory         64KiB BIOS
/0/400                      processor      Intel(R) Core(TM)2 Quad CPU    Q9550  @ 2.83GHz
/0/400/700                  memory         256KiB L1 cache
/0/400/701                  memory         12MiB L2 cache
/0/1000                     memory         8GiB System Memory
/0/1000/0                   memory         2GiB DIMM DDR2 Synchronous 800 MHz (1.2 ns)
/0/1000/1                   memory         2GiB DIMM DDR2 Synchronous 800 MHz (1.2 ns)
/0/1000/2                   memory         2GiB DIMM DDR2 Synchronous 800 MHz (1.2 ns)
/0/1000/3                   memory         2GiB DIMM DDR2 Synchronous 800 MHz (1.2 ns)
/0/100                      bridge         4 Series Chipset DRAM Controller
/0/100/1                    bridge         4 ImageSeries Chipset PCI Express Root Port
/0/100/1/0                  display        G84 [GeForce 8600 GT]
/0/100/3                    communication  4 Series Chipset HECI Controller
/0/100/3.2                  storage        4 Series Chipset PT IDER Controller
/0/100/3.3                  communication  4 Series Chipset Serial KT Controller
/0/100/19          enp0s25  network        82567LM-3 Gigabit Network Connection
/0/100/1a                   bus            82801JD/DO (ICH10 Family) USB UHCI Controller #4
/0/100/1a/1        usb3     bus            UHCI Host Controller
/0/100/1a/1/2               input          Microsoft Basic Optical Mouse
/0/100/1a.1                 bus            82801JD/DO (ICH10 Family) USB UHCI Controller #5
/0/100/1a.1/1      usb4     bus            UHCI Host Controller
/0/100/1a.1/1/1             bus            Dell USB Keyboard Hub
/0/100/1a.1/1/1/1           input          Dell USB Keyboard
/0/100/1a.2                 bus            82801JD/DO (ICH10 Family) USB UHCI Controller #6
/0/100/1a.2/1      usb5     bus            UHCI Host Controller
/0/100/1a.7                 bus            82801JD/DO (ICH10 Family) USB2 EHCI Controller #2
/0/100/1a.7/1      usb1     bus            EHCI Host Controller
/0/100/1a.7/1/4             bus            USB 2.0 Hub
/0/100/1a.7/1/4/1           multimedia     QuickCam Pro 4000
/0/100/1b                   multimedia     82801JD/DO (ICH10 Family) HD Audio Controller
/0/100/1c                   bridge         82801JD/DO (ICH10 Family) PCI Express Port 1
/0/100/1c.1                 bridge         82801JD/DO (ICH10 Family) PCI Express Port 2
/0/100/1d                   bus            82801JD/DO (ICH10 Family) USB UHCI Controller #1
/0/100/1d/1        usb6     bus            UHCI Host Controller
/0/100/1d.1                 bus            82801JD/DO (ICH10 Family) USB UHCI Controller #2
/0/100/1d.1/1      usb7     bus            UHCI Host Controller
/0/100/1d.2                 bus            82801JD/DO (ICH10 Family) USB UHCI Controller #3
/0/100/1d.2/1      usb8     bus            UHCI Host Controller
/0/100/1d.7                 bus            82801JD/DO (ICH10 Family) USB2 EHCI Controller #1
/0/100/1d.7/1      usb2     bus            EHCI Host Controller
/0/100/1d.7/1/2             storage        Cruzer Glide 3.0
/0/100/1e                   bridge         82801 PCI Bridge
/0/100/1f                   bridge         82801JD (ICH10D) LPC Interface Controller
/0/100/1f.2                 storage        82801JD/DO (ICH10 Family) SATA AHCI Controller
/0/100/1f.3                 bus            82801JD/DO (ICH10 Family) SMBus Controller
/1                 scsi8    storage        



I will be happy to provide any further information that would be of use.

Thank you for your amazing work and dedication!
Comment 1 Régis Imbeault 2021-10-08 16:54:25 CEST
Created attachment 12943 [details]
The output of lspci -v

Here is a more detailed description of my hardware.
Comment 2 Régis Imbeault 2021-10-08 17:35:33 CEST
One more piece of information:

Doing the same experiment with Nemo (nemo-5.0.2-1.mga9.src.rpm) in the Cinnamon environment (cinnamon-5.0.5-2.mga9.src.rpm) does not reproduce the bug. I meet no issue here with my files/folders names.

This bug appears to be unique to Thunar in my Xfce environment, as far as I am aware of, and specific to Mageia Cauldron.

I have another computer at home running Mageia 8 Stable, also with the Xfce environment, and I do not encounter this particular issue with Thunar.

Many thanks!
Comment 3 Jani Välimaa 2021-10-08 17:54:49 CEST
Looks like an issue already reported to upstream:
https://gitlab.xfce.org/xfce/thunar/-/issues/655
Jani Välimaa 2021-10-08 17:55:29 CEST

See Also: (none) => https://gitlab.xfce.org/xfce/thunar/-/issues/655
Keywords: (none) => UPSTREAM
CC: (none) => jani.valimaa

Comment 4 Régis Imbeault 2021-10-08 18:01:42 CEST
(In reply to Jani Välimaa from comment #3)
> Looks like an issue already reported to upstream:
> https://gitlab.xfce.org/xfce/thunar/-/issues/655

Yes, that is exactly the same issue. I confirm.
Can you please tell me if there is anything more that I need to do from this point on?

Thank you!
Comment 5 Jani Välimaa 2021-10-08 18:30:37 CEST
(In reply to Régis Imbeault from comment #4)
> (In reply to Jani Välimaa from comment #3)
> > Looks like an issue already reported to upstream:
> > https://gitlab.xfce.org/xfce/thunar/-/issues/655
> 
> Yes, that is exactly the same issue. I confirm.
> Can you please tell me if there is anything more that I need to do from this
> point on?
>

Not really, just try to survive until the bug gets fixed by upstream. I'm following the upstream bug and will add fixes to our Thunar as soon as available.
Comment 6 Régis Imbeault 2021-10-08 18:57:05 CEST
Very good. This is what I assumed would be.

Thank you for you amazing work!
Kind regards.
Comment 7 Marja Van Waes 2021-10-08 20:16:02 CEST
(In reply to Jani Välimaa from comment #5)

> 
>  I'm
> following the upstream bug and will add fixes to our Thunar as soon as
> available.

Assigning to you, then

CC: (none) => marja11
Assignee: bugsquad => jani.valimaa

Comment 8 Jani Välimaa 2021-10-15 19:14:08 CEST
Please test if thunar-4.17.6-2.mga9 with a patch from usptream fixes the issue.
Comment 9 Régis Imbeault 2021-10-15 20:07:08 CEST
Yes, it does!
Comment 10 Jani Välimaa 2021-10-15 20:19:24 CEST
Closing as FIXED. Feel free to reopen if needed.

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.