Only search projects.blender.org
Log In
New Account
Home
My Page
Projects
Blender 2.x BF release
Summary
Activity
Tracker
SCM
Files
Blender 2.6 Bug Tracker: Browse
[#26651] Crash after running an operator in a maximized editor.
Date:
2011-03-28 22:30
Priority:
3
State:
Closed
Submitted by:
Eclectiel L (
eclectiel
)
Assigned to:
Ton Roosendaal (ton)
Category:
Interface
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
Summary:
Crash after running an operator in a maximized editor.
Detailed description
When running an operator in a maximized editor from the toolshelf, when restoring the layout (CTRL+UP ARROW), Blender crashes. Don't know if it happens with any operator. I attached a simple script example that always crashes.
WinXP 32, Blender 2.56.4 r35733.
Followup
Message
Date
: 2011-03-29 13:27
Sender
:
Eclectiel L
Some more info about this problem:
The crash happens when you click the Operator button in the toolshelf in a miximized 3D view and the tweak panel still shows the properties of the operator. When coming out from maximized view while showing the options in the tweak panel, it crashes.
In the "draw()" function of "GPENCIL_OT_operator_name" class I tried commenting all the lines except for the first one "layout = self.layout", and still crashes, but when I comment that one too and just add a "pass" command to the whole draw() function, it doesn't crash anymore.
Seems a problem with the tweak panel drawing when changing from maximized editor to regular layout.
Date
: 2011-03-29 15:10
Sender
:
Ton Roosendaal
Confirmed, will check later.
Date
: 2011-03-31 17:28
Sender
:
Ton Roosendaal
Fix is in svn now.
Thanks for the discovery, such bugs can be hard to pin down :)
BTW: my gdb stracktrace immediate pointed at the bad code, which was in the greasepencil code, modal() handler callback.
Date
: 2011-04-21 12:25
Sender
:
Eclectiel L
In 2.57 it still crashes in this situation.
Date
: 2011-04-21 12:50
Sender
:
Ton Roosendaal
Can you precisely define this "it", and confirm the the binary you tested is release from blender.org?
what I fixed is:
- maximize 3d view ctrl+up
- press toolbar Grease Pencil -> Draw
- unmaximize 3d view with ctrl+up
Date
: 2011-04-21 13:33
Sender
:
Eclectiel L
Sorry, I mean Blender crashes when doing these steps:
- Run the attached script in a Text editor.
- Go to 3D view and maximize (with toolshelf visible).
- Enter edit mode.
- In the "My Tool" panel in the toolshelf press the "Operator" button.
- and CTRL+UP to restore the original layout.
After that step Blender crashes.
I'm using Blender 2.57 rev36147, the official one from blender.org, in WinXP 32bits.
Attached Files:
Name
Date
Download
simple_operator_crash_maximized_editor.py
2011-03-28 22:30
Download
Changes:
Field
Old Value
Date
By
status_id
Open
2011-03-31 17:28
ton
close_date
None
2011-03-31 17:28
ton
Category
Python
2011-03-31 17:28
ton
Status
Investigate
2011-03-31 17:28
ton
assigned_to
none
2011-03-29 15:10
ton
Status
New
2011-03-29 15:10
ton
File Added
15580: simple_operator_crash_maximized_editor.py
2011-03-28 22:30
eclectiel