UI breaks after moving the Blender window between monitors of different resolutions #100618
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#100618
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows 10
Graphics card: Nvidia GTX 1060
Blender Version
Broken: Blender 3.2.2
Short description of error
I have two monitors with different resolutions. When I drag the Blender app from the smaller one to the bigger one, resizing areas of the viewport causes the UI to break. Doing this fills the screen with black bars, and pop-ups from hovering never disappear.
New-Recording-24_08_2022-14_50_11.mp4
Exact steps for others to reproduce the error
It seems to depend on the layout in the file, so use the file attached below.
Ghost.blend
Added subscriber: @AzulDelta
Huh. After replicating the bug a few more times, it stopped happening on new files. Now its happening permanently in this specific file I was working on:
Ghost.blend
Added subscriber: @PratikPB2123
UI breaks after switching app between monitorsto UI breaks after switching app between monitors (WIN32)UI breaks after switching app between monitors (WIN32)to UI breaks after moving the Blender window between monitors of different resolutionsAdded subscribers: @Harley, @iss
I am able to reproduce with provided file, but not from scratch
@Harley I think you were looking for case like this (in context of having area split lines present that could not be removed), but could be completely different issue.
@iss - I think you were looking for case like this (in context of having area split lines present that could not be removed), but could be completely different issue.
Yes, this seems to be caused by joining areas in a way that left them invalid in this file. Which is why we can't replicate without this file. We had one other report of this type of thing since complex joining was added in Blender 3.0 with D8084: UI: Join or Close Any Area, but I have yet to find any steps that can be recreated to do this at will.
I'll take a closer look at this file to see if there are any clues.
@AzulDelta - I would love it if you can ever create a list of steps that start with Factory layout and result in this type of error. If I can follow steps that create this error I can definitely fix it. But it is a hard thing to figure out with just the file after the fact.
Changed status from 'Needs Triage' to: 'Needs User Info'
@Harley Did you make progress on this report? Since there is no response I am wondering whether this can be confirmed or we shall close the report.
This report ended up being about a singular blend file that was saved in a state with invalid regions after prior area joins.
So the report, as is, doesn't really describe the underlying issue. Basically the bug is really that a blend file can end up with invalid areas after joining in some circumstances. There are two ways to cause this, one addressed, the other not yet.
It was the case that our values for minimum area sizes were not scaled by UI scale. So it was possible to move a window between monitors of differing scale, adjust area sizes, then do a join where there was an area involved that was smaller than our minimum sizes. This was corrected in {d26a0be968e0}
It is currently possible to create areas that are below our minimum allowed sizes by sizing a window to wider than one monitor width (so spanning more than one monitor at once), then resize an area to minimum width, then scale the window itself back to fit on a single monitor. Our area scaling code would then make that small area below our minimum and allow it to break some joins. This is not addressed. I tried to do so in D15872: Fix #100772: Area AREAMINX on Window Resize but the approach was not approved. I'm hoping to revisit that during the 3.5 release cycle.
In a nutshell the chances of creating invalid areas is quite low and we have only had a few reports of this happening in the time since allowing complex joining (between areas of differing size). The most-likely vector for this has been fixed, but the less-likely way is still possible but is unlikely to occur in practice.
Changed status from 'Needs User Info' to: 'Archived'
Thanks for info, seems that what could be deduced from the report was, so since there is no more info provided by user, I will close this report.
@AzulDelta if you can provide more information feel free to do so either here on in new report.