You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Zoom Out: Disabled when show template disabled #69777
The page editor /site editor > page is supposed to allow for Zoom out feature to be in the top toolbar and be also invoked with starter content.
Omitting the zoom out feature breaks backward compatibility as it was already available in 6.7
The is a PR7232 #67232 in Gutenberg 19.8 that modifies when the Zoom out is available. However, it specifically mentions in the testing instructions "Test that you can still access Zoom Out from a Page (using Post Editor and Site Editor)."
I must respectfully disagree that this is a breaking change. Is it confusing? Sure, but it also won't break users' templates or pages. I've also voiced a similar concern in the PR.
New features like "Zoom Out" often have to calibrate conditions to make them more helpful, and this is what I think is happening here. Like @annezazupointed out, the "Zoom Out" feature wasn't functioning correctly for a wide range of themes because of the missing <main> element block.
changed the title [-]WordPress 6.8: zoom out disabled when show template disabled.[/-][+]Zoom Out: Disabled when show template disabled[/+]on Apr 2, 2025
New features like "Zoom Out" often have to calibrate conditions to make them more helpful, and this is what I think is happening here.
This worked well with Twenty-Twenty-Five as each template has <main> elements. However, the Zoom out View breaks even for those pages. Which brings me to the conclusion that the new features was not the Zoom out View but the Show Template on and off feature in the Editor.
it also won't break users' templates or pages.
You might define breaking change differently than I do, though:
The Zoom out view worked fine on Pages even when not displaying template view. So that's the expectation a WordPress 6.7 user has, who doesn't use the show template feature. For that person, it's a surprising change of behavior and that's how I define breaking change.
Nevertheless, I do think this is a bug that needs to be fixed as the Zoom out view shouldn't be coupled with the Show template view. So even if the show template is switched off, the Zoom out view should still work.
Nevertheless, I do think this is a bug that needs to be fixed as the Zoom out view shouldn't be coupled with the Show template view. So even if the show template is switched off, the Zoom out view should still work.
The "Zoom Out" feature is indirectly coupled with the "Show Template" option because the <main> element blocks usually live on the template level; they aren't represented on canvas when editing only page content (post-only mode).
Currently, I don't have suggestions for the best resolution for this issue. Cc @getdave, @jeryj
I would also like to know how @fabiankaegy and @karmatosed from the agency - customer perspective think about this conundrum, given that Zoom out view has mainly to do with patterns on a page or post rather with a template space. Although technically explainable it still feels like an arbitrary coupling of two different problem spaces.
My honest answer here is that I think the way Zoomed out was introduced in the first place with the pattern inserter has been super confusing and I have not yet come across a client who hasn't been irritated by it / is constantly struggling to get out of the mode again.
I'm saying that because it pictures how I view this specific issue here. Because of what I just said I personally view the fact that this is making is harder to trigger the zoomed out mode is a positive side effect of this coupling...
If I completely detach myself from my experience with zoomed out though I can agree with what you are saying @bph. It sadly very much depends on the actual post type & layout what makes and doesn't make sense here... On a page that is just full bleed content it might make a ton of sense to have zoomed out mode be available for users because even without the show template option it looks like it will on the FE and therefore zoomed out provides a (theoretically) good experience.
For another post type with a sidebar etc it might make less sense because the actual preview is less representative of what you actually get to see on the FE and therefore the zoomed out is giving you a false perception of what the site is looking like from a bit more of a Birds Eye view...
Having said all of that I also don't quite know where to go from here... We can revert the coupling and leave the (in my eyes worse) current experience untouched whilst we are still trialing different things... But in reality this to me again is an example where a feature (Zoomed out in this case) was merged way too early. Yes merging early may work if we have all the active contributors available that move a specific feature forward over small sprints... But now that all those contributors have been pulled away we are left in the situation that half baked features that really shouldn't have shipped in the way they have are out there in core causing issues such as this... (sorry for the little rant here. I know no-one here is responsible for any of this :)❤️)
Reacted by Birgit Pauli-Haack, George Mamadashvili, Mayank Tripathi, Aki Hamano and Sanjay Jadav
Activity
bph commentedon Mar 31, 2025
Here is the video
Screen.Recording.2025-03-31.at.14.59.33.mov
Mamaduka commentedon Apr 2, 2025
Thanks for creating the issue, @bph!
I must respectfully disagree that this is a breaking change. Is it confusing? Sure, but it also won't break users' templates or pages. I've also voiced a similar concern in the PR.
New features like "Zoom Out" often have to calibrate conditions to make them more helpful, and this is what I think is happening here. Like @annezazu pointed out, the "Zoom Out" feature wasn't functioning correctly for a wide range of themes because of the missing
<main>element block.[-]WordPress 6.8: zoom out disabled when show template disabled.[/-][+]Zoom Out: Disabled when show template disabled[/+]bph commentedon Apr 3, 2025
This worked well with Twenty-Twenty-Five as each template has
<main>elements. However, the Zoom out View breaks even for those pages. Which brings me to the conclusion that the new features was not the Zoom out View but the Show Template on and off feature in the Editor.You might define breaking change differently than I do, though:
The Zoom out view worked fine on Pages even when not displaying template view. So that's the expectation a WordPress 6.7 user has, who doesn't use the show template feature. For that person, it's a surprising change of behavior and that's how I define breaking change.
Nevertheless, I do think this is a bug that needs to be fixed as the Zoom out view shouldn't be coupled with the Show template view. So even if the show template is switched off, the Zoom out view should still work.
Mamaduka commentedon Apr 3, 2025
The "Zoom Out" feature is indirectly coupled with the "Show Template" option because the
<main>element blocks usually live on the template level; they aren't represented on canvas when editing only page content (post-onlymode).Currently, I don't have suggestions for the best resolution for this issue. Cc @getdave, @jeryj
bph commentedon Apr 3, 2025
I would also like to know how @fabiankaegy and @karmatosed from the agency - customer perspective think about this conundrum, given that Zoom out view has mainly to do with patterns on a page or post rather with a template space. Although technically explainable it still feels like an arbitrary coupling of two different problem spaces.
fabiankaegy commentedon Apr 3, 2025
My honest answer here is that I think the way Zoomed out was introduced in the first place with the pattern inserter has been super confusing and I have not yet come across a client who hasn't been irritated by it / is constantly struggling to get out of the mode again.
I'm saying that because it pictures how I view this specific issue here. Because of what I just said I personally view the fact that this is making is harder to trigger the zoomed out mode is a positive side effect of this coupling...
If I completely detach myself from my experience with zoomed out though I can agree with what you are saying @bph. It sadly very much depends on the actual post type & layout what makes and doesn't make sense here... On a page that is just full bleed content it might make a ton of sense to have zoomed out mode be available for users because even without the show template option it looks like it will on the FE and therefore zoomed out provides a (theoretically) good experience.
For another post type with a sidebar etc it might make less sense because the actual preview is less representative of what you actually get to see on the FE and therefore the zoomed out is giving you a false perception of what the site is looking like from a bit more of a Birds Eye view...
Having said all of that I also don't quite know where to go from here... We can revert the coupling and leave the (in my eyes worse) current experience untouched whilst we are still trialing different things... But in reality this to me again is an example where a feature (Zoomed out in this case) was merged way too early. Yes merging early may work if we have all the active contributors available that move a specific feature forward over small sprints... But now that all those contributors have been pulled away we are left in the situation that half baked features that really shouldn't have shipped in the way they have are out there in core causing issues such as this... (sorry for the little rant here. I know no-one here is responsible for any of this :)❤️)