Page MenuHome

UI: Flipping a Sidebar with more tabs isn't aligned correct
Open, Needs Triage by DeveloperPublic

Description

System Information
Operating system: Windows-10-10.0.17763 64 Bits
Graphics card: Intel(R) UHD Graphics 600 Intel 4.5.0 - Build 26.20.100.7158

Blender Version
Broken: version: 2.82 (sub 1), branch: master (modified), commit date: 2019-11-22 06:23, hash: rB3d015c71ccbc
Worked: (optional)

Short description of error
UI: Flipping a Sidebar with more tabs isn't aligned correct after a flip(gif):

Exact steps for others to reproduce the error
Install a Text Editor add-on which is placed in a new tab and run this scrip:

import bpy
# flip text editor sidebar
context = bpy.context
c = {}  # override dictionary
window = context.window
c["window"] = window
for screen in bpy.data.screens:
    #print (str(screen))
    c["screen"] = screen
    for area in screen.areas:
        c["area"] = area
        #print (str(area.type))
        if area.type == "TEXT_EDITOR":
            for region in area.regions:
                print (str(region.type))
                if region.type == 'UI':# and not (region.x - area.x):
                    c["region"] = region
                    bpy.ops.screen.region_flip(c)

Details

Type
Bug

Event Timeline