More information in About dialog

classic Classic list List threaded Threaded
21 messages Options
Next » 12
Pedro Pedro
Reply | Threaded
Open this post in threaded view
|

More information in About dialog

Hi all

The most frequent questions from people providing help in the User mailing list and in the Bug tracker is: "What is your OS architecture?", "Are you using the 32 bit version of LibreOffice ?"

Isn't it possible that this information is included in the About dialog?

In addition to

Version: 5.1.1.3
Build ID: 89f508ef3ecebd2cfb8e1def0f0ba9a803b88a6d
CPU Threads: 2; OS Version: Windows 5.1; UI Render: default;
Locale: pt-PT (pt_PT)

something like

Version: 5.1.1.3 (x86 = 32bit)
Build ID: 89f508ef3ecebd2cfb8e1def0f0ba9a803b88a6d
CPU Threads: 2; OS Version: Windows 5.1 (x64 =64bit); UI Render: default;
Locale: pt-PT (pt_PT)

Of course supporting users would still have to ask the user to copy and paste the info from the About dialog, but it would save the time to ask (and/or explain) the OS architecture and the LibreOffice architecture (most new Windows machines have an x64 OS but you can't assume that LibreOffice is also...)

Should I create an enhancement request on this? Is it useful? Will someone care?

Cheers,
Pedro
V Stuart Foote V Stuart Foote
Reply | Threaded
Open this post in threaded view
|

Re: More information in About dialog

@Pedro, *
Pedro wrote
The most frequent questions from people providing help in the User mailing list and in the Bug tracker is: "What is your OS architecture?", "Are you using the 32 bit version of LibreOffice ?"

Isn't it possible that this information is included in the About dialog?

In addition to

Version: 5.1.1.3
Build ID: 89f508ef3ecebd2cfb8e1def0f0ba9a803b88a6d
CPU Threads: 2; OS Version: Windows 5.1; UI Render: default;
Locale: pt-PT (pt_PT)
Not sure anything more is needed.  The only issue we do not know is whether your OS  (Windows XP in this case) is 32-bit or 64-bit. Obviously you would not be running the 64-bit build on a 32-bit OS.

And, when the 64-bit build of LibreOffice is installed, it is already labeled (x64), as in this example:

Version: 5.1.1.2 (x64)
Build ID: fe4d9e69c82c6ee6db3c27cd5e2d47558afa80ac
CPU Threads: 8; OS Version: Windows 6.29; UI Render: default;
Locale: en-US (en_US)

In this case installed on a Windows 8.1 64-bit en-US

Stuart
Pedro Pedro
Reply | Threaded
Open this post in threaded view
|

Re: More information in About dialog

Hi Stuart, all

V Stuart Foote wrote
And, when the 64-bit build of LibreOffice is installed, it is already labeled (x64), as in this example:

Version: 5.1.1.2 (x64)
Build ID: fe4d9e69c82c6ee6db3c27cd5e2d47558afa80ac
CPU Threads: 8; OS Version: Windows 6.29; UI Render: default;
Locale: en-US (en_US)

In this case installed on a Windows 8.1 64-bit en-US
Good point. I hadn't noticed that in the x64 version. Then it is useless indeed.

I'm surprised that Windows 8.1 is 6.29
My Windows 10 Home is 6.19... I would expect Windows 10 to have a higher number than 8.1 but then again Windows version numbers never made much sense :)

Thanks!

Pedro
V Stuart Foote V Stuart Foote
Reply | Threaded
Open this post in threaded view
|

Re: More information in About dialog

Pedro Pedro
Reply | Threaded
Open this post in threaded view
|

Re: More information in About dialog

Ok. So LibreOffice is not getting the Windows version correctly.

In fact, if I open a command window I get "Microsoft Windows [Version 10.0.10586]" which makes sense and agrees with the MSDN page.
jphilipz jphilipz
Reply | Threaded
Open this post in threaded view
|

Re: More information in About dialog

Hi,

I had mentioned the issue to Meeks last week and he said "Oh - so; those
numbers have to go through a mapping table to be human
readable. And - worse - they are now trying hard not to expose windows
version information in their new APIs."

