[Libreoffice-bugs] [Bug 140286] CALC formula =INFO("OSVERSION") gives wrong output in linux

2022-01-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140286

--- Comment #15 from Chris Sherlock  ---
What should it show for MacOS?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 140286] CALC formula =INFO("OSVERSION") gives wrong output in linux

2022-01-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140286

Jan-Marek Glogowski  changed:

   What|Removed |Added

 CC||glo...@fbihome.de

--- Comment #14 from Jan-Marek Glogowski  ---
I'm not sure how much sense it makes to show the Linux kernel version. Maybe
just as a fallback, if "lsb_release -d" has no result? Not sure how common the
lsb tools are installed. I doubt LO depends at all somehow on the Linux kernel
version.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 140286] CALC formula =INFO("OSVERSION") gives wrong output in linux

2022-01-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140286

--- Comment #13 from Eike Rathke  ---
If some devs on Mac and/or Windows could check with that patch added what
Application::GetOSVersion() gives and whether the result is usable for the
INFO("osversion") call?
See sc/source/core/tool/interpr5.cxx ScInterpreter::ScInfo()

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 140286] CALC formula =INFO("OSVERSION") gives wrong output in linux

2022-01-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140286

--- Comment #12 from Commit Notification 
 ---
scito committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/4d0d4fb11f7251e0437ec8e6fe7b7693f3a31800

tdf#140286 fix INFO("OSVERSION") for Linux: return kernel version

It will be available in 7.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 140286] CALC formula =INFO("OSVERSION") gives wrong output in linux

2022-01-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140286

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:7.4.0

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 140286] CALC formula =INFO("OSVERSION") gives wrong output in linux

2021-12-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140286

Roland Kurmann  changed:

   What|Removed |Added

 CC||i...@scito.ch

--- Comment #11 from Roland Kurmann  ---
"Windows (32-bit) NT 5.01" is a hard coded string in the source (interpr5.cxx).

It came with commit 2ff54fbac26a884e53e74f44db7831cc179a6a97 (2006).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 140286] CALC formula =INFO("OSVERSION") gives wrong output in linux

2021-11-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140286

--- Comment #10 from pharmankur  ---
Any updates on this ?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 140286] CALC formula =INFO("OSVERSION") gives wrong output in linux

2021-02-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140286

Eike Rathke  changed:

   What|Removed |Added

 OS|Linux (All) |All

--- Comment #9 from Eike Rathke  ---
I presume we could use the same information as for Environment OS in the Help
-> About dialog, which calls Application::GetHWOSConfInfo(). That can't be used
though because it concatenates CPUs and OS, but a similar function could be
introduced returning only the OS and version without label, i.e. using the
overridden SalInstance::getOSVersion() return value. Whatever that gives for
Windows might have to be massaged into shape to somewhat resemble the Excel
string.

And what does Excel on MacOS produce?

I'd make this an EasyHack once we clarified what we actually want here..

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 140286] CALC formula =INFO("OSVERSION") gives wrong output in linux

2021-02-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140286

Regina Henschel  changed:

   What|Removed |Added

 CC||rb.hensc...@t-online.de

--- Comment #8 from Regina Henschel  ---
(In reply to Eike Rathke from comment #5)
> Btw, what does current Excel on a current Windows return?

My Windows 10 Home, OS build 19041.746
is correctly reported by Excel as
Windows (64-bit) NT 10.00
and wrongly by LibreOffice as
Windows (32-bit) NT 5.01

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 140286] CALC formula =INFO("OSVERSION") gives wrong output in linux

2021-02-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140286

--- Comment #7 from himajin100...@gmail.com ---
64 bit MS Office may give different value (but I don't have 64 bit MS Office)

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 140286] CALC formula =INFO("OSVERSION") gives wrong output in linux

2021-02-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140286

--- Comment #6 from himajin100...@gmail.com ---
Excel 2016 On Windows 10 Shows:

Windows (32-bit) NT 10.00

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 140286] CALC formula =INFO("OSVERSION") gives wrong output in linux

2021-02-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140286

Eike Rathke  changed:

   What|Removed |Added

   Hardware|x86-64 (AMD64)  |All
Version|4.1 all versions|Inherited From OOo

--- Comment #5 from Eike Rathke  ---
Reason probably being that it's there because of Excel Windows
interoperability.
I'm unbiased, I don't mind if we change it to return the actual OS (and
possibly version), but I also don't know the use case of this function/argument
at all or if and how documents rely on it (and why).

Btw, what does current Excel on a current Windows return?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 140286] CALC formula =INFO("OSVERSION") gives wrong output in linux

2021-02-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140286

--- Comment #4 from himajin100...@gmail.com ---
This hasn't changed since 2006

https://opengrok.libreoffice.org/diff/core/sc/source/core/tool/interpr5.cxx?r1=%2Fcore%2Fsc%2Fsource%2Fcore%2Ftool%2Finterpr5.cxx%40fe4a73e0=%2Fcore%2Fsc%2Fsource%2Fcore%2Ftool%2Finterpr5.cxx%402ff54fba

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 140286] CALC formula =INFO("OSVERSION") gives wrong output in linux

2021-02-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140286

Xisco Faulí  changed:

   What|Removed |Added

 CC||er...@redhat.com

--- Comment #3 from Xisco Faulí  ---
@Eike, I thought you might be interested in this issue

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 140286] CALC formula =INFO("OSVERSION") gives wrong output in linux

2021-02-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140286

Xisco Faulí  changed:

   What|Removed |Added

Version|unspecified |4.1 all versions

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 140286] CALC formula =INFO("OSVERSION") gives wrong output in linux

2021-02-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140286

Xisco Faulí  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||xiscofa...@libreoffice.org
 Ever confirmed|0   |1

--- Comment #2 from Xisco Faulí  ---
Reproduced in

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: dc1b416c684c4e2525978e48252d55d78adcfca8
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Version: 5.2.0.0.alpha1+
Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; 
Locale: ca-ES (ca_ES.UTF-8)

Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 140286] CALC formula =INFO("OSVERSION") gives wrong output in linux

2021-02-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140286

--- Comment #1 from pharmankur  ---
Created attachment 169604
  --> https://bugs.documentfoundation.org/attachment.cgi?id=169604=edit
INFO("OSVERSION") formula result example

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs