Able to paint/select "through" disabled UI items. #70998

Open
opened 2019-10-21 17:27:13 +02:00 by Stanislav Blinov · 18 comments

Blender Version
Broken: 2.80, 2.81...

Short description of error
With region overlap, if a UI element is diabled, clicks are passed through it, which can result in paint strokes.

Exact steps for others to reproduce the error

  1. Load the default scene and enter Texture Paint mode on the cube.
  2. Add a paint slot and make a stroke.
  3. In the UV/Image editor, select the painted image, open the sidebar and switch to Image tab. The UI items should be disabled there now.
  4. Make sure that sidebar overlaps the image.
  5. Click on sidebar background.
  6. Click on any of the disabled items.

In (5), nothing happens. In (6), the click passes through and leaves a paint stroke on the image.

paint_through_ui.png

**Blender Version** Broken: 2.80, 2.81... **Short description of error** With region overlap, if a UI element is diabled, clicks are passed through it, which can result in paint strokes. **Exact steps for others to reproduce the error** 1. Load the default scene and enter Texture Paint mode on the cube. 2. Add a paint slot and make a stroke. 3. In the UV/Image editor, select the painted image, open the sidebar and switch to Image tab. The UI items should be disabled there now. 4. Make sure that sidebar overlaps the image. 5. Click on sidebar background. 6. Click on any of the disabled items. In (5), nothing happens. In (6), the click passes through and leaves a paint stroke on the image. ![paint_through_ui.png](https://archive.blender.org/developer/F7844199/paint_through_ui.png)

Added subscriber: @Stan_Pancakes

Added subscriber: @Stan_Pancakes

#91677 was marked as duplicate of this issue

#91677 was marked as duplicate of this issue

#84181 was marked as duplicate of this issue

#84181 was marked as duplicate of this issue

#74183 was marked as duplicate of this issue

#74183 was marked as duplicate of this issue

#71134 was marked as duplicate of this issue

#71134 was marked as duplicate of this issue
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Can confirm

Can confirm
Member

Added subscriber: @GaiaClary

Added subscriber: @GaiaClary
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

I am not able to reproduce this anymore. @lichtwerk can you reproduce?

I am not able to reproduce this anymore. @lichtwerk can you reproduce?

@Jeroen-Bakker, I can still reproduce with latest master. Video .

@Jeroen-Bakker, I can still reproduce with latest master. [Video ](https://youtu.be/zzLF_5oEMTA).
Member

Yes, can still reproduce [@Jeroen-Bakker: you make a stroke, then click on the (disabled) buttons ]
#70998.blend

Yes, can still reproduce [@Jeroen-Bakker: you make a stroke, then click on the (disabled) buttons ] [#70998.blend](https://archive.blender.org/developer/F8275742/T70998.blend)

Added subscriber: @WilliamReynish

Added subscriber: @WilliamReynish

I don't know if this is strictly speaking a bug. But I can see why it's a problem at least. We probably should address it in any case.

I don't know if this is strictly speaking a bug. But I can see why it's a problem at least. We probably should address it in any case.
Member

@WilliamReynish You can see in #71134 what a misleading situation this issue can create.

@WilliamReynish You can see in #71134 what a misleading situation this issue can create.
Member

Added subscriber: @erik85

Added subscriber: @erik85
Philipp Oeser changed title from Able to paint "through" disabled UI items. to Able to paint/select "through" disabled UI items. 2020-02-25 10:17:18 +01:00

Added subscriber: @rlneumiller

Added subscriber: @rlneumiller

Added subscriber: @PMA33

Added subscriber: @PMA33
Philipp Oeser removed the
Interest
User Interface
label 2023-02-10 09:25:06 +01:00
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
7 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#70998
No description provided.