Problem/Motivation

The block layout page no longer lists all available blocks. Blocks are added via the 'Place block' button for each region. This is not intuitive for some users.

Proposed resolution

TBD

Remaining tasks

TBD

User interface changes

TBD

API changes

TBD

TBD

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gcassie’s picture

Confirmed the STR. Also tried enabling the default Archive view which provides a block display - that didn't appear in the admin block interface either.

gcassie’s picture

The views blocks do show up if you click the "Place blocks" link, but I'd expect they're supposed to be in the disabled block listing on /admin/structure/block by default.

If you disable the block after placing it, it does persist in the /admin/structure/block listing.

gcassie’s picture

Something is wrong with the machine names of the view-generated blocks. They're empty in the "Place blocks" screen and you're forced to specify one. I tried editing the block display of a view whose block I hadn't saved yet and just re-saving the default value in that form, block_1 . Now I'm getting this:

Debug:
'setDisplay() called with invalid display ID "block_1".'
in Drupal\views\ViewExecutable->setDisplay() (line 682 of core/modules/views/lib/Drupal/views/ViewExecutable.php).
Error message

Drupal\Component\Plugin\Exception\PluginException: The plugin (views_block:events-block_1) did not specify an instance class. in Drupal\Component\Plugin\Factory\DefaultFactory::getPluginClass() (line 62 of /Users/george.cassie/Sites/d8/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php)

tim.plunkett’s picture

Category: bug » feature
Priority: Critical » Normal

This is not actually a bug. The block UI has changed drastically, and that's how things work right now.

tim.plunkett’s picture

Category: feature » bug
Issue tags: +Usability, +VDC, +Blocks-Layouts

Okay, so maybe it is a little bit of a usability bug. But for better or worse, it is the current expected behavior.

webchick’s picture

Issue summary: View changes
Status: Active » Fixed

Unless I'm mistaken, this was fixed with the block UI re-work. Or at least when I tested this yesterday, I did not experience this behaviour.

mparker17’s picture

Status: Fixed » Closed (fixed)

Yes, I can confirm this is fixed now.

alensaqe’s picture

Issue may still persist.

Checked up today on Drupal 8.x alpha 9 and the block is not generated by the view.

Requesting the issue to be re-opened if the issue persists.

alensaqe’s picture

This bug presists on the lastest alpha 9 of drupal core 8.

Can anyone check up?

I tested today i do not see any blocks showing up after creating the block from the view!

alensaqe’s picture

Version: 8.x-dev » 8.0-alpha9
Status: Closed (fixed) » Needs review
mray’s picture

