Skip to content

Cherry-pick #2059: Frameless toggle propagation to floating windows#2067

Merged
ten9876 merged 1 commit into
mainfrom
auto/Cherry-pick-2059-Frameless-toggle-propagation-to-f
Apr 27, 2026
Merged

Cherry-pick #2059: Frameless toggle propagation to floating windows#2067
ten9876 merged 1 commit into
mainfrom
auto/Cherry-pick-2059-Frameless-toggle-propagation-to-f

Conversation

@ten9876

@ten9876 ten9876 commented Apr 27, 2026

Copy link
Copy Markdown
Collaborator

Originally by @chibondking — propagates View → Frameless Window setting
to all popped-out panadapters and applet containers, instead of leaving
them with hardcoded Qt::FramelessWindowHint.

  • PanFloatingWindow / FloatingContainerWindow constructors now read
    AppSettings["FramelessWindow"] instead of hardcoding the flag.
  • New setFramelessMode(bool) on both window classes flips the flag at
    runtime, preserving geometry + visibility.
  • PanadapterStack::setFramelessMode and ContainerManager::setFramelessMode
    iterate live floating windows and propagate the toggle.
  • MainWindow::setFramelessWindow calls into both managers.

Resolved one trivial conflict in PanadapterStack.h where the new
setFramelessMode declaration overlapped with the saveFloatingState/
restoreFloatingState block from #2065.

Closes #2059.

Co-Authored-By: CJ Johnson cj@cedrick.io
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

Originally by @chibondking — propagates View → Frameless Window setting
to all popped-out panadapters and applet containers, instead of leaving
them with hardcoded Qt::FramelessWindowHint.

- PanFloatingWindow / FloatingContainerWindow constructors now read
  AppSettings["FramelessWindow"] instead of hardcoding the flag.
- New setFramelessMode(bool) on both window classes flips the flag at
  runtime, preserving geometry + visibility.
- PanadapterStack::setFramelessMode and ContainerManager::setFramelessMode
  iterate live floating windows and propagate the toggle.
- MainWindow::setFramelessWindow calls into both managers.

Resolved one trivial conflict in PanadapterStack.h where the new
setFramelessMode declaration overlapped with the saveFloatingState/
restoreFloatingState block from #2065.

Closes #2059.

Co-Authored-By: CJ Johnson <cj@cedrick.io>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ten9876 ten9876 requested a review from jensenpat as a code owner April 27, 2026 00:20
@ten9876 ten9876 enabled auto-merge (squash) April 27, 2026 00:20
@ten9876 ten9876 merged commit 0cfb051 into main Apr 27, 2026
4 checks passed
@ten9876 ten9876 deleted the auto/Cherry-pick-2059-Frameless-toggle-propagation-to-f branch April 27, 2026 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant