File Browser drag and drop not working (when dragging with Display as Thumbnails) #93368

Closed
opened 2021-11-25 08:18:58 +01:00 by Adrian Kulawik · 27 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 960M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.12

Blender Version
Broken: version: 3.1.0 Alpha, branch: master, commit date: 2021-11-25 17:33, hash: 7b5a6f452a
Broken: version: 3.0.0 Beta, branch: master, commit date: 2021-11-24 23:03, hash: 8f2db94627
Caused by bbadee6fc1

Short description of error
Drag and Drop in File Browser don't work in latest version of Blender 3.0

  1. Display as a Vertical list Working
  2. Display as Horizontal list Working
  3. Display as Thumbnails not work at all.

Exact steps for others to reproduce the error
File Browser - Try to drag 3D model blend file to scene from File Browser.
In Version from 23.11.2020 everything is working with File Browser drag and drop to scene.

Broken Working
Blender [C__Users_Pratik_Downloads_T93368.blend] 2021-11-26 18-23-16.mp4 Blender [C__Users_Pratik_Downloads_T93368.blend] 2021-11-26 18-32-05.mp4
**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 960M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.12 **Blender Version** Broken: version: 3.1.0 Alpha, branch: master, commit date: 2021-11-25 17:33, hash: 7b5a6f452a Broken: version: 3.0.0 Beta, branch: master, commit date: 2021-11-24 23:03, hash: `8f2db94627` Caused by bbadee6fc1 **Short description of error** Drag and Drop in File Browser don't work in latest version of Blender 3.0 1) Display as a Vertical list Working 2) Display as Horizontal list Working 3) Display as Thumbnails not work at all. **Exact steps for others to reproduce the error** File Browser - Try to drag 3D model blend file to scene from File Browser. In Version from 23.11.2020 everything is working with File Browser drag and drop to scene. | Broken | Working | | -- | -- | | [Blender [C__Users_Pratik_Downloads_T93368.blend] 2021-11-26 18-23-16.mp4](https://archive.blender.org/developer/F12273577/Blender__C__Users_Pratik_Downloads_T93368.blend__2021-11-26_18-23-16.mp4) | [Blender [C__Users_Pratik_Downloads_T93368.blend] 2021-11-26 18-32-05.mp4](https://archive.blender.org/developer/F12274579/Blender__C__Users_Pratik_Downloads_T93368.blend__2021-11-26_18-32-05.mp4) |
Author

Added subscriber: @Adrian1819

Added subscriber: @Adrian1819

#93399 was marked as duplicate of this issue

#93399 was marked as duplicate of this issue
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Cannot reproduce here:

#93368.webm

Please try with File → Defaults → Load Factory Settings to see if you still can reproduce this issue.
Also: what exactly "does not work"? You cannot drag at all? error on drop? Please try to be more specific

Cannot reproduce here: [#93368.webm](https://archive.blender.org/developer/F12111172/T93368.webm) Please try with File → Defaults → Load Factory Settings to see if you still can reproduce this issue. Also: what exactly "does not work"? You cannot drag at all? error on drop? Please try to be more specific
Author

Hi,
I just tested version from today with clear Blender 3D in Windows.
No menu.jpg No Menu

Version from 23.11.2021:
Version from 23 November.jpg

Hi, I just tested version from today with clear Blender 3D in Windows. ![No menu.jpg](https://archive.blender.org/developer/F12161331/No_menu.jpg) No Menu Version from 23.11.2021: ![Version from 23 November.jpg](https://archive.blender.org/developer/F12161393/Version_from_23_November.jpg)
Author

Ok, I found issue.
Problem is in Display Mode:
1.) Display as a Vertical list Working
2.) Display as Horizontal list Working

3.)Display as Thumbnails not work at all.

Ok, I found issue. Problem is in Display Mode: 1.) Display as a Vertical list Working 2.) Display as Horizontal list Working 3.)Display as Thumbnails not work at all.
Author

Display Mode not work.jpg