On 03/08/2016 03:13 AM, Pedro wrote:
> V Stuart Foote wrote
>> See this MSDN note:
>>
>> https://msdn.microsoft.com/en-us/library/windows/desktop/ms724832%28v=vs.85%29.aspx
>
> Ok. So LibreOffice is not getting the Windows version correctly.
>
> In fact, if I open a command window I get "Microsoft Windows [Version
> 10.0.10586]" which makes sense and agrees with the MSDN page.

_______________________________________________
List Name: Libreoffice-qa mailing list
Mail address: [hidden email]
Change settings: https://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
Tommy Tommy
Reply | Threaded
Open this post in threaded view
|

Re: More information in About dialog

In reply to this post by Pedro
Pedro wrote:

> Hi all
>
> The most frequent questions from people providing help in the User mailing
> list and in the Bug tracker is: "What is your OS architecture?", "Are you
> using the 32 bit version of LibreOffice ?"
>
> Isn't it possible that this information is included in the About dialog?
>
> In addition to
>
> Version: 5.1.1.3
> Build ID: 89f508ef3ecebd2cfb8e1def0f0ba9a803b88a6d
> CPU Threads: 2; OS Version: Windows 5.1; UI Render: default;
> Locale: pt-PT (pt_PT)
>
> something like
>
> Version: 5.1.1.3 *(x86 = 32bit)*
> Build ID: 89f508ef3ecebd2cfb8e1def0f0ba9a803b88a6d
> CPU Threads: 2; OS Version: Windows 5.1 *(x64 =64bit)*; UI Render: default;
> Locale: pt-PT (pt_PT)
>
> ....
 >
> Should I create an enhancement request on this? Is it useful? Will someone
> care?
>
> Cheers,
> Pedro
>

I think it would be useful for the final releases of LibO where I don't
see such an info

in the dev daily builds I see some kind of this informations near the
tinderbox stats.

Version: 5.2.0.0.alpha0+
Build ID: f64a190f52f9e9c76c2a0d18f072938b5df93aae
CPU Threads: 4; OS Version: Windows 6.29; UI Render: default;
TinderBox: Win-x86@42, Branch:master, Time: 2016-02-28_14:15:03
Locale: it-IT (it_IT)

but I think it would be easier to see it after the version number as you
suggested




_______________________________________________
List Name: Libreoffice-qa mailing list
Mail address: [hidden email]
Change settings: https://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
Pedro Pedro
Reply | Threaded
Open this post in threaded view
|

Re: More information in About dialog

Hi Tommy

Tommy wrote
Version: 5.2.0.0.alpha0+
Build ID: f64a190f52f9e9c76c2a0d18f072938b5df93aae
CPU Threads: 4; OS Version: Windows 6.29; UI Render: default;
TinderBox: Win-x86@42, Branch:master, Time: 2016-02-28_14:15:03
Locale: it-IT (it_IT)

