Outliner scrollbar does not appear with resolutions greater than FHD #75003

Closed
opened 2020-03-22 03:25:31 +01:00 by Jesse Yurkovich · 25 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1070 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.66

Blender Version
Broken: version: 2.83 (sub 10), branch: master, commit date: 2020-03-21 20:58, hash: 9e8afa8817
Broken: version: 2.82a is also broken
Broken: version: 2.81a is also broken
Worked: probably never?

Short description of error
The problem seems to exist with monitors with higher than FHD resolution, and doesnt seem to be affected by DPI or OS scaling.

When enough objects are added to the scene the outliner should reach a point where a scrollbar most definitely should appear. However, one never does. It will only appear if you resize the outliner window region (either smaller or larger). It seems that all it needs is some sort of refresh.

Exact steps for others to reproduce the error
I cannot provide a .blend since if you load it up, the outliner will function correctly. This appears to only happen when adding objects in real time.

  • Start with default .blend
  • Duplicate the default cube enough times to fill up the outliner and get to a point where the scrollbar should appear
  • Notice how it doesn't
  • Resize the window region containing the outliner
  • Notice the scrollbar now appears

The bug looks like this:
no_scroll_bar.gif

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 1070 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.66 **Blender Version** Broken: version: 2.83 (sub 10), branch: master, commit date: 2020-03-21 20:58, hash: `9e8afa8817` Broken: version: 2.82a is also broken Broken: version: 2.81a is also broken Worked: probably never? **Short description of error** The problem seems to exist with monitors with higher than FHD resolution, and doesnt seem to be affected by DPI or OS scaling. When enough objects are added to the scene the outliner should reach a point where a scrollbar most definitely should appear. However, one never does. It will only appear if you resize the outliner window region (either smaller or larger). It seems that all it needs is some sort of refresh. **Exact steps for others to reproduce the error** I cannot provide a .blend since if you load it up, the outliner will function correctly. This appears to only happen when adding objects in real time. - Start with default .blend - Duplicate the default cube enough times to fill up the outliner and get to a point where the scrollbar should appear - Notice how it doesn't - Resize the window region containing the outliner - Notice the scrollbar now appears The bug looks like this: ![no_scroll_bar.gif](https://archive.blender.org/developer/F8421249/no_scroll_bar.gif)
Author
Member

Added subscriber: @deadpin

Added subscriber: @deadpin

Added subscribers: @Debuk, @ideasman42

Added subscribers: @Debuk, @ideasman42

In D6505#156592, @Debuk wrote:

  1. @ideasman42: No I dont think these glitches were introduced by this patch. These already exist.
  • Default startup file.
  • Duplicate all objects until outliner has vertical scroll-bar.
  • Hovering over the right scroll-bar
    • doesn't do anything if you are in the upper part of the outliner and move the mouse towards the right side
    • works from a specific point on below y wise
  1. The nonworking area in the upper part increases the more vertical space the outliner has in the beginning.
  • Default startup file.
  • Resize outliner vertically
  • Duplicate all objects until outliner has vertical scroll-bar.
  • ...
  1. If you make the outliner area wider BEFORE duplicating objects then it does no longer work at all until the area has been resized again. So if you resize the area the glitch is gone.
  • Default startup file.
  • Resize outliner horizontally
  • Duplicate all objects until outliner has vertical scroll-bar.
  • ...

This is the current behaviour without this patch applied. I Also tested with 2.80 aswell as the current alpha!

Animated Gif. Wide outliner glitch and Tall outliner glitch
scrollrect.gif

Yes I can confirm that. We talked about that in January in https://developer.blender.org/D6505. But as I've written, it's limited to the upper part of the outliner. The scrollrect somehow has the wrong size. And the wrong measures are dependent of the outliners aspect ratio before the duplication of the cube.

