Issue 54757 - Regression: Context menu disappears
Summary: Regression: Context menu disappears
Status: CLOSED DUPLICATE of issue 39420
Alias: None
Product: ui
Classification: Code
Component: ui (show other issues)
Version: OOO 2.0 Beta2
Hardware: PC Linux, all
: P3 Trivial with 4 votes (vote)
Target Milestone: ---
Assignee: stefan.baltzer
QA Contact: issues@ui
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-18 13:05 UTC by jvromans
Modified: 2006-06-07 11:03 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description jvromans 2005-09-18 13:05:21 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.
Comment 1 nyh 2005-09-18 14:22:35 UTC
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.
Comment 2 mci 2005-09-19 16:46:39 UTC
something for pl?
Comment 3 jvromans 2005-09-29 11:58:46 UTC
The problem still exists in the 2.0 Release Candidate.
Comment 4 schweikh 2005-10-16 18:08:06 UTC
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.
Comment 5 caolanm 2005-10-27 09:35:33 UTC
I believe this is the same as issue 39420
Comment 6 jvromans 2005-10-27 09:45:42 UTC
That would be surprising, since issue 39420 is FIXED/VERIFIED, but this problem
still exists.
Comment 7 dridgway 2005-12-06 23:11:47 UTC
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?
Comment 8 jvromans 2005-12-07 15:17:25 UTC
It seems to work okay in 2.0.1RC2. Thanks.
Comment 9 dridgway 2005-12-07 20:40:08 UTC
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 ***
Comment 10 stefan.baltzer 2006-06-07 11:03:32 UTC
SBA: Closed.