but I think it would be easier to see it after the version number as you
suggested
In the example you provided it only shows that the daily is Win x86 (because it's from a Win-x86 labeled Tinderbox).
But as Stuart pointed out you already have that information because if the "Version:" information does NOT end with (x64) then it is the 32 bit version (x86)
The only bit of information that it is actually missing is the architecture of the OS.

But this is only relevant in the case that someone is running the 32bit version in a 64bit OS.

It is probably not worth the effort.
mhenriday mhenriday
Reply | Threaded
Open this post in threaded view
|

Re: More information in About dialog

In reply to this post by Pedro
2016-03-07 18:47 GMT+01:00 Pedro <[hidden email]>:
Hi all

The most frequent questions from people providing help in the User mailing
list and in the Bug tracker is: "What is your OS architecture?", "Are you
using the 32 bit version of LibreOffice ?"

Isn't it possible that this information is included in the About dialog?

In addition to

Version: 5.1.1.3
Build ID: 89f508ef3ecebd2cfb8e1def0f0ba9a803b88a6d
CPU Threads: 2; OS Version: Windows 5.1; UI Render: default;
Locale: pt-PT (pt_PT)

something like

Version: 5.1.1.3 *(x86 = 32bit)*
Build ID: 89f508ef3ecebd2cfb8e1def0f0ba9a803b88a6d
CPU Threads: 2; OS Version: Windows 5.1 *(x64 =64bit)*; UI Render: default;
Locale: pt-PT (pt_PT)

Of course supporting users would still have to ask the user to copy and
paste the info from the About dialog, but it would save the time to ask
(and/or explain) the OS architecture and the LibreOffice architecture (most
new Windows machines have an x64 OS but you can't assume that LibreOffice is
also...)

Should I create an enhancement request on this? Is it useful? Will someone
care?

Cheers,
Pedro

On Linux Mint 17.3, I install newer versions of ​
​LO via a ppa, but there I find no information regarding whether the versions to be installed are 32-bit or 64-bit. If I check my current version in LO, I see the following :

Version: 5.1.1.2
Build ID: 1:5.1.1~rc2-0ubuntu1~trusty0
CPU-trådar: 4; Version av operativsystem: Linux 4.2; UI-rendering: standard;
Språkinställning: sv-SE (sv_SE.UTF-8)

but no information on whether the version I have installed is, in fact, 32-bit or 64-bit. Is there anyway to obtain this information ?...

Henri

_______________________________________________
List Name: Libreoffice-qa mailing list
Mail address: [hidden email]
Change settings: https://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
Pedro Pedro
Reply | Threaded
Open this post in threaded view
|

Re: More information in About dialog

Hi Henri

mhenriday wrote
Version: 5.1.1.2
Build ID: 1:5.1.1~rc2-0ubuntu1~trusty0
CPU-trådar: 4; Version av operativsystem: Linux 4.2; UI-rendering:
standard;
Språkinställning: sv-SE (sv_SE.UTF-8)

but no information on whether the version I have installed is, in fact,
32-bit or 64-bit. Is there anyway to obtain this information ?...
Assuming that the logic that Stuart mentioned for LibreOffice under Windows also applies to Linux (it should) then since your LibreOffice reports "Version: 5.1.1.2" it is the 32bit (x86) version (otherwise it would say "Version: 5.1.1.2 (x64)")
I assume that your Linux Mint is probably also 32bit since the ppa should get the same architecture as the OS...

Hope this helps
Pedro
mhenriday mhenriday
Reply | Threaded
Open this post in threaded view
|

Re: More information in About dialog

​2​
016-03-11 13:00 GMT+01:00 Pedro <[hidden email]>:
Hi Henri

mhenriday wrote
> Version: 5.1.1.2
> Build ID: 1:5.1.1~rc2-0ubuntu1~trusty0
> CPU-trådar: 4; Version av operativsystem: Linux 4.2; UI-rendering:
> standard;
> Språkinställning: sv-SE (sv_SE.UTF-8)
>
> but no information on whether the version I have installed is, in fact,
> 32-bit or 64-bit. Is there anyway to obtain this information ?...

Assuming that the logic that Stuart mentioned for LibreOffice under Windows
also applies to Linux (it should) then since your LibreOffice reports
"Version: 5.1.1.2" it is the 32bit (x86) version (otherwise it would say
"Version: 5.1.1.2 (x64)")
I assume that your Linux Mint is probably also 32bit since the ppa should
get the same architecture as the OS...

Hope this helps
Pedro

Thanks for your speedy reply, Pedro !​ My Linux Mint 17.3-version is, on the contrary, a 64-bit version, which I could confirm by running uname -a in a terminal, as seen below :
 
Linux XXXXXXXXXXXXXX 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Thus, if, indeed, the ppa's do automatically follow system architecture, my version of LibO should be 64-bit. But I should very much like to be able to confirm this....

Henri

_______________________________________________
List Name: Libreoffice-qa mailing list
Mail address: [hidden email]
Change settings: https://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
Rene Engelhard Rene Engelhard
Reply | Threaded
Open this post in threaded view
|

Re: More information in About dialog

Hi,

On Fri, Mar 11, 2016 at 01:16:14PM +0100, M Henri Day wrote:
>    ​Thanks for your speedy reply, Pedro !​ My Linux Mint 17.3-version is, on
>    the contrary, a 64-bit version, which I could confirm by running uname -a
>    in a terminal, as seen below :
>     
>    Linux XXXXXXXXXXXXXX 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22
>    15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

That is just the kernel. You can perfectly runa 64bit kernel but with a 32bit
userland, thus making it basically a 32bit thing.

If you want the distro architecture, for Debian-based stuff (as Mint is):
Use dpkg-architecture (from dpkg-dev)

Regards,

Rene

_______________________________________________
List Name: Libreoffice-qa mailing list
Mail address: [hidden email]
Change settings: https://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
Rene Engelhard Rene Engelhard
Reply | Threaded
Open this post in threaded view
|

Re: More information in About dialog

In reply to this post by mhenriday
On Fri, Mar 11, 2016 at 01:16:14PM +0100, M Henri Day wrote:
>      Assuming that the logic that Stuart mentioned for LibreOffice under
>      Windows
>      also applies to Linux (it should) then since your LibreOffice reports
>      "Version: 5.1.1.2" it is the 32bit (x86) version (otherwise it would say
>      "Version: 5.1.1.2 (x64)")

It doesn't. Necer saw (x64) there. Probably because a) 64 bit is common
in Linux now whereas it's not in Windows b) most users of Windows don't
even know what they run....

Regards,

Rene
_______________________________________________
List Name: Libreoffice-qa mailing list
Mail address: [hidden email]
Change settings: https://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
mhenriday mhenriday
Reply | Threaded
Open this post in threaded view
|

Re: More information in About dialog

In reply to this post by Rene Engelhard
2016-03-11 14:28 GMT+01:00 Rene Engelhard <[hidden email]>:
Hi,

On Fri, Mar 11, 2016 at 01:16:14PM +0100, M Henri Day wrote:
>    ​Thanks for your speedy reply, Pedro !​ My Linux Mint 17.3-version is, on
>    the contrary, a 64-bit version, which I could confirm by running uname -a
>    in a terminal, as seen below :
>     
>    Linux XXXXXXXXXXXXXX 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22
>    15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

That is just the kernel. You can perfectly runa 64bit kernel but with a 32bit
userland, thus making it basically a 32bit thing.

If you want the distro architecture, for Debian-based stuff (as Mint is):
Use dpkg-architecture (from dpkg-dev)

Regards,

Rene

Thanks for the clarification, René !​
 
​Running, as you suggested, «dpkg-architecture» in a terminal. I get the following :

​DEB_BUILD_ARCH=amd64
DEB_BUILD_ARCH_BITS=64
DEB_BUILD_ARCH_CPU=amd64
DEB_BUILD_ARCH_ENDIAN=little
DEB_BUILD_ARCH_OS=linux
DEB_BUILD_GNU_CPU=x86_64
DEB_BUILD_GNU_SYSTEM=linux-gnu
DEB_BUILD_GNU_TYPE=x86_64-linux-gnu
DEB_BUILD_MULTIARCH=x86_64-linux-gnu
DEB_HOST_ARCH=amd64
DEB_HOST_ARCH_BITS=64
DEB_HOST_ARCH_CPU=amd64
DEB_HOST_ARCH_ENDIAN=little
DEB_HOST_ARCH_OS=linux
DEB_HOST_GNU_CPU=x86_64
DEB_HOST_GNU_SYSTEM=linux-gnu
DEB_HOST_GNU_TYPE=x86_64-linux-gnu
DEB_HOST_MULTIARCH=x86_64-linux-gnu

which, I presume, suffices to demonstrate that not merely the 4.2.0-27 Linux kernel but the Mint userland is 64-bit (please correct me if I'm wrong). I'd still like to know how to confirm that the same is true of the LibO version I have installed....

Henri

_______________________________________________
List Name: Libreoffice-qa mailing list
Mail address: [hidden email]
Change settings: https://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
V Stuart Foote V Stuart Foote
Reply | Threaded
Open this post in threaded view
|

Re: More information in About dialog

mhenriday wrote
I'd still like to know how to confirm that the same is true of the
LibO version I have installed....
Suspect a terminal session with cd to the LibreOffice installation and running "file soffice" would suffice.
Pedro Pedro
Reply | Threaded
Open this post in threaded view
|

Re: More information in About dialog

In reply to this post by Rene Engelhard
Rene Engelhard wrote
>      Assuming that the logic that Stuart mentioned for LibreOffice under
>      Windows
>      also applies to Linux (it should) then since your LibreOffice reports
>      "Version: 5.1.1.2" it is the 32bit (x86) version (otherwise it would say
>      "Version: 5.1.1.2 (x64)")

It doesn't. Necer saw (x64) there. Probably because a) 64 bit is common
in Linux now whereas it's not in Windows b) most users of Windows don't
even know what they run....
It couldn't be simple and consistent, could it?

Regarding your points a) the majority of new machines since Windows 7 do have an x64 OS and b) true (in fact it would be fantastic if people didn't even had to know there is an OS, like in many other devices)

I just tested on a Ubuntu 14.04 x64 machine and doing a "file soffice.bin" (located in /usr/lib/libreoffice/program) does report it is 64bit
I can confirm that LibreOffice 5.1.1.2 (from the ppa) does not mention x64 in the About dialog box.

Sorry for assuming there was some logic :)

