linux open project dialog problem

Bug #1740481 reported by Christian Treczoks
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
KiCad
Won't Fix
Undecided
Unassigned

Bug Description

I opened KiCAD, used "File -> Open Project", and navigated to my project directory, but despite the open requesters filter showing "KiCAD Project Files )*.pro)", it only lists the .pretty directory in that project directory. And yes, there *is* a .pro file there:

-rw-rw-r-- 1 ct ct 12969 Dez 28 18:35 ArduinoModule.bak
-rw-rw-r-- 1 ct ct 6096 Dez 28 19:04 ArduinoModule-cache.lib
-rw-rw-r-- 1 ct ct 51 Dez 27 23:52 ArduinoModule.kicad_pcb
-rw-rw-r-- 1 ct ct 15176 Dez 28 18:42 ArduinoModule.net
-rw-r--r-- 1 ct ct 877 Dez 28 16:37 ArduinoModule.pro
-rw-rw-r-- 1 ct ct 12867 Dez 28 19:04 ArduinoModule.sch
-rw-rw-r-- 1 ct ct 543 Dez 28 18:54 fp-lib-table
-rw-rw-r-- 1 ct ct 2828 Dez 28 00:52 modules.bck
-rw-rw-r-- 1 ct ct 2828 Dez 28 00:52 modules.dcm
-rw-rw-r-- 1 ct ct 26819 Dez 28 00:52 modules.lib
drwxrwxr-x 2 ct ct 4096 Dez 28 15:44 SBC-MotoDriver2.pretty
-rw-rw-r-- 1 ct ct 131 Dez 28 18:48 sym-lib-table

Opening KiCAD by just double-clicking the .pro file works without problems.

Application: kicad
Version: no-vcs-found-5ca5783~61~ubuntu17.10.1, release build
Libraries:
    wxWidgets 3.0.3
    libcurl/7.55.1 OpenSSL/1.0.2g zlib/1.2.11 libidn2/2.0.2 libpsl/0.18.0 (+libidn2/2.0.2) librtmp/2.3
Platform: Linux 4.13.0-21-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.62.0
    Curl: 7.55.1
    Compiler: GCC 7.2.0 with C++ ABI 1011

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_SPICE=ON

Revision history for this message
Wayne Stambaugh (stambaughw) wrote : Re: [Bug 1740481] [NEW] linux open project dialog problem

Is it just for this folder or all project folders? I changed the file
dialog wildcard filtering to fix issues with case sensitive file
extensions on GTK+ builds. It works fine on Debian testing.

On 12/29/2017 04:39 AM, Christian Treczoks wrote:
> Public bug reported:
>
> I opened KiCAD, used "File -> Open Project", and navigated to my project
> directory, but despite the open requesters filter showing "KiCAD Project
> Files )*.pro)", it only lists the .pretty directory in that project
> directory. And yes, there *is* a .pro file there:
>
> -rw-rw-r-- 1 ct ct 12969 Dez 28 18:35 ArduinoModule.bak
> -rw-rw-r-- 1 ct ct 6096 Dez 28 19:04 ArduinoModule-cache.lib
> -rw-rw-r-- 1 ct ct 51 Dez 27 23:52 ArduinoModule.kicad_pcb
> -rw-rw-r-- 1 ct ct 15176 Dez 28 18:42 ArduinoModule.net
> -rw-r--r-- 1 ct ct 877 Dez 28 16:37 ArduinoModule.pro
> -rw-rw-r-- 1 ct ct 12867 Dez 28 19:04 ArduinoModule.sch
> -rw-rw-r-- 1 ct ct 543 Dez 28 18:54 fp-lib-table
> -rw-rw-r-- 1 ct ct 2828 Dez 28 00:52 modules.bck
> -rw-rw-r-- 1 ct ct 2828 Dez 28 00:52 modules.dcm
> -rw-rw-r-- 1 ct ct 26819 Dez 28 00:52 modules.lib
> drwxrwxr-x 2 ct ct 4096 Dez 28 15:44 SBC-MotoDriver2.pretty
> -rw-rw-r-- 1 ct ct 131 Dez 28 18:48 sym-lib-table
>
> Opening KiCAD by just double-clicking the .pro file works without
> problems.
>
> Application: kicad
> Version: no-vcs-found-5ca5783~61~ubuntu17.10.1, release build
> Libraries:
> wxWidgets 3.0.3
> libcurl/7.55.1 OpenSSL/1.0.2g zlib/1.2.11 libidn2/2.0.2 libpsl/0.18.0 (+libidn2/2.0.2) librtmp/2.3
> Platform: Linux 4.13.0-21-generic x86_64, 64 bit, Little endian, wxGTK
> Build Info:
> wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
> Boost: 1.62.0
> Curl: 7.55.1
> Compiler: GCC 7.2.0 with C++ ABI 1011
>
> Build settings:
> USE_WX_GRAPHICS_CONTEXT=OFF
> USE_WX_OVERLAY=OFF
> KICAD_SCRIPTING=ON
> KICAD_SCRIPTING_MODULES=ON
> KICAD_SCRIPTING_WXPYTHON=ON
> KICAD_SCRIPTING_ACTION_MENU=ON
> BUILD_GITHUB_PLUGIN=ON
> KICAD_USE_OCE=ON
> KICAD_SPICE=ON
>
> ** Affects: kicad
> Importance: Undecided
> Status: New
>

