Blender File View looses buttons and input field #75292

Closed
opened 2020-04-01 21:43:45 +02:00 by testaf · 16 comments

System Information
Operating system:Windows
Graphics card:

Blender Version
Broken: 2.82a

Short description of error

UI breaks on export if name is being edited in outliner

Exact steps for others to reproduce the error
In the startup file:

  1. Open Blender File View (e.g. File > Save As)
  2. Move your mouse away from the new window, start editing name of anything in outliner [previous window], dont confirm it though
  3. Move you mouse back to the Blender File View, press Save As --> button and input file-input-field will be gone...

BugReport.png

**System Information** Operating system:Windows Graphics card: **Blender Version** Broken: 2.82a **Short description of error** UI breaks on export if name is being edited in outliner **Exact steps for others to reproduce the error** In the startup file: 1. Open Blender File View (e.g. `File` > `Save As`) 2. Move your mouse away from the new window, start editing name of anything in outliner [previous window], dont confirm it though 3. Move you mouse back to the Blender File View, press `Save As` --> button and input file-input-field will be gone... ![BugReport.png](https://archive.blender.org/developer/F8442085/BugReport.png)
Author

Added subscriber: @nikars

Added subscriber: @nikars

#75699 was marked as duplicate of this issue

#75699 was marked as duplicate of this issue
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Can confirm (also in 25b2b6724d)

Can confirm (also in 25b2b6724d)
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

I cannot reproduce it. Everything seems to work as normal. Also, what is the "export window"? The normal save dialog?
And what exactly do you mean by "breaks the ui"?

I cannot reproduce it. Everything seems to work as normal. Also, what is the "export window"? The normal save dialog? And what exactly do you mean by "breaks the ui"?
Philipp Oeser changed title from UI breaks on export to Blender File View looses buttons and input field 2020-04-07 15:00:40 +02:00
Member

@JacquesLucke : updated the report description, can you reproduce now?

@JacquesLucke : updated the report description, can you reproduce now?
Member
No: [2020-04-07 15-10-38.mp4](https://archive.blender.org/developer/F8454628/2020-04-07_15-10-38.mp4)
Member

@JacquesLucke : dont confirm the rename, leave the name field in editing state

@JacquesLucke : dont confirm the rename, leave the name field in editing state
Member

Ahh, okay. Now I can reproduce it.

Ahh, okay. Now I can reproduce it.
Contributor

Added subscriber: @RedMser

Added subscriber: @RedMser
Contributor

This is as far as I got debugging this issue (might help a developer to fix this):

This does not happen when having the File Browser open in fullscreen (doing the rename on a second window).

Clicking either Cancel or Save As will set SpaceFile->op = NULL and sends a EVT_FILESELECT_* event to inform the caller that the dialog is closing with either success or cancel.
The buttons disappear due to file_panel_operator_poll returning false (since op was, as expected, set to null).

To fix the bug, we just need to find out why the event is not being handled (wm_handler_fileselect_call is not being run for EVT_FILESELECT_*).

Using --debug-wm shows that the event is still firing.

This is as far as I got debugging this issue (might help a developer to fix this): This does not happen when having the File Browser open in fullscreen (doing the rename on a second window). Clicking either Cancel or Save As will set `SpaceFile->op = NULL` and sends a `EVT_FILESELECT_*` event to inform the caller that the dialog is closing with either success or cancel. The buttons disappear due to `file_panel_operator_poll` returning false (since op was, as expected, set to null). To fix the bug, we just need to find out why the event is not being handled (`wm_handler_fileselect_call` is not being run for `EVT_FILESELECT_*`). Using `--debug-wm` shows that the event is still firing.
Member

Added subscriber: @Muritaka

Added subscriber: @Muritaka

This issue was referenced by b75ce05c3b

This issue was referenced by b75ce05c3b0f44871236d75713745d8308c852d3
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Jacques Lucke self-assigned this 2020-05-18 12:01:37 +02: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
5 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#75292
No description provided.