Apache OpenOffice (AOO) Bugzilla – Issue 54757
Regression: Context menu disappears
Last modified: 2006-06-07 11:03:32 UTC
I've noticed that with certain window managers, in particular CTWM, recent builds of OOo2 show a strange (and show-stopping) behaviour with the context (Right-Click) menu. The behaviour can best be described as if the context menu gets mapped below the main window, instead of on top if it. This behaviour happens on GNU/Linux (Fedora Core 2) with CTWM version 3.7 but it has been confirmed with other systems as well. As far as I can detect build 1.9.82 was okay, while builds 1.9.122 and later are affected. Although it is tempting to conclude that it is a window manager problem, it must be emphasized that OOo2 is the only application known to show this behaviour. For the sake of completeness, this problem makes OOo2 totally unusable on the affected platforms.
I believe that while the original reporter has an important point (something in OpenOffice *has* changed to the worse, and it is not ctwm's fault), his precise explanation might not be completely accurate. My observation is slightly different (this is using CTWM 3.5): when you press the right button (context menu) in OpenOffice, the menu is very briefly (sometimes too briefly to see) shown and then disappeared. I found it is unmapped and destroyed (not "mapped below the main window"). Also, while it might sound logical that this bug depends on CTWM's "Auto Raise" feature to be turned on, it is in fact NOT the case, and rather, this bug depends on CTWM's "focus follows pointer" mode (the native X-Windows mode). In fact, when the OpenOffice Window explicitly is given focus, the context menu is shown correctly. I believe that OpenOffice will misbehave, like it does with ctwm, with any window manager which uses X's "focus follows pointer". In http://tigerdyr.wheel.dk/ctwm-archive/1597.html I showed some of the X events that occur when the focus follows the pointer, and my guess is that something in OpenOffice or Gtk started handling one of these events incorrectly.
something for pl?
The problem still exists in the 2.0 Release Candidate.
I can confirm this bug/behaviour/interaction problem on FreeBSD 7, with ctwm 3.6/3.7, focus-follows-mouse, xorg 6.8.2. Even without giving oo.org the focus with f.focus under ctwm you can sometimes make the context menu appear and remain visible if you *move* the pointer while pressing the right mouse button. Try it a few times, *first* moving, *then* right-clicking. I agree that this is a regression--this has worked in older ooo versions, and the blame should not be put on ctwm or any other window manager where focus-follows-mouse leads to this effect.
I believe this is the same as issue 39420
That would be surprising, since issue 39420 is FIXED/VERIFIED, but this problem still exists.
Hi jvromans, Issue 39420 has target 2.0.1, which hasn't been released, so it's not surprising the problem still exists. The fix for 39420 ought to be in 2.0.1RC2, though, could you see if this release fixes your problem?
It seems to work okay in 2.0.1RC2. Thanks.
Since the reporter confirmed the fix, I'll go ahead and mark this one as duplicate of issue 39420. *** This issue has been marked as a duplicate of 39420 ***
SBA: Closed.