Bug 118106 - Unsuccessful record search causes form to change focus to previous record, but displays empty fields where pre-existing data should appear
Summary: Unsuccessful record search causes form to change focus to previous record, bu...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
4.3 all versions
Hardware: x86-64 (AMD64) Linux (All)
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-11 03:03 UTC by David C Mckenna
Modified: 2024-11-08 03:15 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
example database (11.44 KB, application/vnd.oasis.opendocument.database)
2018-06-11 03:06 UTC, David C Mckenna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David C Mckenna 2018-06-11 03:03:50 UTC
Description:
With a new record selected in a form, upon closing search dialogue box after an unsuccessful 'find record', focus in form changes to previously saved record but appears empty of data. If user did not notice the change in the record number on the form navigation tool bar, it would appear that the form's focus was still on the new record and the previously entered data which is not being displayed could be overwritten.

Steps to Reproduce:
1.on form navigation tool bar select 'New Record'
2.on form navigation tool bar select 'Find Record'
3.enter search string that will not be matched in text field
4.click on 'search'
5.No records corresponding to your data found. click on 'OK'
6.Make a note of the record number displayed on the form's navigation bar.
7.on the Record Search dialogue box click on 'close'

Actual Results:  
The record number displayed on the form's navigation bar will have decreased by one. The fields that contain data which should be displayed when that record is selected will be blank, however anything entered will overwrite the existing data. 

Expected Results:
The focus of the form should remain on the new record. If this is impracticable and the focus must change to the previous record, its data should be displayed on the form. 


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 5.4.7.2
Build ID: c838ef25c16710f8838b1faec480ebba495259d0
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk2; 
Locale: en-US (en_US.UTF-8); Calc: group


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36
Comment 1 David C Mckenna 2018-06-11 03:06:45 UTC
Created attachment 142644 [details]
example database
Comment 2 Drew Jensen 2018-06-11 04:45:13 UTC
Confirmed. 

Checked on Ubuntu 18.04 64bit w/5.4.7 rel, 5.4.8 daily build, 6.0.5 daily, 6.1beta1

Two small differences between versions: in the 5.4.x versions the UI of record x of  x shows a double glyph for the 'record of x' (in the example it is a 4 super imposed over a 5, 5 was the record count when on the new record row).

In the 6.x versions that 'record of x' changed to a 4.

In all versions the first 3 fields are blanked out and if you enter data into any of them it overwrites the data currently in record 4. In the 5.x versions all four fields are empty.
Comment 3 Xisco Faulí 2018-06-12 10:02:27 UTC
Also reproduced in

Version: 4.3.0.0.alpha1+
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e
Comment 4 QA Administrators 2019-06-13 03:01:26 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2021-06-13 03:48:29 UTC Comment hidden (obsolete)
Comment 6 Jorge Teixeira 2022-11-08 13:41:25 UTC
Bug still present in LO 7.4.2.3.

Version: 7.4.2.3 (x64) / LibreOffice Community
Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: pt-PT (pt_PT); UI: en-US
Calc: threaded
Comment 7 QA Administrators 2024-11-08 03:15:00 UTC
Dear David C Mckenna,

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