Problem description: The program completely crashes if trying to perform a search after undocking and close the search bar.
Steps to reproduce:
1. Open the search bar (by pressing ctrl+F)
2. Drag the search bar to undock it.
3. Close the search bar.
4. Press ctrl+F again.
In this point libreOffice will crash. I've tested this in write and calc so far.
This is the output on the command line:
The program 'soffice' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 10351 error_code 8 request_code 42 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
As a workaround, make the search bar visible in the View menu and re-dock it.
I'm using Ubuntu 12.04 beta on gnome shell 3.4, the exact version reported by libreOffice is "LibreOffice 220.127.116.11 Build ID: 350m1(Build:202)"
*** This bug has been marked as a duplicate of bug 46687 ***