Audacity Bug Summary
••• Introduction •••
••• Keywords •••
    Audacity 3.0.3 development began 19th April 2021

Audacity Bugzilla



Bug 2611 - Mixer Board does not stay on top of main window
Mixer Board does not stay on top of main window
Status: RESOLVED FIXED
Product: Audacity
Classification: Unclassified
Component: User Interface
unspecified
All All
: P3 RepeatableAll
Assigned To: Default Assignee for New Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-12-10 09:07 UTC by Steve Daulton
Modified: 2021-01-03 07:04 UTC (History)
7 users (show)

See Also:
Steps To Reproduce:
1. Launch Mixer Board 2. Click on any exposed part of the main Audacity window 3. Observe that the Mixer Board is hidden behind the main window.
Release Note:
Group: Mixer Board The Mixer Board does not stay on top of the main Audacity Window.
First Git SHA:
Group: ---
Workaround:
Resize and reposition the main Audacity Window and the Mixer Board window so that both are visible on the screen.
Closed:
petersampsonaudacity: Test‑OK‑Win+
petersampsonaudacity: Test‑OK‑Mac+
james.k.crook: Test‑OK‑Lin+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Daulton 2020-12-10 09:07:51 UTC
From MixerBoard.cpp it is clear that the developer intended the Mixer Board to remain on top of the main Audacity window. We also receive complaints that it does not do this, and I agree that it would be better for the Mixer Board to remain on top.

From MixerBoard.cpp:

//vvv Bug in wxFRAME_FLOAT_ON_PARENT:
// If both the project frame and MixerBoardFrame are minimized and you restore MixerBoardFrame,
// you can't restore project frame until you close MixerBoardFrame, but then project frame and
// MixerBoardFrame are restored but MixerBoardFrame is unresponsive because it thinks it's not shown.
//    wxDEFAULT_FRAME_STYLE | wxFRAME_FLOAT_ON_PARENT)


As we are now using a later version of WxWidgets, the described bug in WxWidgets may no longer exist, making this Audacity bug fixable, hence logging on bugzilla.
Comment 1 Steve Daulton 2020-12-10 10:00:32 UTC
I'm currently testing this but will not commit until tested on all platforms.
Comment 2 Steve Daulton 2020-12-10 11:05:30 UTC
wxFRAME_FLOAT_ON_PARENT works fine on Linux but not on Windows.

Testing the "fixed" 64-bit Windows build, the Mixer Board does not have a title bar, so it is impossible to move the Mixer Board.

Sadly not a "cherry".
Comment 3 Steve Daulton 2020-12-10 11:34:20 UTC
(In reply to Steve Daulton from comment #2)
On closer inspection, there's also a problem on Linux in that there is no "Close" button in the Mixer Board title bar.
Comment 4 Peter Sampson 2020-12-10 11:48:47 UTC
(In reply to Steve Daulton from comment #2)
>Testing the "fixed" 64-bit Windows build, the Mixer Board does not have 
>a title bar, so it is impossible to move the Mixer Board.

Not true on W10 with 2.4.2 or Audacity 3.0.0 4cb9bb1 - 32-bit builds

There is a title bar on the Mixer Board - and it can be moved.

But do see Pi moonphase Bug #2612
>Windows: use of Mixer Board can cause a moonphase crash
Comment 5 Steve Daulton 2020-12-27 11:57:38 UTC
Fix committed at 
https://github.com/audacity/audacity/commit/561504d
Comment 6 Peter Sampson 2020-12-28 09:58:40 UTC
(In reply to Steve Daulton from comment #5)
Tested on W10 with Audacity 3.0.0 f7c0ba8

Tests OK on W10, Mixer Board always stays on top.
Comment 7 Peter Sampson 2020-12-28 10:03:07 UTC
Cannot test on Mac as P1 Bug #2615
>Mac: Audacity crashes on launch

blocks this
Comment 8 Peter Sampson 2021-01-03 05:25:42 UTC
(In reply to Peter Sampson from comment #7)
Tested this on macOS 11.1 Big Sur with Audacity 3.0.0 f60e19737

The Mixer board bow stays on top.
Comment 9 James Crook 2021-01-03 07:04:46 UTC
Re Comment #8 
Checked on Linux too.  The Mixer board stern stays on top too as well as the bow.  Additionally the Mixer board does now have a close button (and it functions correctly).

RESOLVED FIXED

[I also checked minimizing and unminimizing on Linux, and no peculiar effects were observed]