I have a block that has been assigned to a specific region when using the Omega theme (user-menu block assigned to Omega's User Bar First). When I switch to another theme (Bartik), that block is missing entirely from the list of blocks. It doesn't even appear in the Disabled Blocks section of the list.

Part of what is odd about this, is that I have another block assigned to that same region (user-region block assigned to Omega's User Bar First), but that one DOES show up in the listing of blocks when I switch to Bartik.

I can get the block to show if:
- switch to the theme tab where the block was already showing (admin/structure/block/list/themeA)
- select Configure for that specific (missing) block, and then enable it for themeB (Bartik) from within the block settings.

But it's somewhat unsettling that switching themes causes it to disappear from the listing altogether (including Disabled Blocks).

Comments

aspilicious’s picture

I cannot reproduce this. Are you using a non core block? (shouldn't make a difference normally)

dcrocks’s picture

Where does the other block(user-region) show up on the list? I assume it is a custom block? What probably happened was that user-menu was still asssigned to user bar first, since user-menu is a block known to bartik but wouldn't display because user bar first is nor a region known to bartik. user-region would show up because it is not a block bartik has previously assigned to a region. If you look at the database you will see the block was assigned for bartik but is invisible because bartik doesn't have that region.
The display logic has problems and this is not the only wierdness observed.

http://drupal.org/node/992208#comment-3809758
http://drupal.org/node/1117778
http://drupal.org/node/1103590

aspilicious’s picture

Hmm this is probably a duplicate of one those.

Version: 7.2 » 7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.