Blender does not remember preference window position and size #103247

Closed
opened 2022-12-15 18:14:05 +01:00 by Richard Lalancette · 11 comments

System Information
Operating system: Windows 10
Graphics card: Nvidea 3060

Blender Version
Broken: 3.3.1

Short description of error
The darn window is brought back top left of my monitor each time I open it, and it's SHRUNK back to its original position.

Exact steps for others to reproduce the error
EDIT> PREFERENCE

**System Information** Operating system: Windows 10 Graphics card: Nvidea 3060 **Blender Version** Broken: 3.3.1 **Short description of error** The darn window is brought back top left of my monitor each time I open it, and it's SHRUNK back to its original position. **Exact steps for others to reproduce the error** EDIT> PREFERENCE

Added subscriber: @rlalancette

Added subscriber: @rlalancette
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

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

Changed status from 'Needs Triage' to: 'Archived'
Member

Hi, thanks for the report. Everytime you click Preferences, it'll execute userpref_show_exec function.
In that function, preference window location depends on cursor position (event->xy is used for the location)
If you access window from {nav Edit > prefs} it'll indeed appear close to top left corner, but location will be different if accessed through menu search (F3)


Window size is fixed: https://developer.blender.org/diffusion/B/browse/master/source/blender/editors/screen/screen_ops.c$5041

int sizey = 520 * UI_DPI_FAC;```

This is not a bug so closing the ticket
Please feel free to comment if there is misunderstanding
Hi, thanks for the report. Everytime you click `Preferences`, it'll execute `userpref_show_exec` function. In that function, preference window location depends on cursor position (`event->xy` is used for the location) If you access window from {nav Edit > prefs} it'll indeed appear close to top left corner, but location will be different if accessed through menu search (F3) - - - Window size is fixed: https://developer.blender.org/diffusion/B/browse/master/source/blender/editors/screen/screen_ops.c$5041 ``` int sizex = (500 + UI_NAVIGATION_REGION_WIDTH) * UI_DPI_FAC; ``` int sizey = 520 * UI_DPI_FAC;``` ``` This is not a bug so closing the ticket Please feel free to comment if there is misunderstanding

Well, it does feel like a bug as it is annoying as hell to have to drag the darn window back in the middle of my 4k monitor and re-expand it size so I can access the content.

Well, it does feel like a bug as it is annoying as hell to have to drag the darn window back in the middle of my 4k monitor and re-expand it size so I can access the content.
Member

Added subscriber: @Harley

Added subscriber: @Harley
Member

have to drag the darn window back in the middle of my 4k monitor and re-expand it size so I can access the content.

@Harley hi, what do you think about current window resizing. Should this be changed?

> have to drag the darn window back in the middle of my 4k monitor and re-expand it size so I can access the content. @Harley hi, what do you think about current window resizing. Should this be changed?
Member

This should be fixed.

But just for the "temp" windows. The others save and restore their positions with the blend file. But the "temp" windows - Preferences, Render, and a couple more - do not. Their initial sizes are just arbitrary. Fairly certain that File Manager will remember a preferred size now - will have to look into where it saves that and copy that behavior (if I am right that it does that now).

This should be fixed. But just for the "temp" windows. The others save and restore their positions with the blend file. But the "temp" windows - Preferences, Render, and a couple more - do not. Their initial sizes are just arbitrary. Fairly certain that File Manager will remember a preferred size now - will have to look into where it saves that and copy that behavior (if I am right that it does that now).
Member

@Harley thanks, feel free to reopen the report if needed :)

@Harley thanks, feel free to reopen the report if needed :)
Member
I guess [D16948](https://archive.blender.org/developer/D16948) will fix the problem reported here (https://devtalk.blender.org/t/patch-builds-saving-temporary-window-sizes-positions/27209)
Member

This comment was removed by @Harley

*This comment was removed by @Harley*
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
3 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#103247
No description provided.