Issue 108375 - OO Base : crash on a search in a form
Summary: OO Base : crash on a search in a form
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: OOO320m9
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: OOo 3.2.1
Assignee: marc.neumann
QA Contact: issues@dba
Keywords: oooqa
Depends on:
Blocks: 109046
  Show dependency tree
Reported: 2010-01-16 04:24 UTC by guijo
Modified: 2017-05-20 10:24 UTC (History)
3 users (show)

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

Sample crashing database (441.39 KB, application/vnd.sun.xml.base)
2010-01-16 04:25 UTC, guijo
no flags Details
patch (10.44 KB, patch)
2010-01-17 20:04 UTC, Frank Schönheit
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description guijo 2010-01-16 04:24:21 UTC
OpenOffice Base crashes when clicking on the search button in a form.

Procedure (in OO Base 3.2.0 RC2 French) :
1. Open attached database (where do we attach files ?? Hope the issue tracker
allows me to attach files later on)
2. Open form : "Saisie Clients"
3. Click on the "Search a record" (binoculars) button
Comment 1 guijo 2010-01-16 04:25:24 UTC
Created attachment 67231 [details]
Sample crashing database
Comment 2 guijo 2010-01-16 04:26:05 UTC
Note : the base was created under OOo 3.1.0 FR
Comment 3 r4zoli 2010-01-16 09:15:57 UTC
I tested on linux with en_US version no crash. Changed subcomponent.
Comment 4 drewjensen.inbox 2010-01-16 15:09:42 UTC
Checked w/ Win XP, OOO320_RC2

Confirmed that using the supplied bug doc, the Salisie Cients form, place cursor
in 'Client Name' field, attempt to open Record/Search dialog - crash

Crash report id: r3rk8wc

Note - I have not been able to reproduce except with this one form in this file.
Tried changing properties on dataform/controls to try and find what makes it
unique, sorry - darned if I can see anything.
Comment 5 Frank Schönheit 2010-01-17 18:45:49 UTC
The problem here is that the form contains a grid control which is not initially
visible. As long as it has not been made visible, the respective UNO object
really doesn't exist, yet. Unfortunately, the code for form searches (which is a
decade old) doesn't account for this. (Well, non-existing UNO controls are an
invention of the recent year, so ... nonetheless, it could have been more tolerant).

Workaround: scroll to the bottom of the form, so the control becomes visible.
The search as desired.
Comment 6 Frank Schönheit 2010-01-17 20:04:23 UTC
Created attachment 67250 [details]
Comment 7 Frank Schönheit 2010-01-17 20:10:04 UTC
fixed in CWS invisiblegridsearch
Comment 8 Frank Schönheit 2010-01-19 09:18:29 UTC
targeting to OOo 3.2.1 (approval from release team still pending)
Comment 9 Frank Schönheit 2010-01-21 07:15:04 UTC
fs->msc: please verify in CWS dba321a
Comment 10 marc.neumann 2010-03-26 10:26:41 UTC
verified in CWS dba321a

find more information about this CWS, like when it is available in the master
builds, in EIS, the Environment Information System: