FS#10035 - Openoffice misplace the menu to the screen corner.

Attached to Project: Arch Linux
Opened by Ning Bao (phabulosa) - Monday, 31 March 2008, 04:24 GMT
Last edited by Greg (dolby) - Friday, 13 June 2008, 12:00 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
OpenOffice will place all menus on the bottom-right corner of a screen instead of right below the menu toolbar.
This problem exists when using certain window managers, including dwm, awesome and xmonad

Additional info:
* package version(s)
2.4
* config and/or log files etc.


Steps to reproduce:
1. Install both openoffice-base and a problematic window manger (dwm, awesome, xmonad)
2. run "soffice" from a console
3. clock on any menu and it will appear on the corner.

This problem is very annoying when using dual monitor setup.
However, I can confirm that dual monitor is not the problem. If I use single monitor layout, the problem still exists!
This task depends upon

Closed by  Greg (dolby)
Friday, 13 June 2008, 12:00 GMT
Reason for closing:  Fixed
Comment by Ning Bao (phabulosa) - Monday, 31 March 2008, 04:25 GMT
BTW, someone already reported to xmonad bug system

http://code.google.com/p/xmonad/issues/detail?id=145
Comment by Thibault (thibm) - Monday, 14 April 2008, 07:29 GMT
This problem happens also with fluxbox, but not with openbox
Comment by Thibault (thibm) - Wednesday, 16 April 2008, 16:38 GMT
You may comment the following lines

if [ -z $SAL_USE_VCLPLUGIN ]; then
export SAL_USE_VCLPLUGIN=gtk
fi

in the beginning of /opt/openoffice.org2.4/program/soffice.
In fluxbox, menus go back to the right place.

Comment by Ning Bao (phabulosa) - Thursday, 17 April 2008, 16:37 GMT
Thanks, Thibault!

This also works in my "awesome" WM. I believe this will help dwm or xmonad as well.
Comment by Ning Bao (phabulosa) - Thursday, 17 April 2008, 17:42 GMT
However, I cannot open any files after doing your fix. I got the following error messages:


(process:18032): GLib-GObject-CRITICAL **: gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior to this function

(process:18032): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(process:18032): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
Comment by . (vilefridge) - Tuesday, 22 April 2008, 19:38 GMT
I also experience this problem with a single monitor setup on 2.6.24-ARCH, Openoffice 2.4.0-2, and Fluxbox 1.0.0-1. The Openoffice menus and context menus in my case appear at the upper right-most corner of the screen. This bug seriously interferes with productivity and I hope that someone with the skill takes a peek soon!

See also, the Ubuntu guys have been having the same issue for some time:
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/77435
Comment by . (vilefridge) - Tuesday, 22 April 2008, 19:40 GMT
Thibault's fix seems to work. Can this be included in the next build?
Comment by . (vilefridge) - Tuesday, 22 April 2008, 20:41 GMT
Ahh, like phabulosa's comment above, I also cannot open files after this fix (although it did correct the issue with menus). CPU ramps to 100% and Ooo hangs.
Comment by Ning Bao (phabulosa) - Thursday, 24 April 2008, 19:54 GMT
I tested openoffice 2.4 on arch32. There isn't such a issue on 32 bit platform.
So, this bug is 64bit limited!
Comment by Ning Bao (phabulosa) - Thursday, 24 April 2008, 19:55 GMT
Also, I tested openoffice 2.3. IT works find on both 32bit and 64bit system.
Comment by Ning Bao (phabulosa) - Friday, 25 April 2008, 05:12 GMT
Interestingly, I just build up 32bit chroot environment in arch64. and I installed openoffice-base 32bit package in chroot.

Now, openoffice menu works fine.

So, this bug is 64bit SPECIFIC!
Comment by Andreas Wagner (awagner) - Wednesday, 21 May 2008, 11:34 GMT
this bug doesn't exist with openoffice-devel (dev300-m10):
http://bbs.archlinux.org/viewtopic.php?pid=370159
Comment by Andreas Radke (AndyRTR) - Thursday, 12 June 2008, 13:24 GMT
please test 2.4.1 in testing
Comment by . (vilefridge) - Friday, 13 June 2008, 01:16 GMT
AndyRTR,

Beautiful =) 2.4.1 in testing did the trick for me.

Loading...