running 6.x-3.x-dev (2010-Mar-12) I dont understand this, but when I click on a select element in the create new story form, or any other drupal form for that matter, the leftmost admin menu item opens, the one with flush all caches and run updates in it.
It does not appear to cause any problems, it is just weird and spooky. Thoughts? I would screen cap it, but that is not possible while holding the menus open to show it.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sun’s picture

Status: Active » Postponed (maintainer needs more info)

I'm not able to replicate this issue. Please make sure you also test whether this issue still exists when using the latest versions/development snapshots of affected modules. If that does not help, then also try to temporarily disable potentially conflicting modules that may interfere with this functionality.

In any case, please report back about the status of this issue. Thanks.

Anonymous’s picture

I have the same behaviour using v6.x-1.5. Also just tried v6.x-3.x-dev (2010-Mar-13) and got the same effect. I really have no idea what's causing this. BUT this does not happen when you enable the Administration menu Toolbar style module.

I'm using drupal v6.16 on Ubuntu v9.10. Working with v6.x-1.5 on my test server, I have disabled all other optional modules, and the problem persists. Im happy to do any other tests that you want me to.

EDIT: Just realised this only happens in Google Chrome (it behaves normally in firefox)

ajr’s picture

I can confirm this bug using:

Kubuntu 10.04
Google Chrome 6.0.408.1 dev
Drupal 6.16
Admin Menu 6.x-1.5

It seems like when click a select dropdown, Chrome is emulating a mouse over at co-ordinates 0, 0 on the page.

One thing you can do to fix this in the mean time, if you don't mind a 1px gap above admin menu is to change the position of the menu in the css file (/modules/admin_menu/admin_menu.css):

#admin-menu { top: 0px; }

to

#admin-menu { top: 1px; }
swentel’s picture

Can confirm this too, only seems to happen on chrome on any *nix flavor - don't have this problem on my mac.
We should rather file an issue at chromium or just wait for a new updated release on *nix, no ?

sun’s picture

Title: When selecting a form element in content, menus open in admin menu » Chrome/*nix: When selecting a form element in content, menus open in admin menu
Status: Postponed (maintainer needs more info) » Closed (won't fix)

yes, this has to be fixed upstream. Nothing we can do here.

amit_das’s picture

Title: Chrome/*nix: When selecting a form element in content, menus open in admin menu » Chrome/*nix: drupal7 admin menu not working properly
Version: 6.x-3.x-dev » 7.x-3.0-rc1

In Drupal7 admin menu sometime not working on clicking with google chrome. It happens After long time when i open my site in chrome. Pls help me.

eMPee584’s picture

Version: 7.x-3.0-rc1 » 7.x-3.x-dev
Status: Closed (won't fix) » Needs review

Problem is still not fixed upstream - not so sure about the "Nothing we can do here" approach.. How about a simple

--- a/admin_menu.css
+++ b/admin_menu.css
@@ -21,6 +21,9 @@
 #admin-menu-wrapper {
   overflow: hidden;
 }
+#admin-menu li.admin-menu-icon {
+  margin-left: 1px !important;
+}
 #admin-menu li.admin-menu-icon a {
   padding: 1px 8px 4px;
 }

?

sun’s picture

Does the following also fix it?

#admin-menu li.admin-menu-icon {
  margin-left: 1px !important;
  padding-left: -1px !important;
}
gmclelland’s picture

@sun - yes works for me.

gmclelland’s picture

Here is a patch that uses @sun suggestion in #8. For some reason I had to add the code to the bottom of the css file for it to work.

pillarsdotnet’s picture

Here is the Chrome bug report for people who want to vote for it:
https://code.google.com/p/chromium/issues/detail?id=112455

ashvin169’s picture

Thanks for this patch, it works for me.

sun’s picture

Is this still an issue with the latest Chrome?

I'd rather avoid to add CSS workarounds for broken browser rendering engines...

The Daily’s picture

Component: Code » CSS / Browser Support
Assigned: Unassigned » The Daily
Category: bug » support

When I disable Administration menu Toolbar module, to keep from getting double tool bars. the font go's small on the toolbar and dropdowns. To the point almost impossible to read. Using Chrome Browser. Version 24.0.1312.56 m

sun’s picture

Assigned: The Daily » Unassigned
Category: support » bug

@The Daily: That seems to be unrelated to this issue.

pillarsdotnet’s picture

@Sun -- I can confirm this bug still exists on Google Chrome for Linux Version 24.0.1312.57

eMPee584’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
692 bytes

[...]
The original engine bug is still unfixed in chromium Version 27.0.1453.6 (which is an obvious shame on their side of course)...
As of right now, 50% of all web users use chrome & co, and admin_menu is subtly broken for them since 2010. What's with the reluctance to apply this (admittedly) hack? Three years to committing a ready fix for a bug hitting half your userbase? Really don't get it. That's why I took a break from developing drupal sites.. two years later now, nothing has changed. Zillions of no-brainer-fixes still pending. I thought the great thing about easy revision control and development branches was to encourage coders to be bold^^
Rerolled patch..

blainelang’s picture

This issue also frustrates me as it appears to come and go. Just updated to 7.22 and the issue was still there but the patch worked. I've seen this issue on Mac and Windows and the patch solved it in both cases.

codycraven’s picture

Tested #17 worked great.

Please commit this already.

codycraven’s picture

Chi’s picture

#17 works for me as well.

jesss’s picture

Issue summary: View changes

#17 worked for me, too.

donquixote’s picture

I have an alternative fancy workaround for this.
(the selector needs to be expanded to target the correct items)

ul.menu li:hover::after {
  position: fixed;
  left: 0;
  top: 0;
  display: block;
  height: 1px;
  width: 1px;
  content: '.';
}

I'm not sure why one would prefer this, but it seems to work.

EDIT:
Note that visibility: hidden; would prevent the desired effect.

EDIT II:
I should say this worked with a project I was working on. I did not actually test it as a fix for admin menu.

@sun

#admin-menu li.admin-menu-icon {
  margin-left: 1px !important;
  padding-left: -1px !important;
}

Negative padding?

donquixote’s picture

Dave Reid’s picture

Status: Reviewed & tested by the community » Postponed (maintainer needs more info)

Is this still an issue for Chrome on Linux with the latest 7.x-3.x-dev? I've not noticed anything odd recently and am unable to replicate any issues with clicking select boxes and menus popping up with either Chrome or Chromium. Also the issue summary could use an update with the current status or steps I need to reproduce this.

Dave Reid’s picture

Issue summary: View changes
Issue tags: +Needs issue summary update
truls1502’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Like @dave-reid said, is it still an issue for Chrome on Linux with the latest 7.x-3.x-dev? I am not able to reproduce it, so please to use the latest version and check if you still face it. However, if you still get the issue, please come back, reopen the issue and fill with more information and a screenshot. :)