massive gaps in template_icon_view layouts #92877

Closed
opened 2021-11-06 14:29:52 +01:00 by MACHIN3 · 8 comments

System Information
Operating system: Linux-4.15.0-159-generic-x86_64-with-glibc2.27 64 Bits
Graphics card: GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.91.03

Blender Version
Broken: version: 3.0.0 Beta, branch: master, commit date: 2021-11-05 22:17, hash: 7a5b8cb202
Worked: 2.93

Short description of error
In 3.0 template_icon_view layouts have massive empty gaps, that in turn shrink the size of the thumbnails dramatically, making them much less useful.

2.93 and earlier:
2.93.jpg

3.0:
3.0.jpg

with non-transparent thumbnails:
template_icon_view_gaps.jpg

Also, the highlight shape has huge rounded corners now. This is theme-able, but considering some thumbnails may have alpha while other don't, maybe it's a good idea to have a way to force a rectangular highlight shape by passing some argument to layout.template_icon_view()?
Or maybe it's better to just always define the amount of roundness that way, instead of in the theme?

Exact steps for others to reproduce the error

  • open the matcap panel in 2.93 and 3.0 and compare
**System Information** Operating system: Linux-4.15.0-159-generic-x86_64-with-glibc2.27 64 Bits Graphics card: GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.91.03 **Blender Version** Broken: version: 3.0.0 Beta, branch: master, commit date: 2021-11-05 22:17, hash: `7a5b8cb202` Worked: 2.93 **Short description of error** In 3.0 `template_icon_view` layouts have massive empty gaps, that in turn shrink the size of the thumbnails dramatically, making them much less useful. 2.93 and earlier: ![2.93.jpg](https://archive.blender.org/developer/F11750720/2.93.jpg) 3.0: ![3.0.jpg](https://archive.blender.org/developer/F11750722/3.0.jpg) with non-transparent thumbnails: ![template_icon_view_gaps.jpg](https://archive.blender.org/developer/F11750726/template_icon_view_gaps.jpg) Also, the highlight shape has huge rounded corners now. This is theme-able, but considering some thumbnails may have alpha while other don't, maybe it's a good idea to have a way to force a rectangular highlight shape by passing some argument to `layout.template_icon_view()`? Or maybe it's better to just always define the amount of roundness that way, instead of in the theme? **Exact steps for others to reproduce the error** * open the matcap panel in 2.93 and 3.0 and compare
Author

Added subscriber: @MACHIN3

Added subscriber: @MACHIN3
Author

Added subscriber: @pablovazquez

Added subscriber: @pablovazquez
Author

Do you want to take a look at this @pablovazquez?

Do you want to take a look at this @pablovazquez?
Contributor

Added subscriber: @dupoxy

Added subscriber: @dupoxy
Contributor

This looks like #92278 .

This looks like #92278 .

Added subscriber: @Memento

Added subscriber: @Memento
Member

In #92877#1249666, @MACHIN3 wrote:
Do you want to take a look at this @pablovazquez?

It's being investigated as part of D13125 and D12842.

> In #92877#1249666, @MACHIN3 wrote: > Do you want to take a look at this @pablovazquez? It's being investigated as part of [D13125](https://archive.blender.org/developer/D13125) and [D12842](https://archive.blender.org/developer/D12842).
Member

Closed as duplicate of #92278

Closed as duplicate of #92278
Sign in to join this conversation.
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
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#92877
No description provided.