Closed Bug 282292 Opened 20 years ago Closed 19 years ago

context menu is not context sensitive

Categories

(Calendar :: Sunbird Only, defect)

Sunbird 0.2
x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: jwz, Assigned: mostafah)

References

Details

The right-button context menu always operates on the *currently selected*
event or day, not on the item on which the mouse was clicked.  This is
highly broken behavior: if I click right on an object, I expect to operate
on that object.  I shouldn't have to click left, and then click right.
That's not how context menus work anywhere else in Mozilla, or in any
other application I've seen.

Example 1:

  - click left on an empty day.
  - click right over an event.
  - note that "Copy" is grayed out.

Example 2:

  - Click left on event A on day A.
  - Click right on event B on day B; select "Copy".
  - Click left on day C.
  - Click right on day C; select "Paste".
  - Note that event A got pasted instead of event B.

Example 3:

  - Click left on event A on day A.
  - Click right on event A on day A; select "Copy".
  - click left on day B.
  - click right on day C; select "Paste".
  - note that the copy of event A shows up on day B instead of day C.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a5) Gecko/20050203 Mozilla Sunbird/0.2
I can't confirm this on Windows 2000. Sunbird behaves as expected. All three
examples work as expected and not as described here.
I'm using Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a5)
Gecko/20050203 Mozilla Sunbird/0.2

jwz, could you please try this again with a fresh calendar or a fresh profile?
I'm using Linux, not Windows.

I quit Sunbird; deleted my ~/.mozilla directory; started Sunbird;
added some test events; and it behaved exactly as I described.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a5) Gecko/20050203 Mozilla Sunbird/0.2
It works OK for me on Linux using Sunbird 0.2 GTK2 in Gnome.  A right click
first selects the thing I clicked on, then opens a context menu for that thing
(which is now selected).  It's exactly the same as in windows.

Are there perhaps settings that would change the behaviour of the mouse, or does
the desktop affect it?
Beats me...  I think I must be running with default preferences, since I removed
the entire .mozilla directory?

I use sawfish-1.3-3 in point-to-type mode on Fedora Core 3.

/usr/lib/sunbird-0.2/sunbird-bin is linked against /usr/lib/libgtk-x11-2.0.so.0
from gtk2-2.4.14-2.fc3.
QA Contact: gurganbl → sunbird
*** Bug 314944 has been marked as a duplicate of this bug. ***
Can anyone still reproduce this in a nightly build?  It's WFM here. (linux)
(In reply to comment #6)
> Can anyone still reproduce this in a nightly build?  It's WFM here. (linux)
> 

WFM in a current nightly on windows as well.

Resolving worksforme

Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → VERIFIED
Version: Sunbird 0.2RC2 → Sunbird 0.2
You need to log in before you can comment on or make changes to this bug.