I just installed 7.x-2.0 on a Commerce Kickstart installation and it's behaving very strangely. I wonder if there's something about my site or about the Commerce Kickstart toolbar that isn't playing nicely with EI.

Even though I have chosen "bottom" in the settings for all environments, the bar appears at the top, and the color of all items in the Commerce Kickstart toolbar changes when I hover over it (but goes back to its normal color on page reload). It looks like the new version is supposed to change the color of the admin menu or toolbar by design, but I don't think it's supposed to work like this. And if I have it set for the bottom of the screen, shouldn't it leave the toolbar alone?

The screenshot shows my choice of bottom + fixed position, but I get the same behavior whether I choose fixed or not. I'm assuming that bottom positioning works or someone would have reported it already; if that's the case, what could be interfering on my site?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Stevel’s picture

Category: bug » support
Status: Active » Fixed

It looks like you have the Toolbar module enabled. As the EI integrates with Toolbar, it shows up wherever the Toolbar appears. This means the position in the environment settings has no effect.

BrightBold’s picture

OK thanks that's helpful. The Commerce Kickstart toolbar appears to be a mod of core Toolbar, rather than its own module, so this explains the behavior. My style modifications are overriding EI's in the toolbar & button backgrounds but not for the hovers, which explains the weird screenshot above. I think for this site I'll have to go back to 1.x and try out 2.x on one of my other sites.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

izmeez’s picture

Came across this when testing version 7.x-2.x today and thought it was strange. It also appears to integrate with the admin_menu when that module is enabled. But, that was precisely why I thought I would try it set to bottom and found it did not behave as expected.

danielphenry’s picture

Component: Code » Documentation
Issue summary: View changes
Status: Closed (fixed) » Needs work

I recommend either the top/bottom setting is respected despite it's integration with the toolbar and admin menu (my preferred solution). Or the documentation be changed to reflect that the setting will be ignored. I spent 20min trying to figure out the 2.0 version conf settings only to discover this gap in the documentation.

Stevel’s picture

Title: EI is on top even though "bottom" selected for all environments. » Document that 'position' has no effect when Toolbar or Admin Menu are used.
Category: Support request » Feature request
Status: Needs work » Needs review
FileSize
693 bytes
Stevel’s picture

Version: 7.x-2.0 » 7.x-2.x-dev

Change to -dev version

e0ipso’s picture

Status: Needs review » Fixed

Fixed, committed and pushed to -dev in this commit.

Many thanks to Stevel and everyone else.

izmeez’s picture

Well, I appreciate that the documentation is fixed but I feel this issue has been hijacked based on the comments in the opening issue, my comments in #4 and the comments in #5.

All of these point to the fact that the module does not behave the way users expect or want. With the integration of EI with the admin menu users may prefer to use an alternate setting such as bottom but cannot do that.

The documentation fix is just a temporary cover for the fact that the bottom option is not available although it may be preferred to have that option.

I think it would be better if this issue is left as "Needs work" and maybe change the title to "Bottom position has no effect ..."

e0ipso’s picture

@imeez, please open a feature request for this. I think "Let users opt-out from toolbar integrations" deserves its own issue instead of leaving this here.

As always with new features, patches are welcome!

Thanks for the effort in making the EI better.

izmeez’s picture

ok, I have gone ahead and opened a new issue #2147007: Let users opt-out from toolbar integrations

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.