Make WordPress Core

Opened 4 weeks ago

Closed 12 days ago

#63327 closed defect (bug) (reported-upstream)

Option to Edit Template gets replaced with Block menu

Reported by: lilgames's profile LilGames Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.8
Component: Editor Keywords: needs-patch close
Focuses: Cc:

Description

ISSUE:
The menu that opens when clicking the Post name, to give the option to edit the Template, goes away if one clicks any Block.

STEPS:

NORMAL EXPECTED BEHAVIOR:

  1. Edit a Post.
  2. Click the post name.

Result: You see a menu pop up with "Edit Template" button

BUG:

  1. Now click a block
  2. The block options widget bar appears up top instead of where the block content is (this is new 6.8 behavior)
  3. The Post name disappears
  4. You have to now click the << button to collapse the widget bar and see the Post name again
  5. Click the post name

RESULT:
Instead of the pop up menu with "edit template" button in it, the menu is the usual Block menu with "Duplicate", "Rename" etc, because the Block STAYS SELECTED. Your code should be de-selecting the blocks when clicking something else like the Post name!

Attachments (2)

wordpress-6.8-post-template-edit-menu.png (13.3 KB) - added by LilGames 4 weeks ago.
Correct Post name click menu
wordpress-6.8-post-template-edit-menu2.png (19.8 KB) - added by LilGames 4 weeks ago.
Buggy Post name menu

Download all attachments as: .zip

Change History (5)

@LilGames
4 weeks ago

Correct Post name click menu

@LilGames
4 weeks ago

Buggy Post name menu

#1 follow-up: @poena
4 weeks ago

  • Keywords close added

Hi
The screenshot shows the command palette.
Change requests and bug reports for the editor and for blocks are all managed in the Gutenberg GitHub repository (There is a notice about this before you create your Trac ticket).
The changes are made in Gutenberg and first tested in the plugin before they are added to WordPress.

If an issue does not already exist in the GitHub repository, please open a new issue that includes all the steps needed to reproduce it.
After that, this ticket should be closed as "reported upstream".

Here is the list of current open issues for the command palette:
https://github.com/WordPress/gutenberg/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22%5BType%5D%20Command%20Palette%22

#2 in reply to: ↑ 1 @LilGames
4 weeks ago

The thing that says "CTRL-K" next to it is a Command Palette? If not then I don't know what this bug relates to and in fact seems to tie in multiple parts of the editor.

I clicked your link and the results are overwhelming. I was hoping it would get forwarded by someone who knows what this affects.

#3 @wildworks
12 days ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

I would like to close this ticket as this problem was reported as GB 69968.

Note: See TracTickets for help on using tickets.