Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto window sizing fails on Mac with vertical monitor #671

Closed
chrisrimple opened this issue Oct 11, 2020 · 5 comments
Closed

Auto window sizing fails on Mac with vertical monitor #671

chrisrimple opened this issue Oct 11, 2020 · 5 comments
Labels
bug Something isn't working

Comments

@chrisrimple
Copy link

Screen Shot 2020-10-11 at 12 12 01 PM

Screen shot attached. On Mac with vertical monitor orientation. Starting Jamulus results in immediate resizing, but (1) window is not placed at top of available area (just below Menu Bar) and (2) window is sized too large (horizontally) to fit on screen.

@corrados
Copy link
Contributor

Have you started Jamulus in horizontal orientation and closed Jamulus. Then you have changed the orientation of your monitor and started Jamulus again? Because Jamulus stores the window size/position of the last session. It does nothing about orientation of your monitor.

@chrisrimple
Copy link
Author

On a Mac. I have 2 monitors: my primary monitor is vertical, my secondary is horizontal. Linked below are screen recordings of the behavior I'm seeing from Jamulus when running it on each monitor, which includes:

  1. Every time I start Jamulus (on vert or horiz), it's not restoring the prior window position. Instead, it's resizing itself to default/small. This is new behavior in 3.5.12; previously, I believe that it was restoring window size and position.
  2. Every time I start Jamulus on my horiz monitor (which is secondary), the window opens on my vert monitor (primary).
  3. I have Tabs enabled in MacOS. Every time I start Jamulus, it sizes the window for 2 tabs, Settings and Chat, sets the window position, and then adds a tab for the Mixer. When starting Jamulus on my horiz monitor, the window that opens on my vert monitor is partially off-screen as as result.

My computer is a laptop. When using the internal monitor, I'm seeing #1 and #3 (sizing for 2 tabs, then adding 1) as well.

Screen recordings at https://drive.google.com/drive/folders/196PeuV6kyLbRGZPBvHGr8YPww2_3dh2d?usp=sharing

@corrados corrados added the bug Something isn't working label Oct 21, 2020
@corrados
Copy link
Contributor

To restore the window positions, I am using the Qt functions saveGeometry and restoreGeometry. So, it is all implemented in Qt and not in Jamulus.

I am using a very old Mac Mini (2009 model) when I create binaries for the official Jamulus releases. I assume that my x-code is pretty outdated and also the Qt version is old. If anybody has a newer Mac available and is able to compile Jamulus with the newest x-code and Qt, it would be great if he could create a binary and post it here as a zip-file for testing. Would be interesting to see if the problem is solved with such a binary.

@ann0see
Copy link
Member

ann0see commented Apr 22, 2022

@chrisrimple is this issue still appearing with the latest version of Jamulus? Maybe the upcoming Qt 6 support solves this issue. At least I hope so.

Please close this issue if you can't reproduce the bug anymore.

Note: I will unsubscribe from this issue and won’t receive responses from any new comments. If you have any questions concerning maintenance, feel free to ping me.

@chrisrimple
Copy link
Author

I no longer have a monitor in a vertical orientation, so I'm unable to test this. Closing, and someone can reopen if it's still an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants