Audacity 2.1.2 Alpha - Window size not remembered
Forum rules
This forum is for Audacity on macOS 10.4 and later.
Please state which version of macOS you are using,
and the exact three-section version number of Audacity from "Audacity menu > About Audacity".
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Please state which version of macOS you are using,
and the exact three-section version number of Audacity from "Audacity menu > About Audacity".
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Audacity 2.1.2 Alpha - Window size not remembered
Opening Audacity 96d2e66-2.1.2-alpha-10-oct-15 gives a small window, about half my screen width. Same thing with Cmd-N for a new window if there is not already a window open that I have already dragged to the proper size. Every time I start this version of Audacity I have to stretch the window out to the size I want. Obviously it should remember the previous size. This didn't happen with the earlier 2.1.2 Alpha from Sept 9 (audacity-macosx-r5f985a2).
Cliff
Cliff
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: Audacity 2.1.2 Alpha - Window size not remembered
Hi Cliff,cmac185 wrote:Opening Audacity 96d2e66-2.1.2-alpha-10-oct-15 gives a small window, about half my screen width. Same thing with Cmd-N for a new window if there is not already a window open that I have already dragged to the proper size. Every time I start this version of Audacity I have to stretch the window out to the size I want. Obviously it should remember the previous size. This didn't happen with the earlier 2.1.2 Alpha from Sept 9 (audacity-macosx-r5f985a2).
Thanks for testing. Can you quit Audacity, attach the audacity.cfg it's reading from ( ~/Library/Application Support/audacity/audacity.cfg assuming you don't have a "Portable Settings" folder) then delete that audacity.cfg and tell us what size Audacity opens at next time you launch it.
Also tell us what resolution your monitor is.
I don't experience your problem on a 1024*768 monitor.
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: Audacity 2.1.2 Alpha - Window size not remembered
Hi Gale,
It opens after deleting the cfg file with a time line range of -1.5 - 9 seconds. I normally expand it to about 13 seconds.
My monitor on my MBP is 1440x900.
Tried it on a different monitor 1280x1024 and it opened -1.5 - 8 seconds wide. I can expand the window then close the window and a new window, cmd+N, opens in the small size again. Absolute no memory at all of the size it had been expanded to.
Cliff
PS: I've tested some of the bugs, but was waiting to hear from you regarding the Private Email I sent you before posting anything.
It opens after deleting the cfg file with a time line range of -1.5 - 9 seconds. I normally expand it to about 13 seconds.
My monitor on my MBP is 1440x900.
Tried it on a different monitor 1280x1024 and it opened -1.5 - 8 seconds wide. I can expand the window then close the window and a new window, cmd+N, opens in the small size again. Absolute no memory at all of the size it had been expanded to.
Cliff
PS: I've tested some of the bugs, but was waiting to hear from you regarding the Private Email I sent you before posting anything.
- Attachments
-
- audacityCfg.zip
- audacity.cfg as requested.
- (2.18 KiB) Downloaded 22 times
Re: Audacity 2.1.2 Alpha - Window size not remembered
I'm also seeing the main Audacity window opening at the wrong size on Linux (Xfce Desktop).
If the window was maximised when Audacity was closed, then Audacity correctly opens maximised.
When Audacity was not maximised when closed, the the x/y coordinates are correctly restored (providing that the x/y coordinates fit on the available desktop area), but width and height are not restored correctly.
A couple of examples:
Example 1)
When closed:
When re-opened, the Audacity is noticeably smaller than 1312x678
When re-closed:
On close, the setting look to be about right, but when opened, the window size looks too small.
Example 2)
When closed:
When re-opened, the Audacity is noticeably narrower than 516 px.
When re-closed:
Interestingly, some sizes appear to work correctly:
On first close:
Open and re-close:
If the window was maximised when Audacity was closed, then Audacity correctly opens maximised.
When Audacity was not maximised when closed, the the x/y coordinates are correctly restored (providing that the x/y coordinates fit on the available desktop area), but width and height are not restored correctly.
A couple of examples:
Example 1)
When closed:
Code: Select all
[Window]
X=54
Y=69
Width=1312
Height=678
Maximized=0
Normal_X=54
Normal_Y=69
Normal_Width=1312
Normal_Height=678
Iconized=0
When re-closed:
Code: Select all
[Window]
X=54
Y=69
Width=886
Height=656
Maximized=0
Normal_X=54
Normal_Y=69
Normal_Width=886
Normal_Height=656
Iconized=0
Example 2)
When closed:
Code: Select all
[Window]
X=614
Y=158
Width=516
Height=494
Maximized=0
Normal_X=614
Normal_Y=158
Normal_Width=516
Normal_Height=494
Iconized=0
When re-closed:
Code: Select all
[Window]
X=614
Y=158
Width=326
Height=494
Maximized=0
Normal_X=614
Normal_Y=158
Normal_Width=326
Normal_Height=494
Iconized=0
On first close:
Code: Select all
[Window]
X=3
Y=75
Width=937
Height=638
Maximized=0
Normal_X=3
Normal_Y=75
Normal_Width=937
Normal_Height=638
Iconized=0
Code: Select all
[Window]
X=3
Y=75
Width=937
Height=638
Maximized=0
Normal_X=3
Normal_Y=75
Normal_Width=937
Normal_Height=638
Iconized=0
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: Audacity 2.1.2 Alpha - Window size not remembered
On Windows 7, I tried that setting (width 516, height 494) and got the exact same incorrect width 326, height 494 when reopening Audacity.steve wrote:I'm also seeing the main Audacity window opening at the wrong size on Linux (Xfce Desktop).
If the window was maximised when Audacity was closed, then Audacity correctly opens maximised.
When Audacity was not maximised when closed, the the x/y coordinates are correctly restored (providing that the x/y coordinates fit on the available desktop area), but width and height are not restored correctly.[...]
Example 2)
When closed:When re-opened, the Audacity is noticeably narrower than 516 px.Code: Select all
[Window] X=614 Y=158 Width=516 Height=494 Maximized=0 Normal_X=614 Normal_Y=158 Normal_Width=516 Normal_Height=494 Iconized=0
When re-closed:Code: Select all
[Window] X=614 Y=158 Width=326 Height=494 Maximized=0 Normal_X=614 Normal_Y=158 Normal_Width=326 Normal_Height=494 Iconized=0
This size reopens correctly for me on Windows 7:steve wrote:Interestingly, some sizes appear to work correctly
Code: Select all
[Window]
X=49
Y=21
Width=838
Height=609
Maximized=0
Normal_X=49
Normal_Y=21
Normal_Width=838
Normal_Height=609
Iconized=0
It's a regression on 2.1.1 release so it looks like I should add this to Bugzilla.
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: Audacity 2.1.2 Alpha - Window size not remembered
FWIW, this is the first time I've ever seen this issue. I've used various versions of Audacity in various sizes and haven't seen it until now, but maybe I just happened on the magic sizes each time.
I can load the Sept 9th version along with the Oct 10 version and make them the same size, as well as I can by sight, and close them both and the Sept 9th one will reopen correctly and the Oct 10th will revert back to the small window. I can also open the Oct 10th with the Sept 9th and it will open with the small window. Expand that one to a normal size and then close Oct 10th and open Sept 9th and it will open correctly. Go figure.
Cliff
Cliff
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: Audacity 2.1.2 Alpha - Window size not remembered
I can't quite follow those last two sentences. Do you mean Sep 9 can open with the wrong size in some cases?cmac185 wrote:FWIW, this is the first time I've ever seen this issue. I've used various versions of Audacity in various sizes and haven't seen it until now, but maybe I just happened on the magic sizes each time.I can load the Sept 9th version along with the Oct 10 version and make them the same size, as well as I can by sight, and close them both and the Sept 9th one will reopen correctly and the Oct 10th will revert back to the small window. I can also open the Oct 10th with the Sept 9th and it will open with the small window. Expand that one to a normal size and then close Oct 10th and open Sept 9th and it will open correctly.
Are one or both of these Audacity versions running with a "Portable Settings" folder? I hope so, because you should not otherwise be able to open two Audacity instances at once.
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: Audacity 2.1.2 Alpha - Window size not remembered
The bug was introduced in commit 1ccb738 on 12th September.
https://github.com/audacity/audacity/commit/1ccb738
"Fix for project windows opening larger than available display space on OSX"
https://github.com/audacity/audacity/commit/1ccb738
"Fix for project windows opening larger than available display space on OSX"
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: Audacity 2.1.2 Alpha - Window size not remembered
Thanks for that, Steve. Still, that bug is (on Mac) arguably somewhat worse than the one we have now. What happens with that fixed bug on Mac is that the Audacity title bar that has the window buttons gets stuck underneath the Apple menu bar.steve wrote:The bug was introduced in commit 1ccb738 on 12th September.
https://github.com/audacity/audacity/commit/1ccb738
"Fix for project windows opening larger than available display space on OSX"
I don't know if the workaround of auto-hiding the Dock always works for that bug.
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: Audacity 2.1.2 Alpha - Window size not remembered
On Linux, the problem appears to be fixed by removing (from Project.cpp):
but perhaps that is required on other platforms.
Code: Select all
if (width < defRect->width)
{
defRect->width = width;
}
if (height < defRect->height)
{
defRect->height = height;
}
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)