Revision history for this message
Christian Treczoks (ch.treczoks) wrote :

Am 29.12.2017 um 16:21 schrieb Wayne Stambaugh:
> Is it just for this folder or all project folders? I changed the file
> dialog wildcard filtering to fix issues with case sensitive file
> extensions on GTK+ builds. It works fine on Debian testing.
I just created a new project just to test this - no, this happens on the
test project folder, too. There *is* a TestProject.pro, it is
accessable, but the requester does not show it.

Platform is still Ubuntu 17.0 (Linux 4.13.0-21-generic x86_64, 64 bit,
Little endian, wxGTK)
>
> On 12/29/2017 04:39 AM, Christian Treczoks wrote:
>> Public bug reported:
>>
>> I opened KiCAD, used "File -> Open Project", and navigated to my project
>> directory, but despite the open requesters filter showing "KiCAD Project
>> Files )*.pro)", it only lists the .pretty directory in that project
>> directory. And yes, there *is* a .pro file there:
>>
>> -rw-rw-r-- 1 ct ct 12969 Dez 28 18:35 ArduinoModule.bak
>> -rw-rw-r-- 1 ct ct 6096 Dez 28 19:04 ArduinoModule-cache.lib
>> -rw-rw-r-- 1 ct ct 51 Dez 27 23:52 ArduinoModule.kicad_pcb
>> -rw-rw-r-- 1 ct ct 15176 Dez 28 18:42 ArduinoModule.net
>> -rw-r--r-- 1 ct ct 877 Dez 28 16:37 ArduinoModule.pro
>> -rw-rw-r-- 1 ct ct 12867 Dez 28 19:04 ArduinoModule.sch
>> -rw-rw-r-- 1 ct ct 543 Dez 28 18:54 fp-lib-table
>> -rw-rw-r-- 1 ct ct 2828 Dez 28 00:52 modules.bck
>> -rw-rw-r-- 1 ct ct 2828 Dez 28 00:52 modules.dcm
>> -rw-rw-r-- 1 ct ct 26819 Dez 28 00:52 modules.lib
>> drwxrwxr-x 2 ct ct 4096 Dez 28 15:44 SBC-MotoDriver2.pretty
>> -rw-rw-r-- 1 ct ct 131 Dez 28 18:48 sym-lib-table
>>
>> Opening KiCAD by just double-clicking the .pro file works without
>> problems.
>>
>> Application: kicad
>> Version: no-vcs-found-5ca5783~61~ubuntu17.10.1, release build
>> Libraries:
>> wxWidgets 3.0.3
>> libcurl/7.55.1 OpenSSL/1.0.2g zlib/1.2.11 libidn2/2.0.2 libpsl/0.18.0 (+libidn2/2.0.2) librtmp/2.3
>> Platform: Linux 4.13.0-21-generic x86_64, 64 bit, Little endian, wxGTK
>> Build Info:
>> wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
>> Boost: 1.62.0
>> Curl: 7.55.1
>> Compiler: GCC 7.2.0 with C++ ABI 1011
>>
>> Build settings:
>> USE_WX_GRAPHICS_CONTEXT=OFF
>> USE_WX_OVERLAY=OFF
>> KICAD_SCRIPTING=ON
>> KICAD_SCRIPTING_MODULES=ON
>> KICAD_SCRIPTING_WXPYTHON=ON
>> KICAD_SCRIPTING_ACTION_MENU=ON
>> BUILD_GITHUB_PLUGIN=ON
>> KICAD_USE_OCE=ON
>> KICAD_SPICE=ON
>>
>> ** Affects: kicad
>> Importance: Undecided
>> Status: New
>>

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

