plugdata icon indicating copy to clipboard operation
plugdata copied to clipboard

GUI bugs on Manjaro (x11 related?)

Open jonechkon opened this issue 1 year ago • 4 comments

Hello, i don't know whether this is caused by my OS or plugdata, but i'm having various problems with the GUI in the standalone and vst3 application (in Renoise), like copy and paste not working, objects being created in places where they're not supposed to (used to be somewhere far off the visible part of the canvas, now it's always at the left edge), sliders not updating their position, when the window is open but not in foreground, and the menu and right click menu not opening. Sometimes it crashes the DAW and sometimes objects don't work as they should (i think). It's the same for plugin and standalone versions. The Terminal shows various "JUCE Assertion failure in juce_Displays.cpp:..." sometimes

I have tried all the versions from the AUR with no difference and have copied the files from the arch release on https://github.com/plugdata-team/plugdata/releases/tag/v0.9.1 page into /usr/bin etc, which worked fine for a month, but after a recent system update it's returned to being buggy and it didn't work again this time...

If anyone had any clue what may be the cause it'd be great

jonechkon avatar Oct 20 '24 14:10 jonechkon

have copied the files from the arch release ... page into /usr/bin etc

This is definitely a really bad idea as it will most certainly break your install.

I don't use Arch btw, but I'm sure they will have some guidance on how best to remove/replace system packages.

dromer avatar Oct 20 '24 14:10 dromer

Yes. Funnily enough it worked like a charm then, contrary to having it properly installed. (i did that after i had these same problems with a proper installation from the AUR, replacing the plugin-files and binary) But yes

jonechkon avatar Oct 20 '24 16:10 jonechkon

Could you try building plugdata from source? It's possible that there are some library incompatibilities since Arch is a rolling release (so it's possible that the packages we originally linked against have been updated), and you're using a variant of Arch.

Paste this in your terminal and wait:

pacman -S --noconfirm cmake wget bzip2 git alsa-lib freetype2 libx11 libxcursor libxi libxext libxinerama libxrandr libxrender webkit2gtk cmake make gcc pkgconf python python-pip curl ccache freeglut mesa glfw-x11 glew jack2 openssl

git clone --recursive https://github.com/plugdata-team/plugdata.git -b develop
cd plugdata
cmake -Bbuild -DENABLE_GEM=0 -DENABLE_SFIZZ=0 -DENABLE_FFMPEG=0
cmake --build build

timothyschoen avatar Oct 21 '24 11:10 timothyschoen

Ok i installed it that way (cmake --install) without any change. But... i just turned on my second monitor, which tends to reset its resolution, leaving a gap between the two screens, and... that's where are all the menus and pasted objects went^^" So apparently plugdata couldn't handle the gap between the two screens and the only mystery left is why it worked up until recently. Sorry to have bothered and thanks for the answers (and the program!)

jonechkon avatar Oct 22 '24 16:10 jonechkon