Skip to content

p#700 Fix issue with tittle bar on Windows - #6218

Merged
akleshchev merged 1 commit into
release/26.4from
andreyk/viewer_p700_4
Aug 31, 2026
Merged

p#700 Fix issue with tittle bar on Windows#6218
akleshchev merged 1 commit into
release/26.4from
andreyk/viewer_p700_4

Conversation

@akleshchev

@akleshchev akleshchev commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Fixed an issue with tittle bar hiding menu on windows,

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts deferred resolution updates to avoid a Windows-specific sizing mismatch where the window title bar could overlap/hide UI elements, and it adds API documentation around LLWindow::getSize() semantics across platforms.

Changes:

  • In LLViewerWindow::checkSettings(), apply the deferred reshape using stored raw dimensions on non-macOS platforms, while keeping a macOS-specific getSize() path.
  • Add/adjust header comments describing platform differences for LLWindow::getSize(LLCoordScreen).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
indra/newview/llviewerwindow.cpp Changes deferred resolution update flow to avoid using getSize() on non-macOS.
indra/llwindow/llwindowwin32.h Adds documentation describing getSize(LLCoordScreen) behavior on Windows (needs correction).
indra/llwindow/llwindowmacosx.h Adds documentation describing getSize(LLCoordScreen) behavior on macOS (needs correction).
indra/llwindow/llwindow.h Adds cross-platform contract comment for LLWindow::getSize(LLCoordScreen) (needs correction).

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread indra/newview/llviewerwindow.cpp Outdated
Comment thread indra/llwindow/llwindow.h Outdated
Comment thread indra/llwindow/llwindowwin32.h Outdated
Comment thread indra/llwindow/llwindowmacosx.h
@akleshchev
akleshchev force-pushed the andreyk/viewer_p700_4 branch from 0bf6e20 to 9ec500c Compare August 31, 2026 14:34
Comment thread indra/newview/llviewerwindow.cpp Outdated
// Deferred resolution update after states have been refreshed.
#ifdef LL_DARWIN
// On macOS, LLWindow::getSize(LLCoordScreen) reports the backing view size.
LLCoordScreen window_size;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like I mentioned in the 26.4 PR, wouldn't just changing this line to LLCoordWindow window_size; work for all platforms and not require platform specific checks?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, thank you. I jumped the gun again(

@akleshchev
akleshchev force-pushed the andreyk/viewer_p700_4 branch from 9ec500c to 3fc8e9f Compare August 31, 2026 14:57
@akleshchev
akleshchev force-pushed the andreyk/viewer_p700_4 branch from 3fc8e9f to f972a3d Compare August 31, 2026 15:32
@akleshchev
akleshchev merged commit 9818c3e into release/26.4 Aug 31, 2026
5 of 11 checks passed
@akleshchev
akleshchev deleted the andreyk/viewer_p700_4 branch August 31, 2026 15:33
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 31, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants