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

Update to Juce 7.0.12 (should fix Audio/MIDI settings dialog not opening on Ubuntu) #7640

Closed
dgtized opened this issue May 6, 2024 · 7 comments
Labels
Bug Report Item submitted using the Bug Report template Infrastructure Issues related to repository, CI/CD, installers, etc.

Comments

@dgtized
Copy link

dgtized commented May 6, 2024

Bug Description:

Audio/MIDI settings dialog is not opening on Ubuntu.

Surge XT Version

Version: Surge XT 1.3.1.4b53827
Build: 2024-02-06 @ 15:30:18 on '1e9cd081d390/local' with 'GNU-9.4.0' using JUCE 7.0.5
System: Linux 64-bit Standalone on AMD Ryzen 9 3900X 12-Core Processor
Sample Rate: 44.1 kHz / Process block size: 32 samples

  • Plugin Type: [VST2, VST3, AU] -- not quite sure, I opened Surge XT as a standalone app.
  • Bitness: 64
  • Skin: Surge Dark

Reproduction Steps:

Start Surge XT standalone app using Ubuntu's launcher.

image

Click on the "Options" in the upper left. Menu opens to show "Audio/MIDI settings", clicking on that and nothing opens.

Similarly, on the line below it has a notification in yellow that says "Audio input is muted to avoid feedback loop", and on the right there is a button labeled "Settings ...", clicking on that does not open any dialog.

Expected Behavior:

Clicking on Audio/MIDI settings or the settings button should open the dialog to select MIDI inputs and audio input/output.

Computer Information (please complete the following!):

  • OS: Ubuntu 23.10 (mantic)
  • Display: Dual 4k (3840x2160) monitors at 100% scaling on Wayland
  • Host: [e.g. Bitwig, Logic, Cubase, Reaper] - standalone?

Additional Information:

I haven't been able to reproduce, but once when I clicked on settings since install, it did open the dialog hidden underneath the Surge XT window, so I was able to change the settings once to connect a MIDI keyboard as input. Unfortunately I have not been able to reproduce whatever allowed it to work that one time. I've tried to retrace my steps 10+ times (including restarting the computer and reopening Surge XT) but have not been able to reproduce the one time it worked.

Both the load/save current state dialogs open correctly, though sometimes I receive a notification from Zenity like: "Save current state" is ready at the same time the dialog opens.

image

I installed Surge XT using the .deb I downloaded from the releases for 1.3.1 using dpkg -i. However it did fail on first install as libxcb-cursor0 was missing, so I manually installed that with sudo apt install ibxcb-cursor0 and then repeated the dpkg install.

I also notice that there is very odd behavior on resizing the window, where it appears to "ease" into the new resolution but there is a definite lag. I suspect that is another issue though.

@dgtized dgtized added the Bug Report Item submitted using the Bug Report template label May 6, 2024
@mkruselj
Copy link
Collaborator

mkruselj commented May 8, 2024

This dialog is entirely handled by JUCE, it is not on us. So, this should first be verified by standalones of other JUCE plugins (try Dexed, OB-Xd...) and if it also happens with them, report to JUCE directly. We will not be forking JUCE just to fix this.

I suspect this is somehow related to Wayland.

@mkruselj mkruselj closed this as completed May 8, 2024
@dgtized
Copy link
Author

dgtized commented May 9, 2024

I don't know what JUCE is let alone Dexed, OB-Xd, etc, so it's very unlikely I can verify any of this behavior in any other circumstances outside of this application. As a user of this application, I don't know how to distinguish which parts of the UI are in this app or an upstream library.

However, given you identified the upstream project, I looked briefly in the closed issues and found: juce-framework/JUCE#1242, and from that the previously reported (and closed) #7071.

I'm sorry for re-reporting a known issue, but as it was closed I didn't see it, and I certainly was unaware of any history here. Given the issue seems to be ping-ponging between surge and JUCE, maybe it makes sense for one of the projects to leave it as an open issue so folks can see it's still a problem that some folks are encountering on the latest build?

@baconpaul
Copy link
Collaborator

Oh right so that means we just need to pull juce to a higher version than our forked 7.0.5

@baconpaul baconpaul reopened this May 9, 2024
@baconpaul
Copy link
Collaborator

Sorry so let me re-open this and we can go to juce 7.0.12 + patches for our next update (and a nightly before that)

@baconpaul baconpaul added this to the Surge XT 1.3.3 milestone May 9, 2024
@baconpaul baconpaul changed the title Audio/MIDI settings dialog not opening on Ubuntu Update to Juce 7.0.12 (should fix Audio/MIDI settings dialog not opening on Ubuntu) May 9, 2024
@mkruselj mkruselj added the Infrastructure Issues related to repository, CI/CD, installers, etc. label May 9, 2024
@hfiguiere
Copy link
Contributor

Adding this JUCE patch to the flatpak.

@baconpaul
Copy link
Collaborator

Link to #7699
Link to #7700

@baconpaul
Copy link
Collaborator

Ok we are in 7.0.12 in the nightlies!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Report Item submitted using the Bug Report template Infrastructure Issues related to repository, CI/CD, installers, etc.
Projects
None yet
Development

No branches or pull requests

4 participants