Regards,
Pedro
mhenriday mhenriday
Reply | Threaded
Open this post in threaded view
|

Re: More information in About dialog

In reply to this post by V Stuart Foote
2016-03-11 15:05 GMT+01:00 V Stuart Foote <[hidden email]>:
mhenriday wrote
> I'd still like to know how to confirm that the same is true of the
> LibO version I have installed....

Suspect a terminal session with cd to the LibreOffice installation and
running "file soffice" would suffice.

Thanks, Stuart and Pedro ! After cd-ing into /usr/lib/libreoffice/program​
​ and carrying out file soffice.bin. I got the following :

soffice.bin: ELF 64-bit LSB  executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=27493df93a63ab929c8e9776855d748b5b73ba4c, stripped

Now I know !... :-)

Henri

_______________________________________________
List Name: Libreoffice-qa mailing list
Mail address: [hidden email]
Change settings: https://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
Michael Meeks-5 Michael Meeks-5
Reply | Threaded
Open this post in threaded view
|

Re: More information in About dialog

In reply to this post by Pedro

On Mon, 2016-03-07 at 10:47 -0700, Pedro wrote:
> The most frequent questions from people providing help in the User mailing
> list and in the Bug tracker is: "What is your OS architecture?", "Are you
> using the 32 bit version of LibreOffice ?"

        Originally I was rather nervous about extending the info. available in
