Description of problem:
after scanning a document, if I try to save it with accented characters in its filename, or if I try to create a folder that contains accented characters in its name, I get an error box saying "invalid filename".
Version-Release number of selected component (if applicable):
3.6.0-3.mga3 (but also happens with simple-scan 3.9.90-1.mga4 in cauldron)
How reproducible: everytime
Steps to Reproduce:
1. scan a document
2. try to save it as "document numérisé.jpg"
3. You'll get an error box "invalid filename"
Steps to Reproduce:
what are the output if you run simple-scan in a teminal with "-d" as parameter ?
Here it is, from startup to quit, and between both, one scan with my webcam and attempt to save it as "document nuÃ¹mérisé.jpg"
Created attachment 4336 [details]
simple-scan -d output
Attachment 4336 mime type:
no more ideas
Can you try with 3.9.91 from cauldron please?
sorry, I cannot succeed testing it :
when I tried to install simple-scan from cauldron, it claimed for a libcolord2 dependency, so I installed it also from cauldron and then could install simple-scan.
But now, when I try to run simple-scan, I get an error :
simple-scan: /lib/libudev.so.1: version `LIBUDEV_196' not found (required by /lib/libcolordprivate.so.2)
and trying to install libudev1 from cauldron fails :
[root@localhost Téléchargements]# rpm -ivh libudev1-206-8.mga4.i586.rpm
Preparing... ################################# [100%]
file /usr/lib/libudev.so.1 from install of libudev1-206-8.mga4.i586 conflicts with file from package libudev1-195-22.mga3.i586
I can reproduce for now with 3.6.0 and 3.9.91.
Let me investigate more... :-)
I meant, I can't reproduce... Oops.
Is there anything I could do that could help debug it ?
I still can't reproduce. Can you give me more information on your Mageia installation if bug still available please?
Sure, what kind of information do you need ?
- If it's still available on your computer.
- If your are using KDE or GNOME.
- If your systÃ¨me is in French or English or other.
- If you have only one locale installed on your computer or more.
- If you can make a screenshot of the popup about bad filename.
Created attachment 4664 [details]
simple-scan error dialog box
simple-scan error dialog box when trying to save "document numérisé".jpg
thank you Damien for taking care of that bug.
1) Yes, it is still available
2) I'm using XFCE with KDM login manager
3) My system is in french
4) I don't know how to check installed locales, I tried this :
[denis@localhost ~]$ localectl
System Locale: LANG=fr_FR.UTF-8
VC Keymap: n/a
X11 Layout: n/a
And localedrake shows that the chosen language is french.
I guess there is a finer way to check locales, but I don't know how
5) attached above is the screenshot
Mageia 3 changed to end-of-life (EOL) status 4 months ago.
Mageia 3 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of Mageia
please feel free to click on "Version" change it against that version of Mageia
and reopen this bug.
Thank you for reporting this bug and we are sorry it could not be fixed.
The Mageia Bugsquad
The Problem still exists with mageia 5 beta 3
The message comes from GtkFileChooser, not from SimpleScan.
Thus I suppose that other application could be affected.
(In reply to papoteur from comment #17)
> The message comes from GtkFileChooser, not from SimpleScan.
> Thus I suppose that other application could be affected.
reassigning to bugsquad, because simple-scan no longer has a maintainer.
also removing "Triaged" because of the above remark.
Before we try to find out what is going on: did anybody recently hit this bug in Mageia 5 and/or cauldron?
Yes, I just hit this bug, although I used to use it without problems by now.
I have reported the problem upstream.
Indication from upstream report:
The warning message comes from GTK+, not simple-scan. But I have other GTK application in which I can use "é" in file names.
Version : simple-scan-3.14.0-3.mga5
On Mageia 5.
The log file contains only the final file name.
The warning box has no title and says exactly : "Nom de fichier non valide" or when launched with LANGUAGE=C prefix: "Invalid file name"
The message comes from gtk/gtkfilechooserdefault.c line 1037
I have found a workaround.
I had a file ~/.config/gtkfilechooser.ini with this content:
I don't know when or from where it came, and which setting induce the bad behaviour.
But by deleting it, the filechooser dialog box works fine now. \o/
Does this issue still happens on current Mageia 7?
I'm sorry, I can't tell, I don't have a Mageia 7 install.
Present in Mageia 7, i have modified manually the translation of 'Scanned Documment.pdf' output to workaround this issue [Greek local]
a patch was added by dtux in Cauldron who should fix this issue, so I added the same for mga7.
Please test the upcoming simple-scan-126.96.36.199-2.1.mga7 in Core/Updates_testing repo!
Here on my mga7 for x86_64 I can confirm that now accented characters works now!
It properly display "Nom: Document numérisé.pdf"
Got a scan.
Clicked to save.
Suggested name is "Document numérisé.pdf".
Saved in ~/Documents
No error, however nothing is stored :/
And if I select jpeg format, then I get "Invalid file name" for "Document numérisé.jpg"
Added a bug report by Gnome https://gitlab.gnome.org/GNOME/simple-scan/issues/147
Could the GTK2 vs GTK3 problem with the file chooser be due to a wrong dependency when building the RPM? This bug is really painful.