File dialog operator doesn't completely block focus/event to main window #107802
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#107802
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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: Ubuntu 22.04.1 LTS x86_64 (X11 session, XFCE) AND Windows 11
Graphics card: NVIDIA Quadro K5100M
Blender Version
Broken: 2.9~3.6
Worked: assuming none
Short description of error
alt-tab
to Blender main window while a file dialog is opening seems to give focus on main window, and if you pressS
then you will be invoking the scaling operator but no way to actually do anything except pressingesc
, and then the file dialog confirm row is gone (I assume it exits the file selection operator), while the scaling operator is still running.You could right click on a blank place in the 3d viewport to exit that operator, but continuous grab makes it harder since the file dialog is quite big on my screen.
Exact steps for others to reproduce the error
alt+tab
to another applicationalt+tab
to Blender's main window (The file dialogue should be on top of it)S
, you can see you actually invoked scaling operator on the object (well any other key should also do it I guess).esc
, you now exited the file opening operator, if you didn't click inside the file dialogue, you will exit the scaling operator, but if you did:Note if you click blender from "minimized window bar" place to activate the window, it will not work.
Could be a problem with X11 or XFCE as well, just want to see if any linux guys could reproduce the issue.
Looks like it affects X11 KDE/Kwin too. Blender 3.5
Actually, I can screw up the file browser without
alt+tab
:S
to scaleInterestingly, the dashed line scaling indicator draws on top of the file browser for me.
Also, I use a one click to focus, second click to raise policy in Kwin, in case that makes any difference.
Guys I can even reproduce the problem on Windows with @Imaginer 's method... So something a bit weird is happening with blender's window manager/event system. The modal operator should technically block stuff from the other window other than the file browser but evidently it doesn't.
It's not a big problem in regular use [ most scenarios no one should really notice this ] but yeah... I can see there could be a potential confusion when there's multiple windows across monitors
`alt-tab` to Blender main window while a file dialog is opening seems to give focus on main windowto File dialog operator doesn't completely block focus/event to main window