N key doesn't open N-panel in tight space #52979

Closed
opened 2017-10-02 23:22:39 +02:00 by Serge Lyatin · 15 comments

System Information
Win7 64bit, screen resolution 1352*697 px

Blender Version
Broken: 2.79

Short description of error
N key doesn't work until manually click on tiny plus sign, after that it works good.
untitled.png

Exact steps for others to reproduce the error

  1. Press N key in green highlighted area -> won't open
  2. Click-drag plus sign of N-panel and press N key -> OK
    untitled.blend
**System Information** Win7 64bit, screen resolution 1352*697 px **Blender Version** Broken: 2.79 **Short description of error** N key doesn't work until manually click on tiny plus sign, after that it works good. ![untitled.png](https://archive.blender.org/developer/F932344/untitled.png) **Exact steps for others to reproduce the error** 1. Press N key in green highlighted area -> won't open 2. Click-drag plus sign of N-panel and press N key -> OK [untitled.blend](https://archive.blender.org/developer/F932347/untitled.blend)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @SergeL

Added subscriber: @SergeL

Added subscriber: @VukGardasevic

Added subscriber: @VukGardasevic

If the area is made wider (by dragging the border) than the default width of T and N regions in pixels - they will be displayed.
Also, they will show if the T and N regions were previously resized to fit the width of the area.

There is some difference in how with + sign those act compared to using shortcuts - so the report is about making them uniform?

@JulianEisel should this be considered as a ToDo since the similar behavior is there for a long time?

If the area is made wider (by dragging the border) than the default width of T and N regions in pixels - they will be displayed. Also, they will show if the T and N regions were previously resized to fit the width of the area. There is some difference in how with `+ sign` those act compared to using shortcuts - so the report is about making them uniform? @JulianEisel should this be considered as a ToDo since the similar behavior is there for a long time?

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel

Added subscriber: @KonstantinsVisnevskis

Added subscriber: @KonstantinsVisnevskis

Could be called a minor headache but this sometimes does lead to confusion and thinking that keyboard button isn't working or something like that (had been banging it a few times :) ). "Instinctively" one often assumes that the panel will get reduced in size to available space or would even get displayed in any way possible rather than not show up at all. Especially problematic when opening a project saved on a big monitor on a smaller computer. Makes one wonder why suddenly all the panes "stopped working".

Could be called a minor headache but this sometimes does lead to confusion and thinking that keyboard button isn't working or something like that (had been banging it a few times :) ). "Instinctively" one often assumes that the panel will get reduced in size to available space or would even get displayed in any way possible rather than not show up at all. Especially problematic when opening a project saved on a big monitor on a smaller computer. Makes one wonder why suddenly all the panes "stopped working".

@VukGardasevic "If the area is made wider (by dragging the border) than the default width of T and N regions in pixels - they will be displayed." At least in 2.79 and before this seems not to be the case. If the n-panel in the viewport is scaled up and the viewport is reduced in size after, it won't show up regardless if there is space for the default size.

@VukGardasevic "If the area is made wider (by dragging the border) than the default width of T and N regions in pixels - they will be displayed." At least in 2.79 and before this seems not to be the case. If the n-panel in the viewport is scaled up and the viewport is reduced in size after, it won't show up regardless if there is space for the default size.

There is a difference between the first shortcut run and the consequent ones after resize of the Regions.

Basically if the regions were not resized in width to fit it'll try to open up the default one and get collapsed if the area is too small.

There is a difference between the first shortcut run and the consequent ones after resize of the Regions. Basically if the regions were not resized in width to fit it'll try to open up the default one and get collapsed if the area is too small.

It is possible that I didn't fully understood what you mean, so I'll describe my thought in detail:

  • The N/T-panel can be scaled up considerably (in full screen region mode or on a bigger monitor for example).
  • Then the region gets reduced back to it's normal size or the file gets opened on a smaller monitor and the N/T-panel collapses due to lack of space.
  • The user presses N/T shortcut but nothing happens as current N/T-panel width is larger than can be displayed in current region or even the monitor.

Wouldn't it be logical that in this situation the panel would be scaled down back to default instead of not showing up?
(I mean only the situations when the user explicitly presses T/N shortcut of course)

It is possible that I didn't fully understood what you mean, so I'll describe my thought in detail: - The N/T-panel can be scaled up considerably (in full screen region mode or on a bigger monitor for example). - Then the region gets reduced back to it's normal size or the file gets opened on a smaller monitor and the N/T-panel collapses due to lack of space. - The user presses N/T shortcut but nothing happens as current N/T-panel width is larger than can be displayed in current region or even the monitor. Wouldn't it be logical that in this situation the panel would be scaled down back to default instead of not showing up? (I mean only the situations when the user explicitly presses T/N shortcut of course)

Added subscriber: @AnthonyEdlin

Added subscriber: @AnthonyEdlin

This is a long standing issue with design of areas and regions. There are many ways you can get the regions to force hide and therefore get it so that opening the region will fail with shortcuts. Scaling window like you said is just one.

It isn't even consistent in behavior.

For example, you can simply shrink 3d area with both N and T regions open and N region will close once they cross over each other. Now press T to close the tools region. N region will open up because it now has room, and you would think that the T region wouldn't open if you pressed T again because now it doesn't have room, that would be consistent with how you described the issue. But instead, the T region does open up and it force closes the N region again. This is because in the code the T region just happens to come first in the list of regions and therefore get's priority. In the image editor the T region comes after the N region so it works the opposite way.

Another example it isn't consistent is that if a region is hidden and wouldn't fit into the entire area's available space when shown, if you click the plus button on screen instead of the shortcut key it will actually resize the region to fit in the space available. This doesn't work if the region will not fit in the remaining space, only if it doesn't fit in the whole area's available space.

Very confusing to users if you don't understand internal data structures.

This is a long standing issue with design of areas and regions. There are many ways you can get the regions to force hide and therefore get it so that opening the region will fail with shortcuts. Scaling window like you said is just one. It isn't even consistent in behavior. For example, you can simply shrink 3d area with both N and T regions open and N region will close once they cross over each other. Now press T to close the tools region. N region will open up because it now has room, and you would think that the T region wouldn't open if you pressed T again because now it doesn't have room, that would be consistent with how you described the issue. But instead, the T region does open up and it force closes the N region again. This is because in the code the T region just happens to come first in the list of regions and therefore get's priority. In the image editor the T region comes after the N region so it works the opposite way. Another example it isn't consistent is that if a region is hidden and wouldn't fit into the entire area's available space when shown, if you click the plus button on screen instead of the shortcut key it will actually resize the region to fit in the space available. This doesn't work if the region will not fit in the remaining space, only if it doesn't fit in the whole area's available space. Very confusing to users if you don't understand internal data structures.

Added subscriber: @brecht

Added subscriber: @brecht

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Brecht Van Lommel self-assigned this 2019-04-04 05:29:04 +02:00

Should be fixed by 822c67364e.

Should be fixed by 822c67364e.
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#52979
No description provided.