cygnusnow / ulipad

Automatically exported from code.google.com/p/ulipad
0 stars 0 forks source link

Unable to see files using the "open file" dialog #216

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create *.py / *.php files
2. Go to file > open 

What is the expected output? What do you see instead?

Expected :

A list of the files in the directory.

Got :

No file listed, even when moving the extension filter to "All Files".

What version of the product are you using? On what operating system?

I am using UliPad 4.0 on Ubuntu 9.10.

Please provide any additional information below.

I enclosed a screencast illustrating the issue

Original issue reported on code.google.com by isatis39...@gmail.com on 29 Nov 2009 at 1:09

Attachments:

GoogleCodeExporter commented 9 years ago
I have no linux environment now, so I can't test what you said, and I tried in 
windows 
but there is problem at all.

Original comment by limo...@gmail.com on 29 Nov 2009 at 2:43

GoogleCodeExporter commented 9 years ago
could it be the language setting? try in English first.

Original comment by sunyi...@gmail.com on 29 Nov 2009 at 2:58

GoogleCodeExporter commented 9 years ago
It is the language, setting back to English works great. I can't understand why 
this
prevent files from being viewed, but english is good enough for me.

Thanks and good luck for the next release.

Original comment by isatis39...@gmail.com on 29 Nov 2009 at 9:34

GoogleCodeExporter commented 9 years ago
It's strange! I've not encountered this problem before. Which language do you 
use?

Original comment by limo...@gmail.com on 29 Nov 2009 at 10:14

GoogleCodeExporter commented 9 years ago
French. But the weird thing is all the Ubuntu system uses UTF-8, so really I 
can't
see why this is an issue.

Do you want me to perform some tests ? We can arrange a meeting where I can 
give you
a SSH / VNC access to the machine if you wish. This is a great project, I 
really love
this IDE and be glad to help.

I ran the doctests using nose and attached the result.

Original comment by info.ksa...@gmail.com on 29 Nov 2009 at 3:39

Attachments:

GoogleCodeExporter commented 9 years ago
I haven't look deep into the code, but if it is language setting problem my 
first guess 
is when creating the filter for the list file dialog, *.py or the like is not 
using 
correct code page, i.e *.py has to be in english no matter what language to 
use. Am I 
correct?.

Original comment by sunyi...@gmail.com on 29 Nov 2009 at 5:49

GoogleCodeExporter commented 9 years ago
Do you mean the string "*.py" in the ulipad code or the file on my computer ?

If it's for ulipad :
- Ulipad seems to use the GTK constants, so encoding should no be the issue

If it's for the file :
- Python code must be in english, but the rest can (and sometime must) be in 
another
language. UTF-8 is used by the all system, the GTK lib and myself. I can't talk 
for
ulipad since encoding is not explicitly declared, but it seems to use only ascii
chars I doubt it's at risk, even if no strings are preceded by "u".

Original comment by info.ksa...@gmail.com on 29 Nov 2009 at 6:28

GoogleCodeExporter commented 9 years ago
interesting, i tried chinese, it is ok, but french is not. 

Original comment by sunyi...@gmail.com on 29 Nov 2009 at 6:51

GoogleCodeExporter commented 9 years ago
this is the fix. Only French translation has the problem.

Index: ulipad_fr_FR.po
===================================================================
--- ulipad_fr_FR.po (revision 524)
+++ ulipad_fr_FR.po (working copy)
@@ -4284,8 +4284,8 @@
 msgstr ""

 #: ..\mixins\MainFrame.py:53
-msgid "All Files (*.*)|*"
-msgstr "Tous les fichiers"
+msgid "All Files (*)|*"
+msgstr "Tous les fichiers (*)|*"

 #: ..\mixins\MessageWindow.py:37
 #: ..\mixins\ShellWindow.py:41

Original comment by sunyi...@gmail.com on 29 Nov 2009 at 9:19

GoogleCodeExporter commented 9 years ago
Oh, thank you very much. I'll fix it soon.

Original comment by limo...@gmail.com on 29 Nov 2009 at 11:52

GoogleCodeExporter commented 9 years ago
Fixed. But some translation files is old also.

Original comment by limo...@gmail.com on 30 Nov 2009 at 12:59

GoogleCodeExporter commented 9 years ago

Original comment by limo...@gmail.com on 30 Nov 2009 at 12:59