From 3cc87f472f192267257f4f921af6fb99a4cb3fbb Mon Sep 17 00:00:00 2001 From: westpacsailor <114281758+westpacsailor@users.noreply.github.com> Date: Fri, 20 Nov 2026 12:22:38 -0600 Subject: [PATCH 1/5] Draw spectrum passband under the live trace The passband and PBT rectangles were appended to the scene graph after the spectrum line, so they were painted on top of it. Presets with an opaque passband colour (the generic default is opaque Qt::blue, used by presets 2-4) hid the real-time trace inside the passband. Draw passband and PBT right after the grid so the underlay, spectrum fill and spectrum line always render over them. The tuning line is still drawn on top. Co-Authored-By: Claude Opus 5.5 --- src/spectrumitem.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/spectrumitem.cpp b/src/spectrumitem.cpp index 0e6e598f..ae925cbf 100644 --- a/src/spectrumitem.cpp +++ b/src/spectrumitem.cpp @@ -1340,14 +1340,16 @@ QSGNode *SpectrumItem::updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *) root->appendChildNode(root->background); root->appendChildNode(root->gridLines); + // Passband and PBT go under the spectrum so an opaque passband colour + // cannot hide the live trace. + root->appendChildNode(root->passband); + root->appendChildNode(root->pbt); root->appendChildNode(root->peaksFill); root->appendChildNode(root->peaksGradient); root->appendChildNode(root->peaksLine); root->appendChildNode(root->fillNode); root->appendChildNode(root->gradientFill); root->appendChildNode(root->spectrumLine); - root->appendChildNode(root->passband); - root->appendChildNode(root->pbt); root->appendChildNode(root->frequencyLine); root->appendChildNode(root->txLine); root->appendChildNode(root->bandShapes); -- 2.56.0.windows.4 From edd6d8978404c30a4c360667519fcc4a18dd8bdc Mon Sep 17 00:00:00 2001 From: westpacsailor <114281758+westpacsailor@users.noreply.github.com> Date: Fri, 20 Nov 2026 12:30:14 -0600 Subject: [PATCH 2/5] Redraw frequency display digits after a screen scale change Moving the window to a monitor with a different scale factor changes the device pixel ratio but not the item geometry, so geometryChange() is not called. paint() then recreates the offscreen pixmap and redraws the background, but no digit is marked modified, so drawDigits() draws nothing and the display stays blank until hovering marks digits dirty. Mark every digit modified whenever paint() recreates the pixmap. Co-Authored-By: Claude Opus 5.5 --- src/freqctrlquick.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/freqctrlquick.cpp b/src/freqctrlquick.cpp index 036e6c54..bf9c78a8 100644 --- a/src/freqctrlquick.cpp +++ b/src/freqctrlquick.cpp @@ -714,6 +714,11 @@ void FreqCtrlQuick::paint(QPainter *p) m_Pixmap.setDevicePixelRatio(dpr); m_Pixmap.fill(m_BkColor); m_UpdateAll = true; + // The new pixmap is blank, so every digit has to be drawn again. + // This happens when the window moves to a screen with a different + // scale factor, where geometryChange() is not called. + for (int i = m_DigStart; i < m_NumDigits; i++) + m_DigitInfo[i].modified = true; } // Draw into the offscreen pixmap as before -- 2.56.0.windows.4 From 18c301e988a475ce505ed332cd081901d2feaf8b Mon Sep 17 00:00:00 2001 From: westpacsailor <114281758+westpacsailor@users.noreply.github.com> Date: Fri, 20 Nov 2026 12:38:28 -0600 Subject: [PATCH 3/5] Give the pop-out meter window a title bar so it can be moved MeterPopoutWindow set flags to Qt.Window | Qt.WindowStaysOnTopHint. Explicit flags on a QML Window replace the default decorations, so on Windows the pop-out got a resize border but no title bar and could not be dragged. Request the title bar, system menu and close button alongside stay-on-top. Closing the window already turns the pop-out off. Co-Authored-By: Claude Opus 5.5 --- qml/MeterPopoutWindow.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qml/MeterPopoutWindow.qml b/qml/MeterPopoutWindow.qml index 9815408d..acf4b064 100644 --- a/qml/MeterPopoutWindow.qml +++ b/qml/MeterPopoutWindow.qml @@ -52,7 +52,11 @@ Window { : meterStyle === 2 ? "#cdbe9b" : meterStyle >= 3 ? "#e2a046" : windowColor + // Explicit flags replace the default decorations, so the title bar has to + // be requested here or the window cannot be dragged. flags: Qt.Window | Qt.WindowStaysOnTopHint + | Qt.WindowTitleHint | Qt.WindowSystemMenuHint + | Qt.WindowCloseButtonHint onShownCountChanged: width = Math.max(minimumWidth, Math.round(shownCount * height * faceAspect)) -- 2.56.0.windows.4 From e59de034c68abeecd6294baabb5ae8011a744b5d Mon Sep 17 00:00:00 2001 From: westpacsailor <114281758+westpacsailor@users.noreply.github.com> Date: Fri, 20 Nov 2026 13:50:43 -0600 Subject: [PATCH 4/5] Include the main control panel's padding in its height mainGroup (the Frame holding the meters, Power buttons, level sliders and command buttons) set Layout.preferredHeight to the height of its contents, leaving out the Frame's top and bottom padding. With clip: true the tallest contents lost 6 px at the bottom and the border was drawn across them. It showed when everything fit on one Flow row, for example with "Show tuning dial" off: the Power On/Off buttons and the Vol/TX/Mon/Mic labels ran into the border. Add the padding to the height (mainGroup.fullHeight, also used when heightReleaseTimer restores the binding), and drop the padding term from the window's minimumHeight, which only compensated for it. Co-Authored-By: Claude Opus 5.5 --- qml/MainWindow.qml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/qml/MainWindow.qml b/qml/MainWindow.qml index 2394dbd7..2f53a7bc 100644 --- a/qml/MainWindow.qml +++ b/qml/MainWindow.qml @@ -80,9 +80,7 @@ ApplicationWindow { id: heightReleaseTimer interval: 300 onTriggered: { - mainGroup.targetHeight = Qt.binding(function() { - return Math.max(leftControlsColumn.implicitHeight, mainControlsFlow.implicitHeight) - }) + mainGroup.targetHeight = Qt.binding(function() { return mainGroup.fullHeight }) } } @@ -134,8 +132,8 @@ ApplicationWindow { minimumWidth: radioConnected ? 360 : mainLayout.implicitWidth + contentHorizontalPadding * 2 //minimumHeight: mainLayout.implicitHeight+30 + // mainGroup's height already includes its padding (see mainGroup.fullHeight) minimumHeight: mainLayout.implicitHeight + 8 - + mainGroup.padding * 2 + scopeVFOGroup.padding * 2 + mainLayout.spacing * 2 onMinimumWidthChanged: { @@ -2080,7 +2078,11 @@ ApplicationWindow { Frame { id: mainGroup Layout.fillWidth: true - property real targetHeight: Math.max(leftControlsColumn.implicitHeight, mainControlsFlow.implicitHeight) + // The Frame's height includes its padding; without it the tallest + // contents were clipped by 2 * padding and ran into the border. + readonly property real fullHeight: Math.max(leftControlsColumn.implicitHeight, mainControlsFlow.implicitHeight) + + topPadding + bottomPadding + property real targetHeight: fullHeight Layout.preferredHeight: targetHeight clip: true padding: 3 -- 2.56.0.windows.4 From fc9a0e2c8e82859490c45a50863b783515a66a6d Mon Sep 17 00:00:00 2001 From: westpacsailor <114281758+westpacsailor@users.noreply.github.com> Date: Sun, 22 Nov 2026 20:06:50 -0600 Subject: [PATCH 5/5] Remove an unused filter from the logo SVG to stop qt.svg warnings wfview.svg defines an Inkscape "Electrize" filter (filter8799) that nothing in the drawing references. Qt SVG cannot add its feFuncR/G/B elements, so every load of the logo (the disconnected screen) logged: qt.svg: :\resources\wfview.svg:124:30: Could not add child element to parent element because the types are incorrect. (also lines 128 and 132), six warnings per run. Removing the unused filter changes nothing visible. Co-Authored-By: Claude Opus 5.5 --- resources/icons/scalable/wfview.svg | 30 ----------------------------- 1 file changed, 30 deletions(-) diff --git a/resources/icons/scalable/wfview.svg b/resources/icons/scalable/wfview.svg index a43007be..a08486e8 100644 --- a/resources/icons/scalable/wfview.svg +++ b/resources/icons/scalable/wfview.svg @@ -102,36 +102,6 @@ y="180.70439" ry="0.34011182" /> - - - - - - - -