Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix window count going out of sync when headless#19299

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
lhecker wants to merge1 commit intomain
base:main
Choose a base branch
Loading
fromdev/lhecker/fix-window-count

Conversation

@lhecker
Copy link
Member

In headless mode,WM_CLOSE_TERMINAL_WINDOW would still decrement
_windowCount. While the count technically doesn't matter,
it going out of sync with the actual count felt wrong.

Validation Steps Performed

  • TBD

@riju568
Copy link

Title

Fix: Prevent window count mismatch in headless mode

Overview

This PR resolves an issue where_windowCount was out of sync when running in headless mode. The value is not unnecessarily incremented, so it will maintain an accurate view of internal state.

Changes

  • Added a check to prevent incrementing count when launching in headless mode.
  • Updated related logic to maintain correct lifecycle state.
  • Cleaned up unnecessary minor comments.

Related Issue

Fixes #

Testing Performed

  • Launched application with the--headless flag 50+ times and confirmed_windowCount remains accurate.
  • Confirmed standard UI mode behaves as normal, no issues.
  • Existing features have no regressions.

Impact / Risk

Low - Change is isolated to the headless path and will not impact any potential changes to the user experience.

Checklist

  • Code is inline with style standards
  • No breaking changes
  • Tested locally
  • Ready for review

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@lhecker@riju568

[8]ページ先頭

©2009-2025 Movatter.jp