I think I fell for the same reason. :(

jhedstrom’s picture

Status: Needs review » Closed (works as designed)
FileSize
237.92 KB

I just manually tested this by adding a block display to the content view that ships with core.

wheelercreek’s picture

I think this still might be an issue. I'm new to D8 but I just created a view block and was scratching my head trying to find it. But thanks for the tip to find it under "place block" list. I'm using D8 release RC 2.

yonk’s picture

I'm using D8.0.0-rc4 and I'm dealing with the same problem. No view block showing up on blocks page.

imran.khan’s picture

Using D8.0.0-rc4 and having the same issue.

imran.khan’s picture

It was my bad couldn't find it.

The layout of block page has changed and all views block you can find by clicking on the button of your region "Place block".

Thanks guys for dropping hint of "place block".

Cheers

phillechill’s picture

Thanks imran.khan!

Couldn't find it either.

msypes’s picture

That's some bad UI. I spent 15 minutes researching what I figured was a problem with views or blocks until I found this thread. "Place block" indeed!

ryantollefson’s picture

Thanks.

"Place Block" - that took way too long to find and wasn't intuitive at all. These used to show up under the "Disabled" blocks section

I agree with #18 - this is bad UI.

urbanlegend’s picture

Can we add a dismissable note at the top of the page to point new users to the "Place Block" button? It seems too easy to miss.

iamsquared’s picture

Bad UI, UX, whatever acronym you'd like... it's really bad to completely hide it under a button.
Desperately trying to use D8 but things like this keep getting the way. Please, just list newly-available views blocks on the blocks page.

ore’s picture

+1 for not in an obvious place. I installed wunderground D8 module which creates blocks. I could not find them for the life of me, cleared caches, read the module code, checked everywhere except under the place block link. My wife calls it a "man look"

Jean Gionet’s picture

omg.. I seriously thought this was a bug.. it is a very bad setup/system. Stuff like this should be obvious and simple

stuarteske’s picture

I use the Adminimal theme and almost gave up testing Drupal 8 again. I thought this was a caching bug. The disabled blocks should not be hidden behind UI button with no associated icons/animation/cursor changes. If this was produced for a client here at Bryter you would get a talking too during quality control and usability.

I use several themes and several blocks both for development and production. Enabling these blocks and placing each one for each theme is not desirable.

imanoop’s picture

You need to click the "Place block" button and you can see the list of all the newly added blocks and you can assign a view block to any region .

kajalkiran’s picture

FileSize
50.59 KB
137.23 KB

The block can be placed to the region by clicking on 'Place block' button on /admin/structure/block/list/poly.
Only local images are allowed.
Only local images are allowed.

Anonymous’s picture

@kajalkiran

Thank you!

I activated the Archive Block in views under D8. Then i set it to the secondary region and set it up to show on /blog and /blog/*. But it only shows up under /blog/*. Deactivated the block and used "place block". Now it shows up under both sides!

hamburger’s picture

@iamsquared I agree. There's plenty of room to display the available, disabled blocks at, for example; the bottom of the page.

tim.plunkett’s picture

Disabled blocks now stay in the region they're in when disabled.

mdlueck’s picture

+1 to iamsquared #21, Had to come find this page to get my new custom D8 block added to the block layout.

anthonyf’s picture

This is still an issue using the latest Acquia Lightning, 8.x-2.13-core, on 2017-05-09.

This is something that will drive people crazy who are new to Drupal. I would like to see that nobody ever has to waste their time (and/or their client's money) on this issue ever again. Let's make the complete list of available blocks more accessible somehow, or simply tell people where to find it - as urbanlegend suggested in his comment above.

Maybe all that's needed is to add help text at the top of the page that says something like "Click the 'Place block' button to see a complete list of available blocks."

And maybe some explanation of what we're seeing on the page that tells people it does not display all available blocks but only blocks that have been previously placed in a region.

anthonyf’s picture

Status: Closed (works as designed) » Needs review
anthonyf’s picture

Status: Needs review » Needs work
Lendude’s picture

Title: Block view display does not show up on blocks page. » Newly created Views blocks are hard to find on blocks page.
Version: 8.0-alpha9 » 8.4.x-dev
Component: views.module » block.module

Moving this out of the views queue, since everyone agrees that the View block does show up, its just hard to find due to how block placement works.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.0-alpha1 will be released the week of July 31, 2017, which means new developments and disruptive changes should now be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.0-alpha1 will be released the week of January 17, 2018, which means new developments and disruptive changes should now be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.7.x-dev

Drupal 8.6.0-alpha1 will be released the week of July 16, 2018, which means new developments and disruptive changes should now be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.7.x-dev » 8.8.x-dev

Drupal 8.7.0-alpha1 will be released the week of March 11, 2019, which means new developments and disruptive changes should now be targeted against the 8.8.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.0-alpha1 will be released the week of October 14th, 2019, which means new developments and disruptive changes should now be targeted against the 8.9.x-dev branch. (Any changes to 8.9.x will also be committed to 9.0.x in preparation for Drupal 9’s release, but some changes like significant feature additions will be deferred to 9.1.x.). For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.1.x-dev

Drupal 8.9.0-beta1 was released on March 20, 2020. 8.9.x is the final, long-term support (LTS) minor release of Drupal 8, which means new developments and disruptive changes should now be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 9.1.x-dev » 9.2.x-dev

Drupal 9.1.0-alpha1 will be released the week of October 19, 2020, which means new developments and disruptive changes should now be targeted for the 9.2.x-dev branch. For more information see the Drupal 9 minor version schedule and the Allowed changes during the Drupal 9 release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Drupal 9.2.0-alpha1 will be released the week of May 3, 2021, which means new developments and disruptive changes should now be targeted for the 9.3.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

pameeela’s picture

Issue summary: View changes
Status: Needs work » Postponed (maintainer needs more info)
Issue tags: +Bug Smash Initiative

Updated issue summary to reflect that this is a UX issue, not a functional issue. But I'm marking it postponed because there is no solution suggested.

Listing all of the blocks on this page does not seem like a good solution. I'm thinking of sites with hundreds and hundreds of blocks...

longwave’s picture

I think everyone in this issue was coming from D7 and was used to the way the old block layout page worked, where there was only ever one instance of a block. Now in D8 you can add multiple instances of a block, we need the Place Block button.

To me this is really just "works as designed", just the design changed somewhat between D7 and D8.

pameeela’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Thanks, I agree and supporting multiple placements is a huge win that makes it worth any UX trade off.

I think people must have gotten used to it and that’s why the comments stopped.