VSE does not display properly when in "Both" mode #35709

Closed
opened 2013-06-11 13:04:44 +02:00 by Narayan Aras · 30 comments

Duplicates: #36457

%%%--- Operating System, Graphics card ---
Windows 7, no graphics card (the issue is not related to either factor)

- Blender version with error, and version that worked ---

All 2.5x and later versions have this behavioral problem.

- Short description of error ---

When VSE is set to "Both" view (mode), Blender should split the window and show both views ("Sequencer" and "Preview") simultaneously.

Instead, it shows the "Sequencer" mode (view) ONLY. To a new user, this is confusing (looks like the command failed).

Further, the user is expected to drag a tiny + button downward from the right-hand-top corner of the window.
Here, another unexpected thing happens: As soon as he drags the button, the "preview" panel springs open and occupies the WHOLE window.
The user cannot see the "preview" view at all.

(Expected behavior: When the user drags the + button, the dividing line between the "Sequencer" and "Preview" views would be dragged smoothly, so the user can set the panes for both views exactly as he likes.)

Instead, Blender has a strange way to make the "Sequencer" view visible: The user has to grab the lower wedge of the window and pull it down.
As the entire window re-sizes, the "Sequencer" view opens gradually.
This also is very odd behavior.

- Steps for others to reproduce the error (preferably based on attached .blend file) ---

%%%

**Duplicates**: #36457 %%%--- Operating System, Graphics card --- Windows 7, no graphics card (the issue is not related to either factor) - Blender version with error, and version that worked --- All 2.5x and later versions have this behavioral problem. - Short description of error --- When VSE is set to "Both" view (mode), Blender should split the window and show both views ("Sequencer" and "Preview") simultaneously. Instead, it shows the "Sequencer" mode (view) ONLY. To a new user, this is confusing (looks like the command failed). Further, the user is expected to drag a tiny + button downward from the right-hand-top corner of the window. Here, another unexpected thing happens: As soon as he drags the button, the "preview" panel springs open and occupies the WHOLE window. The user cannot see the "preview" view at all. (Expected behavior: When the user drags the + button, the dividing line between the "Sequencer" and "Preview" views would be dragged smoothly, so the user can set the panes for both views exactly as he likes.) Instead, Blender has a strange way to make the "Sequencer" view visible: The user has to grab the lower wedge of the window and pull it down. As the entire window re-sizes, the "Sequencer" view opens gradually. This also is very odd behavior. - Steps for others to reproduce the error (preferably based on attached .blend file) --- %%%
Author

Changed status to: 'Open'

Changed status to: 'Open'

#39970 was marked as duplicate of this issue

#39970 was marked as duplicate of this issue

#40654 was marked as duplicate of this issue

#40654 was marked as duplicate of this issue

%%%My guess is that your window is just really tiny and default size for preview area makes it overflow the area and hence it's collapsing. Dragging (+) restores to default area size, afair.

This is description about why it happens.

Ton, could you please check on this report? Thanks!%%%

%%%My guess is that your window is just really tiny and default size for preview area makes it overflow the area and hence it's collapsing. Dragging (+) restores to default area size, afair. This is description about why it happens. Ton, could you please check on this report? Thanks!%%%
Author

%%%No I actually made the VSE full size (CTRL+UpArrow) and then did this. Enclosing a video (please pause it when needed - I am trying to keep the video size small).%%%

%%%No I actually made the VSE full size (CTRL+UpArrow) and then did this. Enclosing a video (please pause it when needed - I am trying to keep the video size small).%%%
Author

%%%Hi Sergey,

I am not sure whether I had explained clearly; so adding a little clarification:

In my experiment, I had (a) maximized Blender window to full-screen and then (b)maximized VSE (CTRL+UpArrow) to take up full screen.
Even then the result is as described in my report. That means the window is not collapsing as you inferred.

Later, for capturing the video I made the window size smaller (to reduce the file size).
The result is same as before; which means the window size does not influence this behavior.

Desired behavior:
In "Both" mode, VSE window should be split equally and both "Preview" (at top) and "Sequencer" (at bottom) should be displayed.
By default, both panes should have the same height. (The user can always drag the border between them in case he wants a different size.)%%%

%%%Hi Sergey, I am not sure whether I had explained clearly; so adding a little clarification: In my experiment, I had (a) maximized Blender window to full-screen and then (b)maximized VSE (CTRL+UpArrow) to take up full screen. Even then the result is as described in my report. That means the window is not collapsing as you inferred. Later, for capturing the video I made the window size smaller (to reduce the file size). The result is same as before; which means the window size does not influence this behavior. Desired behavior: In "Both" mode, VSE window should be split equally and both "Preview" (at top) and "Sequencer" (at bottom) should be displayed. By default, both panes should have the same height. (The user can always drag the border between them in case he wants a different size.)%%%
Author