the about dialog - since we were going to push some sub-set of it up to
the server to help get better data on our users' systems.

        However =) I've abandoned that idea; at least until we can get resource
to make that opt-in. So - as such, its just a matter of extending the
code in:

        Application::GetHWOSConfInfo()

        In this case we could do some fun at compile time in
vcl/source/app/svapp.cxx - it should be a ~trivial easy-hack. Would be
great if someone could file it :-) detecting 64bit-ness can be done
with:

#if SAL_TYPES_SIZEOFPOINTER == 4
        append ("32")
#else SAL_TYPES_SIZEOFPOINTER == 8
        append ("64")
    typedef sal_uInt64          sal_Size;
    typedef sal_Int64           sal_sSize;
#else
    #error "Please make sure SAL_TYPES_SIZEOFPOINTER is defined for your
architecture/compiler"
#endif

        Or somesuch =) anyone up for the easy hack ?

        Thanks !

                Michael.

--
 [hidden email]  <><, Pseudo Engineer, itinerant idiot

_______________________________________________
List Name: Libreoffice-qa mailing list
Mail address: [hidden email]
Change settings: https://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
V Stuart Foote V Stuart Foote
Reply | Threaded
Open this post in threaded view
|

Re: More information in About dialog

In reply to this post by Pedro
Pedro wrote
It couldn't be simple and consistent, could it?
Actually,  I had thought the (x64) was being applied to info "About" dialog for all builds =)

But perusing the code showed it had only been done to distinguish the 64-bit Windows builds. [1]  Hmm, maybe I need to spend more time in Linux sessions.

Anyhow, Michael M.'s suggested easy hack looks to provide hooks for a consistent indicator on all build platforms.  Any takers?

=-ref-=
[1.]  http://opengrok.libreoffice.org/xref/core/cui/source/dialogs/about.cxx?#278
Pedro Pedro
Reply | Threaded
Open this post in threaded view
|

Re: More information in About dialog

Hi Stuart, all

V Stuart Foote wrote
Anyhow, Michael M.'s suggested easy hack looks to provide hooks for a consistent indicator on all build platforms.  Any takers?
Code is a foreign incomprehensible language to me, but as far as I can tell, Michael is referring to "GetHWOSConfInfo" which I assume means Get Hardware OS so he is showing how to add the missing OS architecture info

However this does not make the indicator of LibreOffice architecture consistent across platforms.

BTW I believe it would be better to be consistent and use 32-bit and 64-bit for both informations (OS and LibreOffice)

(Some) people know that the higher number is the newest, unlike x86 and x64 where the highest number is the oldest :)
In any case x86 and x64 is a reference to the CPU architecture which is clearly not common knowledge (I would dare to say it's geek-knowledge) .

Cheers,
Pedro
Next » 12