> In [D6505](https://archive.blender.org/developer/D6505)#156592, @Debuk wrote: > > 1. @ideasman42: No I dont think these glitches were introduced by this patch. These already exist. > - Default startup file. > - Duplicate all objects until outliner has vertical scroll-bar. > - Hovering over the right scroll-bar > - doesn't do anything if you are in the upper part of the outliner and move the mouse towards the right side > - works from a specific point on below y wise > > 2. The nonworking area in the upper part increases the more vertical space the outliner has in the beginning. > - Default startup file. > - Resize outliner vertically > - Duplicate all objects until outliner has vertical scroll-bar. > - ... > 3. If you make the outliner area wider *BEFORE* duplicating objects then it does no longer work at all until the area has been resized again. So if you resize the area the glitch is gone. > - Default startup file. > - Resize outliner horizontally > - Duplicate all objects until outliner has vertical scroll-bar. > - ... > > This is the current behaviour without this patch applied. I Also tested with 2.80 aswell as the current alpha! > > Animated Gif. Wide outliner glitch and Tall outliner glitch > ![scrollrect.gif](https://archive.blender.org/developer/F8294516/scrollrect.gif) Yes I can confirm that. We talked about that in January in https://developer.blender.org/D6505. But as I've written, it's limited to the upper part of the outliner. The scrollrect somehow has the wrong size. And the wrong measures are dependent of the outliners aspect ratio before the duplication of the cube.

Added subscriber: @ckohl_art

Added subscriber: @ckohl_art

Added subscriber: @iss

Added subscriber: @iss

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

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

Hmm, can not reproduce this...

Can you try with File > Defaults > Load Factory Settings ?

Hmm, can not reproduce this... Can you try with File > Defaults > Load Factory Settings ?

This afflicts pretty much any 2.8x Blender and is immediately reproduce-able following the given steps. e.g. this is blender-2.83-0c571db4add3-windows64 which I downloaded moments ago:

cqs7yRme8B.mp4

This afflicts pretty much any 2.8x Blender and is immediately reproduce-able following the given steps. e.g. this is blender-2.83-0c571db4add3-windows64 which I downloaded moments ago: [cqs7yRme8B.mp4](https://archive.blender.org/developer/F8425186/cqs7yRme8B.mp4)
Member

Added subscriber: @Harley

Added subscriber: @Harley

0001-0300.mp4
Perhaps this is HW related somehow? @ckohl_art what's your GPU?

Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: Radeon RX550/550 Series ATI Technologies Inc. 4.5.13586 Core Profile Context 19.12.2 26.20.15002.61

[0001-0300.mp4](https://archive.blender.org/developer/F8425934/0001-0300.mp4) Perhaps this is HW related somehow? @ckohl_art what's your GPU? Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: Radeon RX550/550 Series ATI Technologies Inc. 4.5.13586 Core Profile Context 19.12.2 26.20.15002.61
Member

When I try to recreate this issue quickly, like Richard, it seems to work instead. But if I follow the instructions but slow down....

I add items until my Outliner is filled with more items than can fit. At that point I move my mouse right into the area. If along the 6th row, as illustrated on the top of this capture, it will bring up the scrollbar when my mouse is at the right side. But I can move my mouse anywhere on the 5th row (shown at bottom and no scrollbars appear.

OutlinerScrollbars.png

When I try to recreate this issue *quickly*, like Richard, it seems to work instead. But if I follow the instructions but *slow down*.... I add items until my Outliner is filled with more items than can fit. At that point I move my mouse right into the area. If along the 6th row, as illustrated on the top of this capture, it will bring up the scrollbar when my mouse is at the right side. But I can move my mouse anywhere on the 5th row (shown at bottom and no scrollbars appear. ![OutlinerScrollbars.png](https://archive.blender.org/developer/F8426228/OutlinerScrollbars.png)

Quoted Text
In #75003#896884, @iss wrote:
Perhaps this is HW related somehow? @ckohl_art what's your GPU?

Maybe. Drivers are a bit older but that doesn't cause issues anywhere else in the program.

Operating system: Windows-10-10.0.17134-SP0 64 Bits
Graphics card: Radeon TM RX 480 Graphics ATI Technologies Inc. 4.5.13571 Core Profile Context 19.9.2 26.20.13003.1007

> Quoted Text > In #75003#896884, @iss wrote: > Perhaps this is HW related somehow? @ckohl_art what's your GPU? Maybe. Drivers are a bit older but that doesn't cause issues anywhere else in the program. Operating system: Windows-10-10.0.17134-SP0 64 Bits Graphics card: Radeon TM RX 480 Graphics ATI Technologies Inc. 4.5.13571 Core Profile Context 19.9.2 26.20.13003.1007
Member

Hmmm.... just tried again and the behavior was different so still not able to recreate this exactly every time. Right now I get the scrollbars if my mouse is lower than the top-half of the second line. So no scrollbar would show up on the first line (usually "Scene Collection"). But then I moved the entire blender windows (so no resizing of areas) and now it works properly on that line too....

Hmmm.... just tried again and the behavior was different so still not able to recreate this exactly every time. Right now I get the scrollbars if my mouse is lower than the top-half of the second line. So no scrollbar would show up on the first line (usually "Scene Collection"). But then I moved the entire blender windows (so no resizing of areas) and now it works properly on that line too....

The video capture from my first comment in this thread was on a monitor that is 2560x1440 resolution.

Here is a capture from the same computer, same OS, same GPU, same drivers, but a different monitor with a resolution of 1920x1200:

ihLXJkNlPH.mp4

This seems to be the same type of behavior that Harley is experiencing. If the cursor is lower than the top-half of the "Camera.001" line (4th line?) then the scrollbar appears just fine but if it is above that location then the scrollbar will not appear.


New test:
On a laptop running Linux Mint with an Nvidia GeForce GTX 870M with a screen resolution of 1920x1080 the behavior is essentially exactly the same as what Harley reports (no scrollbar for the first line at all, and the scroll bar appears if the cursor is about halfway down the second line [seems more like one third rather than one half to me]).

On the same laptop with the same GPU but running Windows 10 (I'm dual booting from two SSDs) the behavior is identical, which is to say the scrollbar only begins to work on the second line and does not work if the cursor is on the first line.


I decided to see what happens if the Blender window itself is various sizes back on my main monitor again. Take a look at this screenshot. When the Blender window is this short (about 976 pixels tall if you include the purple window rim and header) then the scrollbar will not work if the cursor is inside that space that is roughly the size of the red bar on line 1. Below that red bar then the scrollbar appears correctly. (Note: You must start a new scene after resizing the window or physically moving the window in order to follow the steps, otherwise the scrollbar appears to display normally which is what Harley was experiencing.)

mcH6Y5stWf.png

And when the window is this size (1376 if you include the purple window border) the scrollbar will not work if the scrollbar is above the 3/4 point on line 7:

P11WEjS4LR.png

So in summary:
1906x976: Scrollbar begins to work about 1/4 down line 1.
1920x1080: Scrollbar begins to work about 1/2 down line 2.
1920x1200: Scrollbar begins to work about 1/2 down line 4.
2056x1376: Scrollbar begins to work about 3/4 down line 7.
2056x1440: Scrollbar begins to work about 1/4 down line 8.
And in all cases, if you move or resize the Blender window itself or the Outliner after you've already populated the Outliner with enough objects to require a scrollbar, then the scrollbar will work normally.

Ladies and gentlemen, we officially have a pattern of behavior. The taller the Blender window is, the larger the 'dead zone' at the top of the Outliner is, where the scrollbar will not appear. I don't think this is related to GPU or drivers at all.


But wait, there's more!

2560x1440: Scrollbar doesn't work at all. (or so I thought in my first comment)

It turns out that the invisible 'hit box' that determines when to display the scrollbar is not affected only by vertical window size but also by horizontal window size. I tried the same experiment with changing the Blender window width and found that the dead zone will also grow from the right side of the Outliner when the Blender window is wide (e.g. 2560 wide):

S7WQ6O1W4a.png

The scrollbar is very faint and it takes me a few seconds to "dial-in" the exact corner on line 8 (Camera.005) where the dead zone begins but I've captured it here:

g3011Xb7ZK.mp4

The video capture from my first comment in this thread was on a monitor that is 2560x1440 resolution. Here is a capture from the same computer, same OS, same GPU, same drivers, but a different monitor with a resolution of 1920x1200: [ihLXJkNlPH.mp4](https://archive.blender.org/developer/F8426520/ihLXJkNlPH.mp4) This seems to be the same type of behavior that Harley is experiencing. If the cursor is lower than the top-half of the "Camera.001" line (4th line?) then the scrollbar appears just fine but if it is above that location then the scrollbar will not appear. ----- New test: On a laptop running Linux Mint with an Nvidia GeForce GTX 870M with a screen resolution of 1920x1080 the behavior is essentially exactly the same as what Harley reports (no scrollbar for the first line at all, and the scroll bar appears if the cursor is about halfway down the second line [seems more like one third rather than one half to me]). On the same laptop with the same GPU but running Windows 10 (I'm dual booting from two SSDs) the behavior is identical, which is to say the scrollbar only begins to work on the second line and does not work if the cursor is on the first line. ----- I decided to see what happens if the Blender window itself is various sizes back on my main monitor again. Take a look at this screenshot. When the Blender window is this short (about 976 pixels tall if you include the purple window rim and header) then the scrollbar will not work if the cursor is inside that space that is roughly the size of the red bar on line 1. Below that red bar then the scrollbar appears correctly. (Note: You must start a new scene after resizing the window or physically moving the window in order to follow the steps, otherwise the scrollbar appears to display normally which is what Harley was experiencing.) ![mcH6Y5stWf.png](https://archive.blender.org/developer/F8426538/mcH6Y5stWf.png) And when the window is this size (1376 if you include the purple window border) the scrollbar will not work if the scrollbar is above the 3/4 point on line 7: ![P11WEjS4LR.png](https://archive.blender.org/developer/F8426553/P11WEjS4LR.png) So in summary: 1906x976: Scrollbar begins to work about 1/4 down line 1. 1920x1080: Scrollbar begins to work about 1/2 down line 2. 1920x1200: Scrollbar begins to work about 1/2 down line 4. 2056x1376: Scrollbar begins to work about 3/4 down line 7. 2056x1440: Scrollbar begins to work about 1/4 down line 8. And in all cases, if you move or resize the Blender window itself or the Outliner after you've already populated the Outliner with enough objects to require a scrollbar, then the scrollbar will work normally. Ladies and gentlemen, we officially have a pattern of behavior. The taller the Blender window is, the larger the 'dead zone' at the top of the Outliner is, where the scrollbar will not appear. I don't think this is related to GPU or drivers at all. ----- But wait, there's more! 2560x1440: Scrollbar doesn't work at all. (or so I thought in my first comment) It turns out that the invisible 'hit box' that determines when to display the scrollbar is not affected only by vertical window size but also by horizontal window size. I tried the same experiment with changing the Blender window width and found that the dead zone will also grow from the right side of the Outliner when the Blender window is wide (e.g. 2560 wide): ![S7WQ6O1W4a.png](https://archive.blender.org/developer/F8426567/S7WQ6O1W4a.png) The scrollbar is very faint and it takes me a few seconds to "dial-in" the exact corner on line 8 (Camera.005) where the dead zone begins but I've captured it here: [g3011Xb7ZK.mp4](https://archive.blender.org/developer/F8426582/g3011Xb7ZK.mp4)
Author
Member

I'm running hidpi here too. 4k 3840x2160 resolution, Windows UI scale 2.0x, Blender UI scale 1.0.

For whatever reason the Outliner window region does not have the correct dimensions at start. Something is wrong during startup/initialization/first layout. Resizing its area will refresh things and allow things to work properly, including the calculations dependent on dpi. This does appear to be what Debuk describes above in some form.

I'm running hidpi here too. 4k 3840x2160 resolution, Windows UI scale 2.0x, Blender UI scale 1.0. For whatever reason the Outliner window region does not have the correct dimensions at start. Something is wrong during startup/initialization/first layout. Resizing its area will refresh things and allow things to work properly, including the calculations dependent on dpi. This does appear to be what Debuk describes above in some form.
Richard Antalik changed title from Outliner scrollbar does not appear unless the window region is resized to Outliner scrollbar does not appear with resolutions greater than FHD 2020-03-24 15:45:27 +01:00

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

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

For anyone else curious, the invisible hit area around scrollbars is an "AZone" of type AZONE_REGION_SCROLL.

These are (obviously) sized based on the size of the scroller itself. What is especially curious about this particular issue is that these zones are sized in an incorrect way in that they are larger than the scrollbar by the same amount (AZONEFADEIN, which is 100 pixels at 1X scale) in all directions. So when working correctly a vertical scrollbar will have a hitzone that extends above and below, not just to left and right. This can cause overlaps between vertical scrollers in two different areas. You can see that sometimes when you can show the Outliner scrollbar while in Properties.

Why this makes it more curious is that the hitzone near the top of Outliner should be extending above the top of the scrollbar by this amount, and should never be below it. Now wondering if this problem is actually caused by Outliner being at the top of the Blender window since there is less than 100 pixels before hitting the window boundary. But I am pretty-sure I have corrected that sizing issue (so that the hit area for vertical scrollbars is only the height of scroller, not more) and still had this issue, although did fix the overlapping between editors.

For anyone else curious, the invisible hit area around scrollbars is an "AZone" of type AZONE_REGION_SCROLL. These are (obviously) sized based on the size of the scroller itself. What is especially curious about this particular issue is that these zones are sized in an incorrect way in that they are larger than the scrollbar by the same amount (AZONEFADEIN, which is 100 pixels at 1X scale) in **all** directions. So when working correctly a vertical scrollbar will have a hitzone that extends above and below, not just to left and right. This can cause overlaps between vertical scrollers in two different areas. You can see that sometimes when you can show the Outliner scrollbar while in Properties. Why this makes it more curious is that the hitzone near the top of Outliner should be extending *above* the top of the scrollbar by this amount, and should never be below it. Now wondering if this problem is actually caused by Outliner being at the top of the Blender window since there is less than 100 pixels before hitting the window boundary. But I am pretty-sure I have corrected that sizing issue (so that the hit area for vertical scrollbars is only the height of scroller, not more) and still had this issue, although did fix the overlapping between editors.

@iss I tested it on multiple PCs with 1920 x 1200 WUXGA single and multimontor systems. Happening everywhere.
As I've written the amount of deadspace can be increased or decreased depending on the outliners "aspect ratio". So if you increase the horizontal width before duplication the error increases until no scrollbar is displayed at all ( before resizing after duplication)

@iss I tested it on multiple PCs with 1920 x 1200 WUXGA single and multimontor systems. Happening everywhere. As I've written the amount of deadspace can be increased or decreased depending on the outliners "aspect ratio". So if you increase the horizontal width before duplication the error increases until no scrollbar is displayed at all ( before resizing after duplication)
Author
Member

EDIT 2020-04-18: Actually, even saving a new startup file doesn't seem to fix this as I originally thought.

EDIT 2020-04-18: Actually, even saving a new startup file doesn't seem to fix this as I originally thought.
Member

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly
Member

Another note: I can reproduce a similar issue in the properties editor too. These steps:

  1. It starts with no scrollbars but that make sense because the panels fit.
  2. Expand panels until they don't all fit.
  3. No scrollbar
  4. Slightly resize the properties editor
  5. Scrollbar is now visible
Another note: I can reproduce a similar issue in the properties editor too. These steps: 1. It starts with no scrollbars but that make sense because the panels fit. 2. Expand panels until they don't all fit. 3. No scrollbar 4. Slightly resize the properties editor 4. Scrollbar is now visible

Added subscriber: @AnthonyEdlin

Added subscriber: @AnthonyEdlin

This happens when loading a file. The View2D data of the region is loaded and has stale data if the window size is different. If the window size is larger but the cur rect still fits inside the tot rect and the scroll wasn't needed in the saved file, then the vert and hor scroll rects are left with the loaded file data. The azones that show/hide the scrollers are updated from vert and hor rects on init and resize only, so they will have the scroller sizes from the loaded file until you do a resize when the scrollers are needed.

I can reproduce this repeatedly on the outliner and properties editor by doing a Load Factory Settings on a window that is 1280x1350.

Made a patch that just make it so the vert and hor rects are always updated if the scroll flags are set, even when they would normally be hidden. D10733

This happens when loading a file. The View2D data of the region is loaded and has stale data if the window size is different. If the window size is larger but the cur rect still fits inside the tot rect and the scroll wasn't needed in the saved file, then the vert and hor scroll rects are left with the loaded file data. The azones that show/hide the scrollers are updated from vert and hor rects on init and resize only, so they will have the scroller sizes from the loaded file until you do a resize when the scrollers are needed. I can reproduce this repeatedly on the outliner and properties editor by doing a Load Factory Settings on a window that is 1280x1350. Made a patch that just make it so the vert and hor rects are always updated if the scroll flags are set, even when they would normally be hidden. [D10733](https://archive.blender.org/developer/D10733)
Author
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Jesse Yurkovich self-assigned this 2022-07-29 05:30:24 +02:00
Author
Member

It looks like this one is resolved from the change mentioned just above -- both the outliner and properties panel scrollbars work correctly now. Will close out and any new issues can become new tasks to start fresh.

It looks like this one is resolved from the change mentioned just above -- both the outliner and properties panel scrollbars work correctly now. Will close out and any new issues can become new tasks to start fresh.
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#75003
No description provided.