File Browser Window Size Change #76100

Open
opened 2020-04-25 18:16:30 +02:00 by Ismir · 12 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.19
//Small display: 1280 x 1024 pixels
Big display: 3840 x 2160 pixels -- Windows UI scaling set to 150%//

Blender Version
Broken: version: 2.83 (sub 15), branch: master, commit date: 2020-04-24 15:23, hash: a8441fc900
Worked: Never.

Short description of error
When opening window of File Browser from a low resolution Monitor (resolutions listed in System Information), it appears, on high resolution display, with smaller size than before. When you close and reopen it again this way it gets even smaller.

Exact steps for others to reproduce the error

  1. On your secondary (small display) open shader editor.

  2. shift+a an "Image Texture"

  3. Click on "open" to open image file

  4. A File Browser pops up on the big display

  5. Close the File Browser

  6. Repeat step 3)

  7. The File Browser window appears again, but this time smaller.

  8. If you repeat steps 3) and 5), the File Browser window gets smaller and smaller.

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.19 //Small display: 1280 x 1024 pixels Big display: 3840 x 2160 pixels -- Windows UI scaling set to 150%// **Blender Version** Broken: version: 2.83 (sub 15), branch: master, commit date: 2020-04-24 15:23, hash: `a8441fc900` Worked: Never. **Short description of error** When opening window of File Browser from a low resolution Monitor (resolutions listed in System Information), it appears, on high resolution display, with smaller size than before. When you close and reopen it again this way it gets even smaller. **Exact steps for others to reproduce the error** 1) On your secondary (small display) open shader editor. 2) shift+a an "Image Texture" 3) Click on "open" to open image file 4) A File Browser pops up on the big display 5) Close the File Browser 6) Repeat step 3) 7) The File Browser window appears again, but this time smaller. 8) If you repeat steps 3) and 5), the File Browser window gets smaller and smaller.
Author

Added subscriber: @Ismir-1

Added subscriber: @Ismir-1

#77297 was marked as duplicate of this issue

#77297 was marked as duplicate of this issue

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Can confirm.

This will eventually trigger assert BLI_assert(layout->rows != 0);

>	blender.exe!ED_fileselect_init_layout(SpaceFile * sfile, ARegion * region) Line 789	C

 	blender.exe!file_calc_previews(const bContext * C, ARegion * region) Line 209	C
 	blender.exe!file_main_region_draw(const bContext * C, ARegion * region) Line 496	C
 	blender.exe!ED_region_do_draw(bContext * C, ARegion * region) Line 539	C
 	blender.exe!wm_draw_window_offscreen(bContext * C, wmWindow * win, bool stereo) Line 690	C
 	blender.exe!wm_draw_window(bContext * C, wmWindow * win) Line 816	C
 	blender.exe!wm_draw_update(bContext * C) Line 1022	C
 	blender.exe!WM_main(bContext * C) Line 457	C
 	blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 526	C
 	[External Code]	
Can confirm. This will eventually trigger assert `BLI_assert(layout->rows != 0);` ``` > blender.exe!ED_fileselect_init_layout(SpaceFile * sfile, ARegion * region) Line 789 C blender.exe!file_calc_previews(const bContext * C, ARegion * region) Line 209 C blender.exe!file_main_region_draw(const bContext * C, ARegion * region) Line 496 C blender.exe!ED_region_do_draw(bContext * C, ARegion * region) Line 539 C blender.exe!wm_draw_window_offscreen(bContext * C, wmWindow * win, bool stereo) Line 690 C blender.exe!wm_draw_window(bContext * C, wmWindow * win) Line 816 C blender.exe!wm_draw_update(bContext * C) Line 1022 C blender.exe!WM_main(bContext * C) Line 457 C blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 526 C [External Code] ```
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

I can't seem to be able to reproduce it. Maybe it is related to 2afb59757.

I can't seem to be able to reproduce it. Maybe it is related to 2afb59757.

In #76100#943546, @JacquesLucke wrote:
I can't seem to be able to reproduce it. Maybe it is related to 2afb59757.

I can still reproduce.

You have to follow display setup exactly as described. Perhaps OS plays a role here as well.

> In #76100#943546, @JacquesLucke wrote: > I can't seem to be able to reproduce it. Maybe it is related to 2afb59757. I can still reproduce. You have to follow display setup exactly as described. Perhaps OS plays a role here as well.

Added subscriber: @3di

Added subscriber: @3di

Added subscriber: @Rodg88

Added subscriber: @Rodg88

I also get this issue, with the same monitor setup (one 4k main, and one HD). I've also noticed the window doesn't save it's location at all, so you can't fix it when trying to adjust the window position manually to a more suitable size/position

I also get this issue, with the same monitor setup (one 4k main, and one HD). I've also noticed the window doesn't save it's location at all, so you can't fix it when trying to adjust the window position manually to a more suitable size/position

Added subscriber: @OMGmail

Added subscriber: @OMGmail
Philipp Oeser removed the
Interest
User Interface
label 2023-02-10 09:24:31 +01:00
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
6 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#76100
No description provided.