Bug 155615

Summary: Bad selection change events in bibliography listboxes
Product: LibreOffice Reporter: Andreas Säger <villeroy>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: dgp-mail
Priority: medium    
Version: 7.5.4.2 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 101258    

Description Andreas Säger 2023-05-31 20:06:03 UTC
Description:
Tools>Bibliographic Database... [Column Assignment] opens a dialog with many listboxes where you map database columns to bibliographic fields.
Each of these listboxes removes an existing assignment as you browse the dropped--down list entries. 
"Short name" is mapped to the "Identifier" column of the default dBase biblio.
Now drop down some other listbox and type letter "I" which will select "Identifier" and remove the existing assignment even if you finally choose the right listbox entry. The assignment "Short name" = "Identifier" is lost.

This could be the cause of many problems with this tool.

Steps to Reproduce:
1. Tools>Bibliographic database.... 
2. Button [Column Arrangement]
3. Notice that "Short name" is assigned to the "Identifier"
4. Drop down any other listbox, navigate to the "Identifier" using the up/down arrows

Actual Results:
The existing "Identifier" assignment is removed although you did not finish the selection in the other listbox.

Expected Results:
Whatever, but not this. Even a duplicate assignment would be better.


Reproducible: Always


User Profile Reset: No

Additional Info:
Keep existing assignments while browsing another listbox.
Comment 1 Dieter 2023-06-11 10:13:17 UTC
I confirm it with

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 389a8d52d9961f89c0b2847b30ee1ca59a8fdc80
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

Steps (little modification)
1. Tools>Bibliographic database.... 
2. Press button "Column Arrangement"
3. Open any dropdown list and scroll up and down with arrow key

Actual result:
Actual setting in every dropdown list changes to <none>

Expected result:
Should only change if you select it (for example by pressing Enter)