flatpak blender: Opening .blend files opens a new file #81304

Closed
opened 2020-09-29 18:54:45 +02:00 by Ahryeom HAN · 10 comments

System Information
Operating system: Fedora 30
Graphics card: nvidia

Blender Version
Broken: 2.90.0 flatpak
Worked: just before 2.90.0

Short description of error

When I open a blend file from Files(folder or navigator), it doesn't open the file but just starts blender program. But if I open the same file from blender, it works fine.

Exact steps for others to reproduce the error

  1. Double click any .blend file.

result: blender starts but my file is not opened.
expected result: Open my blender file directly.

**System Information** Operating system: Fedora 30 Graphics card: nvidia **Blender Version** Broken: 2.90.0 flatpak Worked: just before 2.90.0 **Short description of error** When I open a blend file from Files(folder or navigator), it doesn't open the file but just starts blender program. But if I open the same file from blender, it works fine. **Exact steps for others to reproduce the error** 1. Double click any .blend file. result: blender starts but my file is not opened. expected result: Open my blender file directly.
Author

Added subscriber: @Aryeom

Added subscriber: @Aryeom
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

this sounds similar to #77443 (Ubuntu: Opening .blend files opens a new file) which was a problem in Snap builds.
And also to #66722 (Blender stuck on default scene if some other app takes focus after double clicking file in Finder) but that's just a macOS issue with very specific steps of stealing focus.

this sounds similar to #77443 (Ubuntu: Opening .blend files opens a new file) which was a problem in Snap builds. And also to #66722 (Blender stuck on default scene if some other app takes focus after double clicking file in Finder) but that's just a macOS issue with very specific steps of *stealing focus*.
Member

There's a report at flatpak Blender package maintainers issues too https://github.com/flathub/org.blender.Blender/issues/61

There's a report at flatpak Blender package maintainers issues too https://github.com/flathub/org.blender.Blender/issues/61
Member

Added subscribers: @jesterking, @lichtwerk

Added subscribers: @jesterking, @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

@jesterking : since this got fixed for Snap on our side, is there something we can do for flatpak as well?

@jesterking : since this got fixed for Snap on our side, is there something we can do for flatpak as well?
Philipp Oeser changed title from I can't open blender files directly from my folder. to flatpak blender: Opening .blend files opens a new file 2020-09-30 11:23:03 +02:00
Member

@lichtwerk, the maintainer will have to update the build script such that the blender.sh script it creates knows how to pass on to Blender arguments given to it.

I am not familiar with flatpak. I assume the maintainer of it knows best.

Maybe peaking at how the snap version was fixed gives enough clue to figure it out: 3da4724f72

@lichtwerk, the maintainer will have to update the build script such that the blender.sh script it creates knows how to pass on to Blender arguments given to it. I am not familiar with flatpak. I assume the maintainer of it knows best. Maybe peaking at how the snap version was fixed gives enough clue to figure it out: 3da4724f72
Member

Changed status from 'Needs Developer To Reproduce' to: 'Archived'

Changed status from 'Needs Developer To Reproduce' to: 'Archived'
Ankit Meel self-assigned this 2020-09-30 14:55:29 +02:00
Member

https://github.com/flathub/org.blender.Blender/blob/master/org.blender.Blender.json#L178

"type": "script",
     "commands": [
     "cd /app/blender",
     "exec ./blender"
    ],

That looks wrong.
@Aryeom Please continue on the issue I linked above. Or even create a pull request for that repo.

https://github.com/flathub/org.blender.Blender/blob/master/org.blender.Blender.json#L178 ``` "type": "script", "commands": [ "cd /app/blender", "exec ./blender" ], ``` That looks wrong. @Aryeom Please continue on the issue I linked above. Or even create a pull request for that repo.
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#81304
No description provided.