Page MenuHome

Scene "bread crumbs" in the middle of the panels when opening old files
Closed, ResolvedPublicBUG

Description

Blender Version
Broken: master (2.91 alpha) 1a64f97b9e12
Worked: 2.90

Short description of error
Opening a 2.8 file in master (2.91) shows the "Scene" bread crumb in the middle of the panels.

Exact steps for others to reproduce the error
Open:

This file is the layout from the archiviz eevee sample flie.

By moving any panel up/down the issue goes away.

Event Timeline

Dalai Felinto (dfelinto) changed the task status from Needs Triage to Confirmed.Sep 25 2020, 12:21 PM
Dalai Felinto (dfelinto) created this task.
Dalai Felinto (dfelinto) changed the subtype of this task from "Report" to "Bug".

@Hans Goudey (HooglyBoogly) most likely this is part of the search patch.

Interesting, not sure why this is happening. I'll take a look.

Very interesting! I just downloaded a fresh copy of 2.80, saved a file and opened it in master. It worked fine.
I also tried with the default startup files of 2.79 and 2.81. They worked fine.

What did cause the problem is saving the default startup file of 2.79, which did have this panel, then opening the file in 2.80 and rearranging some panels, then opening in master.
Because the Panel struct for currently unused panels is saved in files, the panel still existed in 2.80 even though it wasn't visible. So while rearranging panels it got moved to the bottom.
Then I used the same panel ID in 2.91, so the bad sortorder was read and the panel was placed in the middle.

In your case, I expect the file was created in an early version of 2.80 that still had the BUTTONS_PT_context panel.

An easy fix is to use a new ID name for the new version of this panel in 2.91. That won't solve this same situation in the future, but this is probably a very uncommon problem anyway.