![Display Mode not work.jpg](https://archive.blender.org/developer/F12163138/Display_Mode_not_work.jpg)
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Member

Still cannot repro on linux, but this has been reported again in #93399 (Bug in Blender 3.0 and 3.1 File Browser Display Mode Issue).

Still cannot repro on linux, but this has been reported again in #93399 (Bug in Blender 3.0 and 3.1 File Browser Display Mode Issue).
Philipp Oeser changed title from File Browser Issue to File Browser drag and drop not working (when dragging with Display as Thumbnails) 2021-11-26 11:36:25 +01:00
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

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

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

I can reproduce on windows. Will check.

I can reproduce on windows. Will check.
Member

@lichtwerk , I can only reproduce if .blend file is compressed. Can you redo with compressed file?

Will bisect.

@lichtwerk , I can only reproduce if .blend file is compressed. Can you redo with compressed file? Will bisect.
Member

Nope, cannot repro (even with compressed)

Nope, cannot repro (even with compressed)

Added subscriber: @mano-wii

Added subscriber: @mano-wii

It's working fine for me. Compressed or not.
Maybe more details are needed to reproduce the problem? Since it depends on compression, it can depend on other things as well.
Windows also has a security system when dropping things in an application running as an admin. Make sure this is not the case. (See https://superuser.com/questions/59051/drag-and-drop-file-into-application-under-run-as-administrator).


System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.14760 Core Profile Context 20.45.37.01 27.20.14537.1001

It's working fine for me. Compressed or not. Maybe more details are needed to reproduce the problem? Since it depends on compression, it can depend on other things as well. Windows also has a security system when dropping things in an application running as an admin. Make sure this is not the case. (See https://superuser.com/questions/59051/drag-and-drop-file-into-application-under-run-as-administrator). --- **System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.14760 Core Profile Context 20.45.37.01 27.20.14537.1001
Member

Added subscriber: @Harley

Added subscriber: @Harley
Member

Git bisect pointed me to this commit: bbadee6fc1

Windows also has a security system when dropping things

Not sure if that's the case. If so, that should also affect older builds, no?

cc @Harley

Git bisect pointed me to this commit: bbadee6fc1 > Windows also has a security system when dropping things Not sure if that's the case. If so, that should also affect older builds, no? cc @Harley
Member
For test purpose I used this file: [1-2-3.blend](https://archive.blender.org/developer/F12272241/1-2-3.blend) | Broken | Working | | -- | -- | | [Blender [C__Users_Pratik_Downloads_T93368.blend] 2021-11-26 18-23-16.mp4](https://archive.blender.org/developer/F12273577/Blender__C__Users_Pratik_Downloads_T93368.blend__2021-11-26_18-23-16.mp4) | [Blender [C__Users_Pratik_Downloads_T93368.blend] 2021-11-26 18-32-05.mp4](https://archive.blender.org/developer/F12274579/Blender__C__Users_Pratik_Downloads_T93368.blend__2021-11-26_18-32-05.mp4) |
Member

Interesting, I can see the preview on that 1-2-3.blend (whereas for @PratikPB2123, this seems to only resolve to the document icon...):
image.png

Interesting, I can see the preview on that `1-2-3.blend` (whereas for @PratikPB2123, this seems to only resolve to the document icon...): ![image.png](https://archive.blender.org/developer/F12275706/image.png)
Member

Dont want to spread paranoia, but this seems to be a thing -- even though I cannot reproduce this myself, but it has been confirmed and been reported multiple times -- (and it would be a pity to ship 3.0 with it), so I think this deserves a look prior release (will dare setting it to High prio).

Dont want to spread paranoia, but this seems to be a thing -- even though I cannot reproduce this myself, but it has been confirmed and been reported multiple times -- (and it would be a pity to ship 3.0 with it), so I think this deserves a look prior release (will dare setting it to High prio).
Harley Acheson self-assigned this 2021-11-26 17:08:44 +01:00
Member

I see it. The drop that is not working is Blend files without preview. These items get a different icon.

blend_file_drop_poll() is called to see if this is something we can drop. It is only checking if the icon was ICON_FILE_BLEND.

But this icon now looks like a blender logo inside a document. Julian didn't like how that icon looked when inside the large document in thumbnail view. So I made it be just the blender logo, but then it fails the poll checking for that one icon.

The way this poll function works this means that you also can't drag and drop backup (blend1) files.

Will submit a patch right away

I see it. The drop that is not working is Blend files without preview. These items get a different icon. blend_file_drop_poll() is called to see if this is something we can drop. It is only checking if the icon was ICON_FILE_BLEND. But this icon now looks like a blender logo inside a document. Julian didn't like how that icon looked when inside the large document in thumbnail view. So I made it be just the blender logo, but then it fails the poll checking for that one icon. The way this poll function works this means that you also can't drag and drop backup (blend1) files. Will submit a patch right away

Still normal here with the file attached.

Still normal here with the file attached.
Member

@mano-wii This problem should only be when dragging blends in Thumbnail view that do not have previews.

@mano-wii This problem should only be when dragging blends in Thumbnail view that **do not have previews**.

This issue was referenced by 3788003cda

This issue was referenced by 3788003cdaeba4fb2b6dee5737c13412bf2d259a
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Thomas Dinges added this to the 3.0 milestone 2023-02-08 15:58:47 +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#93368
No description provided.