Wrong windows platform in About window


#1

Before I report this as a bug, when look at the About window the Platform field doesn’t report my system properly. Here is my OS information from my system about window (screenshot because windows is arbitrary about when you can select text to put in the clipboard…):
2018-07-03%2000_22_28-Settings

Here is the copied version information from KiCad:

Application: kicad
Version: (5.0.0-rc3-dev), release build
Libraries:
    wxWidgets 3.0.3
    libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.11 libssh2/1.8.0 nghttp2/1.23.1 librtmp/2.3
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.60.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.54.1
    Compiler: GCC 7.1.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_USE_OCC=OFF
    KICAD_SPICE=ON

Before I submit this as a bug report on launchpad, I want to check that this really is an error. Should that Platform field be the host machine, or is it the machine that the binaries were compiled on?

I had mentioned this on another thread for my work machine here Arrows of the window scrollbars seem inactive (v5) but wasn’t able to check on my home computer until I got home… :wink:


#2

I have a win10-64 machine…

Application: kicad
Version: (5.0.0-rc2-178-g3c7b91b96), release build
Libraries:
wxWidgets 3.0.3
libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.11 libssh2/1.8.0 nghttp2/1.23.1 librtmp/2.3
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.60.0
OpenCASCADE Community Edition: 6.8.0
Curl: 7.54.1
Compiler: GCC 7.1.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_USE_OCC=OFF
KICAD_SPICE=ON


#3

What about other platforms, all you non windows users out there. Assuming you didn’t build your own package, what does your version info say about the platform vs. the platform that you are running it on?

I don’t want to submit the bug report that I’ve written if this is a misunderstanding on my part of what the value of that field should me. (i.e. I’d rather look dumb to y’all, than waste the developer’s time correcting my misunderstanding.)


#4

common/dialog_about/dialog_about.cpp:
aMsg << "Platform: " << wxGetOsDescription() << ", "

http://docs.wxwidgets.org/3.1/group__group__funcmacro__networkuseros.html:
“Returns the string containing the description of the current platform in a user-readable form.”

So maybe it’s a wxWidgets bug?


#5

Thanx for that investigation @eelik. I’ve submitted the bug report linking your comment on this thread here: https://bugs.launchpad.net/kicad/+bug/1779864


#6

It’s a wxWidgets bug, a fix has just been committed there.

I doubt it will be included in the 5.0 release binaries though.


#7

Thank you for the update.