rncbc / qtractor

Qtractor - An Audio/MIDI multi-track sequencer
https://qtractor.org
GNU General Public License v2.0
509 stars 88 forks source link

drumkv1 inside Qtractor: cannot enter values in input fields with keyboard #263

Closed suedwestlicht closed 8 months ago

suedwestlicht commented 4 years ago

recent Qtractor and drumkv1 from git:

I can't enter any values in drumkv1's input fields with my keyboard, e.g. preset name.

As a standalone jack version it works ok. As lv2 loaded in Carla, too.

rncbc commented 4 years ago

what Qt5 version is that? it should works fine on Qt >= 5.14; previous versions would indeed have the bug.

suedwestlicht commented 4 years ago

About Qt: "This program uses Qt version 5.5.1."

Platform is Xubuntu 16.04 LTS

rncbc commented 4 years ago

I'd suggest you to try with adding this https://launchpad.net/~beineri/+archive/ubuntu/opt-qt-5.14.2-xenial, the very same that it's being used for travis-ci.org (cf. .travis.yml for details).

suedwestlicht commented 4 years ago

Unfortuantey it's broken.

qt514-meta-full has an error where the doc package wants to overwrite the same file that's in another package. Trying to remove the doc package fails because of dependencies.

qt514-meta-minimal doesnt't seem to be enough: "Project ERROR: Unknown module(s) in QT: x11extras"

So I might use the workaround copy&paste with mouse into textfields if neccessary until I update my computers from 16.04 to something beyond 18.04, since 18.04 comes with Qt 5.9.5.

rncbc commented 4 years ago

you only need to install qt514base, qt514tools and possibly qt514x11extras; then source /opt/qt514/bin/qt514-env.shand configure build as usual.

suedwestlicht commented 4 years ago

Thx Rui.

I compiled both Qtractor and drumkv1.

Qtractor: "This program uses Qt version 5.14.2." drumkv1 lv2 plugin: "This program uses Qt version 5.14.2."

The bug ist still there. I can't enter values or delete contents in text or number fields with the keyboard.

suedwestlicht commented 4 years ago

drumkv1-lv2 loaded in carla-lv2 loaded in Qtractor works ok.

But drumkv1-lv2 loaded in Qtractor not.

suedwestlicht commented 4 years ago

I investigated further. It's not Qtractor. It's drumkv1. An old drumkv1 from 2019-07-18 works ok with a recent Qtractor, even when both are compiled with Qt 5.5.1

So I guess we can close this issue and I open another for drumkv1?

It happened with drumkv1 after 2019-12-07.

suedwestlicht commented 4 years ago

OK, one last statement for drumkv1:

suedwestlicht commented 4 years ago

I opened issue #32 for drumkv1.

rncbc commented 4 years ago

as from 64da210 you can now test both ways (libsuil vs. native) provided you have opted on View > Options... > Plugin > Editor > Select plugin's editor (GUI) if more than one are available.

try it out and tall it makes any difference cheers

suedwestlicht commented 4 years ago

Qtractor with libsuil, drumkv1 as-is without changing ttl file:

BUT: the selection window does not appear reliably after loading a qtr file and trying to open drumkv1's Gui. Mostly I simply can't find it.

So I'll stick with patching drumkv1's ttl file at the moment.

rncbc commented 4 years ago

BUT: the selection window does not appear reliably after loading a qtr file and trying to open drumkv1's Gui. Mostly I simply can't find it.

note that the answer to "don't ask this again" option is saved into session file (.qtr) and taken into account when you open it later

suedwestlicht commented 4 years ago

Sorry for my poor description. When the selection didn't open I hadn't checked "don't ask this again", so drumkv1's Gui didn't open at all because I couldn't select a Gui.

suedwestlicht commented 8 months ago

The issue happens with Qt6 as well, even on a recent Debian Bookworm. Compiling drumkv1 with -DCONFIG_LV2_UI_X11=no -DCONFIG_LV2_UI_EXTERNAL=yes showed no GUI at all. To make a long story short: Removing the X11 part in drumkv1_ui.ttl helped. Now the correct working UI of drumkv1 in Qtractor is chosen by default.

suedwestlicht commented 8 months ago

Works for me.