%%%Hi Ton,

I found one more %%%

%%%Hi Ton, I found one more %%%
Author

%%%[sorry the last post was not fully composed. Please ignore it, and read this one.]

I tried a variation of the earlier experiment and found more peculiar behavior:

I set a VSE window to "Both" mode, the entire VSE window switched to "Sequencer" mode.
I dragged the tiny + button only a little, and the entire VSE window switched to "Preview" mode (not split screen).
Up to this point, the script follows the old bug. But here, I tried a variation: I pressed CTRL+UpArrow.
The VSE window maximizes, and shows the split screen.
But if I toggle it back to its original size, the split screen vanishes, to be replaced by the "Preview" mode.

This is shown in the second video I uploaded.%%%

%%%[sorry the last post was not fully composed. Please ignore it, and read this one.] I tried a variation of the earlier experiment and found more peculiar behavior: I set a VSE window to "Both" mode, the entire VSE window switched to "Sequencer" mode. I dragged the tiny + button only a little, and the entire VSE window switched to "Preview" mode (not split screen). Up to this point, the script follows the old bug. But here, I tried a variation: I pressed CTRL+UpArrow. The VSE window maximizes, and shows the split screen. But if I toggle it back to its original size, the split screen vanishes, to be replaced by the "Preview" mode. This is shown in the second video I uploaded.%%%

%%%I do not know the current status of this bug, but for those who prefer text to video, here is a complete set of steps to reproduce the two issues demonstrated in attachment VSE.webm.

  1. Load the factory settings.
  2. Switch to Video Sequence Editor. VSE opens in the sequencer view.
  3. Switch VSE to the preview view.
  4. Switch VSE to the “both” view. This shows one issue:
  • Actual behavior: The entire VSE is filled by the sequencer pane.
  • Expected behavior: VSE should be split between the preview pane and the sequencer pane, both visible.
  1. To move the border between the two panes, start dragging the “+” icon hanging down from the top at the top-right corner of VSE downward. This shows the other issue:
  • Actual behavior: As soon as you start dragging, the entire VSE is filled by the preview pane.
  • Expected behavior: The dragging just a little bit should move the border just a little bit.

