Issue 127567 - Print Page range To - From upper boundary validations are done in two visible steps instead of one
Summary: Print Page range To - From upper boundary validations are done in two visible...
Status: UNCONFIRMED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: 4.1.3
Hardware: Mac All
: P5 (lowest) Minor (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-21 21:10 UTC by Adina Moldovan
Modified: 2018-06-18 17:36 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
The screen to use when reproducing the issue (174.03 KB, image/png)
2017-10-21 21:13 UTC, Adina Moldovan
no flags Details
The pop-up that gets displayed twice (171.34 KB, image/png)
2017-10-21 21:14 UTC, Adina Moldovan
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Adina Moldovan 2017-10-21 21:10:42 UTC
SUMMARY
The upper boundary validations on From - To fields from Page Print, don't behave the same. For both though, the validation is done in two visible steps (information message displayed twice, and values in the fields modified in two steps). This could be optimized for a better user experience. 


STEPS
1. Open any of the Open Office products, e.g Writer, Calc, Impress
2. Go to File > Print
3. Focus on Pages to print, From - To fields

CASE 1:
3. In "From" field, leave it as it is with value 1.
4. In "To" field enter an eleven digits number, e.g 11111111111
Result: After the 10th digit, the value is reset to a 6 digits number 999999, which is reasonable. The information message, though, is displayed twice.

CASE 2: 
5. In "To" field make sure you have a valid value, e.g 5
6. In "From" field enter a big number until the program allows, e.g 123456789012345678901234567890123456789012345678901234567 (57 digits)
Result: The value in "From" field is reset to 1. When I enter only the first 56 digits of the number, the info message is not displayed, the value is not reset to 1.

CASE 3:
7. In "To" field enter an accepted number
8. In "From" field enter an 11 digits number, e.g 11111111111
9. Click on the "To field" 
-> the value in both "To" and "From" becomes 2147483647. 
10. Click again in "From" field 
-> the value in "From" field becomes 999999
-> Info message is displayed "The value in the “to” field is out of range. Resetting to previous value…". Clicking ok doesn't change anything, "From field still holds value 2147483647. 
11. Click again on "To" field
-> the value in "To" field becomes 999999
-> Info message is displayed "The value in the “to” field is out of range. Resetting to previous value…".


EXPECTED RESULT
In any of the cases, not to be able to input more than the variable can hold. The variable upper limits seems to be 2^31-1, i.e 2147483647 (10 digits). If an information message is displayed, to be displayed only once.


VIDEO 
https://screencast.com/t/qvfhsJvSA1

Open the link in a browser that supports flash player, e.g Chrome. You might need to enable flash https://support.digication.com/hc/en-us/articles/115003963468-Enabling-Flash-for-Google-Chrome-Windows-Macintosh-
Comment 1 Adina Moldovan 2017-10-21 21:13:10 UTC
Created attachment 86230 [details]
The screen to use when reproducing the issue
Comment 2 Adina Moldovan 2017-10-21 21:14:36 UTC
Created attachment 86231 [details]
The pop-up that gets displayed twice
Comment 3 yangelmar 2018-06-18 05:03:35 UTC
check this one..

http://net-informations.com/q/mis/flash.html
Comment 4 Marcus 2018-06-18 17:36:55 UTC
(In reply to yangelmar from comment #3)
> check this one..
> 
> http://net-informations.com/q/mis/flash.html

Please ignore this link as it's pure spam.