On 12/29/2017 04:32 PM, Christian Treczoks wrote:
> Am 29.12.2017 um 16:21 schrieb Wayne Stambaugh:
>> Is it just for this folder or all project folders? I changed the file
>> dialog wildcard filtering to fix issues with case sensitive file
>> extensions on GTK+ builds. It works fine on Debian testing.
> I just created a new project just to test this - no, this happens on the
> test project folder, too. There *is* a TestProject.pro, it is
> accessable, but the requester does not show it.

I'm assuming by "requester" you mean the file dialog. I just tested
this on Debian testing by creating a project named "TestProject" and I
see the "TestProject.pro" file in the file dialog when I select
File->Load Project from KiCad. I wonder if there is a GTK+ build option
that disables the regular expression support of the GTK+ file choser and
Ubuntu has chosen to disable it. Anyone else have any ideas?

>
> Platform is still Ubuntu 17.0 (Linux 4.13.0-21-generic x86_64, 64 bit,
> Little endian, wxGTK)
>>
>> On 12/29/2017 04:39 AM, Christian Treczoks wrote:
>>> Public bug reported:
>>>
>>> I opened KiCAD, used "File -> Open Project", and navigated to my project
>>> directory, but despite the open requesters filter showing "KiCAD Project
>>> Files )*.pro)", it only lists the .pretty directory in that project
>>> directory. And yes, there *is* a .pro file there:
>>>
>>> -rw-rw-r-- 1 ct ct 12969 Dez 28 18:35 ArduinoModule.bak
>>> -rw-rw-r-- 1 ct ct 6096 Dez 28 19:04 ArduinoModule-cache.lib
>>> -rw-rw-r-- 1 ct ct 51 Dez 27 23:52 ArduinoModule.kicad_pcb
>>> -rw-rw-r-- 1 ct ct 15176 Dez 28 18:42 ArduinoModule.net
>>> -rw-r--r-- 1 ct ct 877 Dez 28 16:37 ArduinoModule.pro
>>> -rw-rw-r-- 1 ct ct 12867 Dez 28 19:04 ArduinoModule.sch
>>> -rw-rw-r-- 1 ct ct 543 Dez 28 18:54 fp-lib-table
>>> -rw-rw-r-- 1 ct ct 2828 Dez 28 00:52 modules.bck
>>> -rw-rw-r-- 1 ct ct 2828 Dez 28 00:52 modules.dcm
>>> -rw-rw-r-- 1 ct ct 26819 Dez 28 00:52 modules.lib
>>> drwxrwxr-x 2 ct ct 4096 Dez 28 15:44 SBC-MotoDriver2.pretty
>>> -rw-rw-r-- 1 ct ct 131 Dez 28 18:48 sym-lib-table
>>>
>>> Opening KiCAD by just double-clicking the .pro file works without
>>> problems.
>>>
>>> Application: kicad
>>> Version: no-vcs-found-5ca5783~61~ubuntu17.10.1, release build
>>> Libraries:
>>> wxWidgets 3.0.3
>>> libcurl/7.55.1 OpenSSL/1.0.2g zlib/1.2.11 libidn2/2.0.2 libpsl/0.18.0 (+libidn2/2.0.2) librtmp/2.3
>>> Platform: Linux 4.13.0-21-generic x86_64, 64 bit, Little endian, wxGTK
>>> Build Info:
>>> wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
>>> Boost: 1.62.0
>>> Curl: 7.55.1
>>> Compiler: GCC 7.2.0 with C++ ABI 1011
>>>
>>> Build settings:
>>> USE_WX_GRAPHICS_CONTEXT=OFF
>>> USE_WX_OVERLAY=OFF
>>> KICAD_SCRIPTING=ON
>>> KICAD_SCRIPTING_MODULES=ON
>>> KICAD_SCRIPTING_WXPYTHON=ON
>>> KICAD_SCRIPTING_ACTION_MENU=ON
>>> BUILD_GITHUB_PLUGIN=ON
>>> KICAD_USE_OCE=ON
>>> KICAD_SPICE=ON
>>>
>>> ** Affects: kicad
>>> Importance: Undecided
>>> Status: New
>>>
>

