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

Linux Standalone the Options -> Audio/MIDI settings dialog issue - JUCE related #4792

Closed
tank-trax opened this issue Jul 31, 2021 · 17 comments · Fixed by #4793 or #4829
Closed

Linux Standalone the Options -> Audio/MIDI settings dialog issue - JUCE related #4792

tank-trax opened this issue Jul 31, 2021 · 17 comments · Fixed by #4793 or #4829
Labels
Bug Report Item submitted using the Bug Report template Linux Issues which only occur on Linux
Milestone

Comments

@tank-trax
Copy link
Collaborator

with the dev branch of JUCE (HEAD detached at 802f33b0e)

for the Standalone the Options -> Audio/MIDI settings dialog hangs to the left of the monitor and cannot be expanded. Can be moved and minimized.

image

reverting back to JUCE 6.0.7 does not occur

image

@tank-trax tank-trax added the Bug Report Item submitted using the Bug Report template label Jul 31, 2021
@ghost
Copy link

ghost commented Jul 31, 2021

Hi @tank-trax. It all looks good here (mint20.1).
Maybe there is some mixup because of "HEAD detached at ..."?
The submodule in the repository switched to dev branch a few days ago,
if you do "submodule update..." and a clean build
you should be using JUCE 60008 as default.

@tank-trax
Copy link
Collaborator Author

@mynameismuhl I had the issue using JUCE 6.0.8 though

reverted back to 6.0.7 no issue, did submodule update and it came back

@ghost
Copy link

ghost commented Jul 31, 2021

Ah ok sorry then.
I just double checked in ubuntu (20.04) and there I see the same you do
(there the window sizes correctly aprox every 4th time its opened).
But it works correctly in Mint (Mate). So its not linux per sé but desktop environment(?)
(gnome 3 vs 2 or something)

@baconpaul
Copy link
Collaborator

Yeah I moved the head pointer of xt to develop to get ready for 6.1

@baconpaul baconpaul added this to the Surge XT 1.0 milestone Jul 31, 2021
@baconpaul baconpaul added the Linux Issues which only occur on Linux label Jul 31, 2021
baconpaul added a commit to baconpaul/surge that referenced this issue Jul 31, 2021
@baconpaul
Copy link
Collaborator

Looks like juce has already fixed this so #4793 will pull to tip of juce for us. Once that's merged a submodule update and clean build should resolve

Note JUCE will report 6.0.8 for develop. This is a point of consternation amongst the juce community but there's no solution yet. Even though you see 6.0.8 on the command line and about, it is develop. (I won't ship a production XT against anything other than a production JUCE tag, but develop fixes several bugs we need and we're still in alpha; this is only a problem in the interim period while we track tip of juce and wait for 6.1 to ship).

@tank-trax
Copy link
Collaborator Author

FYI am using KDE

baconpaul added a commit that referenced this issue Jul 31, 2021
Closes #4792 by fixing that juce bug
@baconpaul
Copy link
Collaborator

I was able to repro on ubuntu and above merge fixes it
if you pull to head, submodule, clean build you should be good I hope

You should see

paul@ubuntu:~/dev/music/surge-xt$ (cd libs/JUCE; git log | head -1)
commit 087cda7e1f359855889e28dbf69b3767f21e9f08

before you clean and build

@tank-trax
Copy link
Collaborator Author

I've narrowed it down to it being something to do with the KDE Plasma Breeze Dark Plasma Style

the Global Theme is Breeze Dark

however if Plasma Style is set to Breeze Dark it will hang left and be slim unable to resize, however if the Plasma Style is Breeze it will work (it intermittently repeats the unintended behaviour)

there is a workaround to Force the size by setting Windows Properties in KDE

image

@tank-trax
Copy link
Collaborator Author

tank-trax commented Aug 1, 2021

turns out it's the Plastik Window Decoration that is not jiving with the new JUCE

image

@baconpaul baconpaul reopened this Aug 1, 2021
@tank-trax
Copy link
Collaborator Author

here using Breeze Window Decoration the dialog opens as it should (it very rarely hangs left but still happens albeit very infrequently, with Plastik always)

image

@ghost
Copy link

ghost commented Aug 1, 2021

@baconpaul did it fix it on your Ubuntu?
i have an LTS Ubuntu installed just for testing (unchanged, just updates and dependencies)
and the bug is still existent here.
Plus now i can also see it with Mint (almost never but it happens).

Edit: A more reliable way to trigger this in ubuntu:
Opening the settings window via the button in the upper right corner (inside the input mute notification bar) triggers it every time,
using options/audio-midi-settings (upper left corner) doesn't.

@baconpaul
Copy link
Collaborator

It did

@baconpaul
Copy link
Collaborator

https://forum.juce.com/t/sporadic-regression-6-0-7-develop-in-standalone-settings-window-in-linux-develop/47153

OK I wrote this up on the juce forum. Lets see if they have any thoughts?

@baconpaul
Copy link
Collaborator

Juce team has a fix that should hit develop in the next eeek it seems. Will close this issue when I merge that but confirmed it’s on their side

@ghost
Copy link

ghost commented Aug 11, 2021

@baconpaul
Copy link
Collaborator

Oh cool
I’ll find a time today to repull develop merge and close

baconpaul added a commit to baconpaul/surge that referenced this issue Aug 11, 2021
Among other thing, closes surge-synthesizer#4792
@baconpaul
Copy link
Collaborator

Once I merge #4829 if you do a submoulde update and clean build this should be resolved.

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 Linux Issues which only occur on Linux
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants