After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 579872 - Context menu activated by keyboard popping up at the wrong location
Context menu activated by keyboard popping up at the wrong location
Status: RESOLVED DUPLICATE of bug 102666
Product: nautilus
Classification: Core
Component: Views: All
3.19.x
Other All
: Normal minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-04-22 18:59 UTC by gwi
Modified: 2017-08-28 11:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description gwi 2009-04-22 18:59:36 UTC
When the context menu is activated by clicking with the right mouse button, the context menu appears at the location of the mouse pointer. This is ok.
When the context menu is activated by the context menu key (situated between the right control key and the Windows key on most keyboards), the context menu still appears at the location of the mouse pointer. This is not ok. It should appear at the location of the object having focus, and being the subject of the context menu. The location of the mouse pointer should be ignored in this case.

Other information:
There is a bugreport on this subject in Ubuntu's launcpad:
https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/160738
Comment 1 Christian Persch 2009-04-22 19:53:08 UTC
Which context menu in which application are you talking about? This is an application bug; it needs to use a menu positioning function to place the menu at the object.
Comment 2 Claudio Saavedra 2009-04-25 11:55:16 UTC
From the upstream report, this is nautilus. It might be reproducible in other applications as well, but it's always the application responsibility to position the menu properly.

Moving to nautilus.
Comment 3 Claudio Saavedra 2009-04-25 11:55:47 UTC
s/upstream/downstream
Comment 4 Daniel Holbert 2009-10-15 20:59:44 UTC
FWIW, I can reproduce this bug in Nautilus 2.28.0 (in Ubuntu Karmic), but the bug doesn't manifest in Firefox 3.5.3.

This supports comment 2 -- that it's the application's responsibility to correctly position the menu.  Firefox apparently does this correctly, whereas Nautilus does not.

(Nautilus *does* do this right in one instance -- when the location bar is focused, via Ctrl+L.  In that case, the context menu appears over the location bar, regardless of mouse position.)
Comment 5 António Fernandes 2017-08-28 11:14:37 UTC

*** This bug has been marked as a duplicate of bug 102666 ***