Reproduced with Blender 2.67b 64-bit (official binary) and r57344 64-bit (http://builder.blender.org/download/blender-2.67-r57344-win64.zip), both on Windows 7 64-bit.

I think the issues demonstrated in attachment VSE2.webm are the same as the ones demonstrated in VSE.webm.%%%

%%%I do not know the current status of this bug, but for those who prefer text to video, here is a complete set of steps to reproduce the two issues demonstrated in attachment VSE.webm. 1. Load the factory settings. 2. Switch to Video Sequence Editor. VSE opens in the sequencer view. 3. Switch VSE to the preview view. 4. Switch VSE to the “both” view. This shows one issue: * Actual behavior: The entire VSE is filled by the sequencer pane. * Expected behavior: VSE should be split between the preview pane and the sequencer pane, both visible. 5. To move the border between the two panes, start dragging the “+” icon hanging down from the top at the top-right corner of VSE downward. This shows the other issue: * Actual behavior: As soon as you start dragging, the entire VSE is filled by the preview pane. * Expected behavior: The dragging just a little bit should move the border just a little bit. Reproduced with Blender 2.67b 64-bit (official binary) and r57344 64-bit (http://builder.blender.org/download/blender-2.67-r57344-win64.zip), both on Windows 7 64-bit. I think the issues demonstrated in attachment VSE2.webm are the same as the ones demonstrated in VSE.webm.%%%
Member

%%%Ok, I am looking into the code on this one.
So far I found the routines in the Sequencer code but they reference higher up code. I'm moving outside the sequencer code looking for the "SEQUENCER_OT_view_toggle" code that the UI/button call triggers.

As I mentioned, we can post help/questions here or I will bring it up in dev chat if I get stuck or take too much time.
If anyone else is spending time on this, please let me know. Thanks.

%%%

%%%Ok, I am looking into the code on this one. So far I found the routines in the Sequencer code but they reference higher up code. I'm moving outside the sequencer code looking for the "SEQUENCER_OT_view_toggle" code that the UI/button call triggers. As I mentioned, we can post help/questions here or I will bring it up in dev chat if I get stuck or take too much time. If anyone else is spending time on this, please let me know. Thanks. %%%
Member

%%%I'm making progress. I got it to partially work correctly. There's still more work to be done.
%%%

%%%I'm making progress. I got it to partially work correctly. There's still more work to be done. %%%
Member

%%%The areas of code have been identified involving all this behavior. There are ~3-4 issues. I am still deciphering the window management code and the variables/flags used so answers are coming in segments.

One issue is actually a "works as intended" issue but it is backwards from what is expected. In actuality it works fine when you consider that.
While in sequencer view, if you click on the both button a '+' will show up. Click and hold on the plus and DRAG UP, NOT DOWN and the preview window will become visible and as you drag up the sequencer will scale up in size as the preview window scales down in size.

So it is backwards from the usual or expected behavior of dragging the "+" down to reveal the preview window. But still, it works as coded/intended. So this part is an inconsistency todo.

More to come soon. %%%

%%%The areas of code have been identified involving all this behavior. There are ~3-4 issues. I am still deciphering the window management code and the variables/flags used so answers are coming in segments. One issue is actually a "works as intended" issue but it is backwards from what is expected. In actuality it works fine when you consider that. While in sequencer view, if you click on the both button a '+' will show up. Click and hold on the plus and DRAG UP, NOT DOWN and the preview window will become visible and as you drag up the sequencer will scale up in size as the preview window scales down in size. So it is backwards from the usual or expected behavior of dragging the "+" down to reveal the preview window. But still, it works as coded/intended. So this part is an inconsistency todo. More to come soon. %%%
Member

%%%Main issues breakdown:(using default cube scene added as a strip for testing)

When first entering the Video Editing screen the Sequencer button is depressed but the + is available as in Both mode.
Drag Down the + only works to reveal the Preview the first time if no toggle buttons were pressed and results in a preview zoomed very far out and so tiny it is unusable without zooming far in.

With the default Video Editor screen layout the logic of the Sequencer/Preview/Both buttons do unexpected changes and are inconsistent in the changes depending on what order they are clicked on.
Some combinations keep settings, some zoom to the background size, some zoom too far into the background clipping the bottom of the cube view.

Even when other areas are removed and the Sequencer area is full screen, unexpected changes occur similar to when in default layout with a smaller Sequencer area.

So it seems there are tri-logic toggling algorithm issues, zooming consistency issues, + Drag Down issues and Preview state retention issues.

NOTE: The Sequencer is the only place the UI "+" region scale code from screen_ops.c is used other than with options/tool panels as far as I can see.

The scope and fix appears to be a combination of Python UI code and C code from both the Sequencer code and the region scale code.
Ton, I would need your help in identifying flags and variables to focus debug traces/watches on to find an exact scope and fix. %%%

%%%Main issues breakdown:(using default cube scene added as a strip for testing) When first entering the Video Editing screen the Sequencer button is depressed but the + is available as in Both mode. Drag Down the + only works to reveal the Preview the first time if no toggle buttons were pressed and results in a preview zoomed very far out and so tiny it is unusable without zooming far in. With the default Video Editor screen layout the logic of the Sequencer/Preview/Both buttons do unexpected changes and are inconsistent in the changes depending on what order they are clicked on. Some combinations keep settings, some zoom to the background size, some zoom too far into the background clipping the bottom of the cube view. Even when other areas are removed and the Sequencer area is full screen, unexpected changes occur similar to when in default layout with a smaller Sequencer area. So it seems there are tri-logic toggling algorithm issues, zooming consistency issues, + Drag Down issues and Preview state retention issues. NOTE: The Sequencer is the only place the UI "+" region scale code from screen_ops.c is used other than with options/tool panels as far as I can see. The scope and fix appears to be a combination of Python UI code and C code from both the Sequencer code and the region scale code. Ton, I would need your help in identifying flags and variables to focus debug traces/watches on to find an exact scope and fix. %%%
Member

%%%I have a partial fix via changing some values during debug. Hopefully I will have a complete fix and a patch soon.%%%

%%%I have a partial fix via changing some values during debug. Hopefully I will have a complete fix and a patch soon.%%%
Member

Ok, I located and verified the fix for the popping fully open when clicking on + tab for both mode bug.
I will code a patch next for it alone. The other two issues of odd toggle logic and inconsistent zoom settings should be resolved soon also.
JTa

Ok, I located and verified the fix for the popping fully open when clicking on + tab for both mode bug. I will code a patch next for it alone. The other two issues of odd toggle logic and inconsistent zoom settings should be resolved soon also. JTa
Member

Added subscriber: @carlospadial

Added subscriber: @carlospadial
Member

Note for clarity:
This is not a bug but rather a works as intended behavior from a quick and dirty hack.

There are two issues. One is incorrect button toggle logic. This issue remembers previous states so it looks odd, but it works as intended. Reworking the logic requires modifying the windowing code and/or parameters, not just VSE code.

The other issue is the preview window sizing. The sizing actually works as intended in code. If you hold down the mouse button after clicking on the plus sign to reveal the preview, you can pull up and size the preview as intended. When you release the mouse button after clicking the plus sign it usually pops just barely below the header as intended by the vertical code.

This behavior is from the hack that was used from the vertical reveal code being applied to a horizontal window. I have the code identified and know where to fix it. I have the fix working in debug mode. The issue is it includes modifying the windowing code outside of the VSE code and effecting the sizing routines directly for everything else.

Note for clarity: This is not a bug but rather a works as intended behavior from a quick and dirty hack. There are two issues. One is incorrect button toggle logic. This issue remembers previous states so it looks odd, but it works as intended. Reworking the logic requires modifying the windowing code and/or parameters, not just VSE code. The other issue is the preview window sizing. The sizing actually works as intended in code. If you hold down the mouse button after clicking on the plus sign to reveal the preview, you can pull up and size the preview as intended. When you release the mouse button after clicking the plus sign it usually pops just barely below the header as intended by the vertical code. This behavior is from the hack that was used from the vertical reveal code being applied to a horizontal window. I have the code identified and know where to fix it. I have the fix working in debug mode. The issue is it includes modifying the windowing code outside of the VSE code and effecting the sizing routines directly for everything else.

Added subscriber: @rocketman

Added subscriber: @rocketman

◀ Merged tasks: #39970.

◀ Merged tasks: #39970.

Merged the reports now.

Not sure why you think window code is to be modified. Will look into it but think it's doable from the sequencer's space update() callback.

Merged the reports now. Not sure why you think window code is to be modified. Will look into it but think it's doable from the sequencer's space update() callback.
Member

The modifying window code train of thought was it would help any other horizontal show/hide issue, not just address the current one with the VSE.

The modifying window code train of thought was it would help any other horizontal show/hide issue, not just address the current one with the VSE.

Added subscriber: @Garrett-8

Added subscriber: @Garrett-8

◀ Merged tasks: #40654.

◀ Merged tasks: #40654.
Member

Added subscriber: @gandalf3

Added subscriber: @gandalf3
Member

Same for me, however it's using showing the preview screen instead of the sequencer screen (where it should be showing both).
Tested with 2.71 testbuild2

When I opened the same file in 2.68, It was in preview only mode. I switched to "both", and then it appeared as a sequencer with a plus icon at the top of the editor. Clicking the plus changed the entire "both" view to a preview, with no plus icon visible at the top of bottom of the editor.

Same for me, however it's using showing the preview screen instead of the sequencer screen (where it should be showing both). Tested with 2.71 testbuild2 When I opened the same file in 2.68, It was in preview only mode. I switched to "both", and then it appeared as a sequencer with a plus icon at the top of the editor. Clicking the plus changed the entire "both" view to a preview, with no plus icon visible at the top of bottom of the editor.
Member

gandalf3 if you take a closer look at my "Note for clarity:..." post above, there are too odd behaviors. One is the size of the window the other is the button toggle logic. The buttons sometimes use the previous size and sometimes they do not. It all depends on the order in which they are toggled. That sounds like what is happening to your file.

None of the devs have posted here directly changing any code to fix this. So unless someone has changed code for 2.71 that unintentionally changes this behavior as a side effect, I don't know why you are getting two different results in the two versions with the same file.

Please take a look at my "Note for clarity:..." post to see if that seems like what is happening. It should not be file specific, it should happen with the Sequencer and the default file the same as with any other file IMHO.

gandalf3 if you take a closer look at my "Note for clarity:..." post above, there are too odd behaviors. One is the size of the window the other is the button toggle logic. The buttons sometimes use the previous size and sometimes they do not. It all depends on the order in which they are toggled. That sounds like what is happening to your file. None of the devs have posted here directly changing any code to fix this. So unless someone has changed code for 2.71 that unintentionally changes this behavior as a side effect, I don't know why you are getting two different results in the two versions with the same file. Please take a look at my "Note for clarity:..." post to see if that seems like what is happening. It should not be file specific, it should happen with the Sequencer and the default file the same as with any other file IMHO.
Member

@jta That makes perfect sense now, thanks.
It does indeed happen with any file, and the behavior seems the same in 2.68/2.71 testbuild2.

I did notice one odd thing though (I'm not sure if it's already been noticed), but if you switch to "Both" after being in preview mode, there doesn't seem to be any way to get a sequencer when in "both" mode (I don't see any + icons).

@jta That makes perfect sense now, thanks. It does indeed happen with any file, and the behavior seems the same in 2.68/2.71 testbuild2. I did notice one odd thing though (I'm not sure if it's already been noticed), but if you switch to "Both" after being in preview mode, there doesn't seem to be any way to get a sequencer when in "both" mode (I don't see any + icons).

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Added subscriber: @mont29

Added subscriber: @mont29

Eeeeh… Was not aware of this report… I fixed this the other day (from #41323, f37c3dd6a6).

Eeeeh… Was not aware of this report… I fixed this the other day (from #41323, f37c3dd6a6).
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
8 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#35709
No description provided.