Description: Version: 6.3.0.4 Build ID: 057fc023c990d676a43019934386b85b21a9ee99 CPU threads: 8; OS: Mac OS X 10.12.6; UI render: default; VCL: osx; I am trying to paste Hex values copied from Firefox (using WebDeveloper "Inspect Element") to a LibreOffice Writer document's table cell. When I paste the Hex value into the value box, LireOffice consistently throws the following error: "The inserted text exceeded the maximum length of this text field. The text was truncated." I am pasting six digits, no leading #. For example, I paste FFB369 (or any six-digit value) into the Hex value box, LO throws the error and in the value box I find "b00000". Verifying the copy/paste information is correct, I pasted the Hex value in the document itself and copied the freshly-pasted value from the document. When pasted into the value box LO throws the same error with the same result, "b00000". Also, when entering the value by hand, LO lags in accepting typed data. Unless typed slowly, "ffb369" becomes "fb3690". Steps to Reproduce: 1. Copy a valid six-digit Hex value from any source 2. Choose a cell in a Writer table and right-click "Properties..." 3. Paste the value into the Hex value box. Actual Results: LibreOffice Writer throws the error "The inserted text exceeded the maximum length of this text field. The text was truncated." Value automatically entered in the Hex value box is consistently "b00000". Expected Results: The pasted value should have been accepted, no error message. Reproducible: Always User Profile Reset: No Additional Info:
I confirm it with Version: 6.4.0.0.alpha0+ (x64) Build ID: f0c832acb53326ccc9a8c1a47401fbc9e1081feb CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; TinderBox: Win-x86_64@62-TDF, Branch:master, Time: 2019-09-11_05:46:53 Locale: de-DE (de_DE); UI-Language: en-US Calc: threaded and also with Version: 6.2.5.2 (x64) Build-ID: 1ec314fa52f458adc18c4f025c545a4e8b22c159 CPU-Threads: 4; BS: Windows 10.0; UI-Render: GL; VCL: win; Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE Calc: threaded
I reproduced this case on Linux Manjaro, but it depends on the way you select the existing Hex value: if you select the whole text from right to left with the mouse (for instance), this will bring the error message. Now if you select the existing value from Tab, or from double click, or even from left to right, it works.
Dear Grey, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
no repro in Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community Build ID: f8bb970fd385c80b085a071da0f8acc119498005 CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win Locale: ru-RU (ru_RU); UI: en-US Calc: threaded I see so strange behavior in HEX field => I can't delete current value and I just select all symbols and replaced it to new value from the clipboard. May be it is the problem here? Someone please retest it too
Version: 7.1.6.2 / LibreOffice Community Build ID: 0e133318fcee89abacd6a7d077e292f1145735c3 CPU threads: 8; OS: Mac OS X 10.13.6; UI render: default; VCL: osx Locale: it-IT (it_IT.UTF-8); UI: en-US Calc: threaded Retested. Results: LO still throws the same error, "The inserted text exceeded the maximum length of this text field. The text was truncated.", BUT the Hex # textbox accepts the pasted hex value instead of defaulting to an incorrect "b000000". Regarding the text entry lag, this bug no longer exists; text is accepted normally.
(In reply to Roman Kuznetsov from comment #4) > I see so strange behavior in HEX field => I can't delete current value and I > just select all symbols and replaced it to new value from the clipboard. May > be it is the problem here? Can't replicate: Values in the Hex # text field are fully editable/erasable.
The hex input is a GtkEntry with a width-request of 6 characters with the possibility to select a single or more independent characters. If a user selects for instance a single digit and tries to paste a 6 digits hex value (c99b45) then the 6 digits do not fit into the one digit number an the error message will be shown. If you select two digits and paste a hex number, then LO inserts two digits of the copied hex number. We could just select the entire text present in this field on focus, so pasting a 6 digit hex number will succeed.
I am not quite sure how to solve this correctly: - If you select just 2 numbers, these will be pasted. - If you select the entire field, the entire content will be printed. I suggest the following procedure: - Paste everything from the current cursor position iff. the cursor is at position one and just ONE digit is selected in the field. Then, paste all the 6 hex digits. - Otherwise, paste all numbers from the cursor position if just one character is selected, otherwise paste the selected ones. What do you think?
Andreas Heinisch committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/68c4dbcebed057084083b968f244b8c430a4dc60 tdf#127588 - extend selection to the entire field if nothing is selected It will be available in 7.6.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.
I could not manage to provide an UI test since the control does not support the selection of a text portion neither the movement of the cursor inside the entry field. Tested it manually and any further testing is highly appreciated!