The admin menu on top disappears whenever a shortcut is added or removed.
Fresh Drupal R2C installation. Tested with Firefox 3.6.13.

Comments

rfay’s picture

Component: ajax system » shortcut.module

I'm going to call this "shortcut.module".

When you say "admin menu" do you mean the core toolbar, or the menu provided by the admin_menu module?

burgeonit’s picture

StatusFileSize
new133.61 KB
new149.02 KB

I meant the toolbar on top what you get when logged in as admin user.

The following screenshots might help. (1st screenshot - before adding/removing to default shortcut. 2nd screenshot - after shortcut is added - what u see at the end of the operation)

rfay’s picture

Title: Admin Menu disappears when a shortcut is added/removed » Toolbar disappears when a shortcut is added/removed

The screenshots do help - thanks.

rfay’s picture

Status: Active » Postponed (maintainer needs more info)

I can't reproduce this. Can you reproduce it with a clean install? Might it be due to other modules you have installed? Please provide exact instructions on how to reproduce it with a clean install.

Thanks,
-Randy

burgeonit’s picture

Yes ... It is 100% reproducible. I tried again with 7.0-rc3. A fresh installation. After installation ...

1. Click on the Structure - (path - http://localhost/drupal7rc3/?q=node#overlay=%3Fq%3Dadmin/structure)
(or any other admin page which is not yet in the "Shortcut" list)

2. Click on the + sign (Add to Default shortcuts)

3. When the page refreshes by itself, the top menu vanishes!

It is the same, when u remove any link from your Shortcut.

Tested using
IE - 8.0
Firefox - 3.6.13
Google Chrome - 8.0.552.224
Opera - 11.00
in Windows Vista

Hope it helps!

rfay’s picture

Status: Postponed (maintainer needs more info) » Active

Thanks for the good detail.

I still can't reproduce it. I've tried with IE8 (windows) and FF 3.6 (Linux) and see everything reliably.

I see that it's Windows Vista you're working with. Can you try it on another computer?

rfay’s picture

Tested with xampp 1.7.3 on Windows Vista and still did not see any problems.

burgeonit’s picture

Status: Active » Closed (cannot reproduce)

Hi rfay,

Thanks for ur effort to understand & reproduce the issues. I think something is wrong with my old XAMPP installation. It was working for quite some time (several months) & I had been working with different drupal 6 installations.

But after you mentioned that these issues cannot be reporduced, I installed everything new.
1. XAMPP for Windows Version 1.7.3
2. Drupal 7 rc3

Everything works fine! I don't get these problems anymore.

Thanks

David_Rothstein’s picture

Title: Toolbar disappears when a shortcut is added/removed » Toolbar disappears when a shortcut is added/removed inside the overlay
Component: shortcut.module » overlay.module

This was very likely an issue with the overlay, which tries to automatically update regions such as the toolbar via AJAX when their contents have changed. I'm guessing that any other action which modified the toolbar (for example, going to #overlay=admin/structure/menu/manage/management and changing the items in the Management menu) would have led to the same symptoms.

It's good to hear that it fixed itself, but please feel free to reopen this if you can figure out how to reproduce it reliably! (It sounds like there must be some kind of server configuration that causes this not to work.)

lyd’s picture

StatusFileSize
new10.57 KB

Am using drupal-7.x-dev (Jan 28 version) and the add shortcut link (-) and (+) have disappeared.
See attachment.