[Libreoffice-bugs] [Bug 127840] date field changed to +/- 31
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat Sep 28 10:59:24 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=127840
Laurent BP <jumbo4444 at yahoo.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jumbo4444 at yahoo.fr
Keywords| |regression
Version|6.3.2.2 release |6.3.0.4 release
Status|UNCONFIRMED |ASSIGNED
Assignee|libreoffice-bugs at lists.free |jumbo4444 at yahoo.fr
|desktop.org |
Ever confirmed|0 |1
--- Comment #2 from Laurent BP <jumbo4444 at yahoo.fr> ---
This limit is given by:
https://opengrok.libreoffice.org/xref/core/sw/source/ui/fldui/flddok.cxx?r=deb37c44#307
m_xDateOffsetED->set_range(-31, 31); // one month
in LibO 6.3+
In 6.2 branch, equivalent code is:
m_pDateOffsetED->SetFirst(-31); // one month
m_pDateOffsetED->SetLast(31);
modified by commit
https://cgit.freedesktop.org/libreoffice/core/commit/sw/source/ui/fldui/flddok.cxx?id=263684239168d88ae42637f72640048bd04e1aec
Actually in 6.2 branch, ±31 value is the limit of PageUp/Down keys. But user
can enter higher values, with Up/Down keys or by direct editing.
In 6.3 branch, this value is now a blocking value.
There is the same effect with time: limit is 1 day, which is logical IMHO. On
the opposite, for a date user may need to add an offset higher than 1 month (1
year for instance).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190928/b8475615/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list