Revision history for this message
Eldar Khayrullin (eldar) wrote :

I don't confirm this issue.
OS: Ubuntu 17.10.

Application: kicad
Version: no-vcs-found-70f516b~61~ubuntu17.10.1, release build
Libraries:
    wxWidgets 3.0.3
    libcurl/7.55.1 OpenSSL/1.0.2g zlib/1.2.11 libidn2/2.0.2 libpsl/0.18.0 (+libidn2/2.0.2) librtmp/2.3
Platform: Linux 4.13.0-21-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.62.0
    Curl: 7.55.1
    Compiler: GCC 7.2.0 with C++ ABI 1011

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_SPICE=ON

Revision history for this message
Eldar Khayrullin (eldar) wrote :

This is kicad-locale-de package issue.
You should repost this bug in
https://github.com/KiCad/kicad-i18n/issues

Changed in kicad:
status: New → Won't Fix
Revision history for this message
Eldar Khayrullin (eldar) wrote :

@Cristian, you can check this by selecting English language in Kicad.

Revision history for this message
Rainer Beine (rainer-beine) wrote :

Works with English language, Thanks.

Revision history for this message
Marco Ciampa (ciampix) wrote :

Giving a look to the de .po file I see this that is definitely wrong:

[...]
#: common/wildcards_and_files_ext.cpp:118
msgid "KiCad symbol library files (*.lib)|*."
msgstr "KiCad Bauteilbibliotheksdatei (*.lib)|*.lib"

#: common/wildcards_and_files_ext.cpp:124
msgid "KiCad project files (*.pro)|*."
msgstr "KiCad Projektdateien (*.pro)|*.pro"

#: common/wildcards_and_files_ext.cpp:130
msgid "KiCad schematic files (*.sch)|*."
msgstr "KiCad Schaltplandateien (*.sch)|*.sch"

#: common/wildcards_and_files_ext.cpp:136
msgid "Eagle XML schematic files (*.sch)|*."
msgstr "Eagle XML Schaltplandatei (*.sch)|*.sch"

#: common/wildcards_and_files_ext.cpp:142
msgid "Eagle XML files (*.sch *.brd)|*."
msgstr "Eagle XML Dateien (*.sch *.brd)|*.sch;*.brd"
[...]

I will correct it but I want someone to re-checkit just to be sure I missed nothing...

Revision history for this message
Marco Ciampa (ciampix) wrote :

I pushed an updated and corrected (please check) .po file on master branch, please update and check it.

PS: to DE translators: translation seems to be far from complete...

Revision history for this message
Piotr Gałka (piotrgalka) wrote :

I installed today nightly and wonted to open any demo project and got to a bug like this one but at Windows.
I don't know if it is a problem of translators.
Just Open window (if Language set to Default (for me means Polish)) don't use *.pro filter which in my opinion should be defined to be independent of language so translators should have nothing to it.

Revision history for this message
Laurent Haas (efcis) wrote :

To be safe, any file extension filter part should be removed from the string to translate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.