Thursday, 2015-09-10

*** ricardocrudo has quit IRC00:00
*** NickSB2 has quit IRC00:55
rgareusdrobilla: thanks01:53
rgareusdrobilla: one last thing: could you add to #maxBlockLength01:55
rgareus"This value will be valid for the lifetime of the plugin after instantiation and must not be changed dynamically.01:55
rgareusor something along those lines01:56
rgareusI understand that it's not ideal to add it literally to the doc only (without ttl vocab),  but it can't hurt to have this as a first step and clarification.02:14
drobillaWell, there's no going back from the property itself saying it can never be changed, so it could hurt...02:55
rgareusgotta make a decision.  keeping this status-quo hurts more:  "it's the maxium and if it's an instantation option it can't be changed  .. unless maybe someday we decide de-activate and option-interface may allow it..."  is IMHO worse.03:01
rgareusas it is now. it's ambiguous.  http://lv2plug.in/ns/ext/buf-size/#maxBlockLength  is already strongly phrased.   BUT  http://lv2plug.in/ns/ext/options/#interface has a backdoor for it.03:04
rgareuswe need to close this backdoor :)03:04
*** curlymorphic has joined #lv205:21
*** curlymorphic has quit IRC06:24
*** drobilla` has joined #lv206:27
*** drobilla has quit IRC06:27
*** falktx has joined #lv207:20
*** ricardocrudo has joined #lv207:58
*** NickSB2 has joined #lv208:48
*** sigma6 has joined #lv208:48
*** falktx has quit IRC08:52
*** NickSB2 has quit IRC09:12
*** falktx has joined #lv209:30
*** nicksby has joined #lv209:35
*** son0p has quit IRC10:31
*** son0p has joined #lv210:31
*** nicksby has quit IRC10:49
*** nicksb2 has joined #lv210:58
*** nicksb2 has quit IRC11:39
*** nicksb2 has joined #lv212:06
*** nicksb2 has quit IRC13:12
*** nicksb2 has joined #lv213:14
*** son0p has quit IRC13:27
*** son0p has joined #lv213:29
*** drobilla` is now known as drobilla13:30
*** frinknet has joined #lv214:35
drobillafalktx: Do you still have the test bundle for the sord issue?  pastebin expired...14:39
falktxlet me check14:39
falktxdrobilla: I don't think so. let me do another one14:41
falktxdrobilla: found a plugin that loading its bundle causes the issue14:47
falktxhttps://github.com/moddevices/mod-pitchshifter14:48
falktxHarmonizer214:48
falktxyou can clone the repo and do a load_bundle on ./Harmonizer2/ttl/14:49
drobillafalktx: OK, thanks14:49
falktxwhen the lilv instance is destroyed the bug happens (sorta, since it's a invalid write better use valgrind to catch it)14:50
falktxI'm not sure if it requires some extra lilv methods, like checking the class, port count or whatever14:51
falktxdrobilla: if you're unable to reproduce it let me know14:51
drobillaProbably reference counting bindings hell14:55
drobillaLongest build process evar15:21
falktxheh, you're trying to build the plugins?15:21
falktxthe fftw operation is quite long15:21
falktxdrobilla: btw I think you perhaps haven't seen this yet, https://github.com/moddevices/modgui-embed15:30
drobillaGood grief, python3 in valgrind is crazy noisy15:39
drobillafalktx: nice15:40
rgareusfalktx: +1 for  modgui-embed15:41
falktx:)15:41
rgareusnow we really need a solution to hide (or line-break) ardour's  state title bar.15:42
drobillaNot to mention shrink in general.  Thing wastes a ton of space for no particularly good reason.15:43
rgareusfalktx: the black space left/right is not due to ardour, is it?  Is that where the ports are in the /real/ MOD gui?15:46
falktxrgareus: yeah, it's something introduced by the modguis15:46
falktxrgareus: this is why I wanted a property for this15:46
falktxie, the host tells the plugin what background color it should use15:47
falktxI have a proper screenshot somewhere...15:47
falktxrgareus: https://i.imgur.com/x5cBNxE.png15:49
rgareusaah that's better :)15:49
rgareusfalktx: can't you get rid of the space where the ports are?15:50
falktxalready did15:50
falktxcode has changed a lot15:50
rgareusAmpVTS  has different margins bottom vs left15:50
falktxbut haven't tested if that still works or not15:50
falktxdrobilla: you might like this one https://i.imgur.com/ecXAscX.png15:51
rgareusfalktx: the other plugins.   well ardour's title-bar screws things up.15:51
falktxlet me see how it looks now15:51
rgareusingeeeeeeeen! yay15:51
rgareusthat's one thing I love the MOD for, taking a cool floss project and making it even cooler. Kudos!15:52
rgareusone might even say, take it to the next level,  except there was no previous level :)15:53
falktxI think there's still some borders15:54
rgareusfalktx: n/m those borders are a detail..  for later15:54
drobillaNot sure UI embedding is going to remain a thing in Ingen's GUI in the long term, but neat :)15:55
falktxrgareus: latest screen from right now, https://i.imgur.com/521N7W5.png15:56
drobillaAt least in the modules themselves.  I don't know.  Toolkits, sigh...15:56
falktxrgareus: you can see some minor issues in swh-delayorama. ignore that..15:56
falktxrgareus: btw, isn't it possible to center the X11 window there?15:57
falktxputting in the left side looks wrong15:58
rgareusfalktx: probably yes.16:06
rgareusfalktx: but I think we need a better approach for cases where plugin-width < preset-toolbar-width16:07
*** ricardocrudo has quit IRC16:09
rgareusmaybe an expandable/dropdown toolbar (hidden by default)   or some hot corner16:09
rgareuspresets are really a one-off operation no need to waste screen-state for them all the time16:10
falktxthere's bypass too16:11
rgareusmmh, indeed.16:11
falktxand pass keyboard16:11
falktxbypass is important, but the keyboard on/off can be an option in a menu16:11
rgareusmmh lv2_plugin_ui.cc   already wraps the child in a  Gtk::manage((container = new Gtk::Alignment()))16:16
rgareusdefault ctor:   Alignment (float xalign=0.5, float yalign=0.5, float xscale=1.0, float yscale=1.0)16:17
rgareusit should be centered16:17
drobillaKeyboard thing is bigger than it needs to be16:17
drobillaA hot zone at the top would be nice, but I could see that being annoying...16:18
*** nicksb2 has quit IRC16:18
drobillaBut it would be less of a problem if the thing was much smaller and more tidy looking as a header bar16:19
rgareusfalktx: looks like this is in libsuil.   ardour sets  _parent_feature.data = _gui_widget->gobj();   (where _gui_widget is the Alignment)16:19
rgareusand suil does the X11 -> GTK wrapping16:20
rgareusfalktx: so it needs to be centered there16:20
drobillaNo point in using an alignment then.  It can't align that way.  I think Ardour needs to stick a container in the alignment (which is is then capable of centering), then pass /that/ as the plugin parent16:22
*** rncbc has joined #lv216:31
falktxso just add an extra widget in there16:36
rgareusdrobilla: the Alignment is a container and is *parent*.   and child packed in it will be centered16:36
rgareusworks for gtk in gtk16:37
*** tytel has joined #lv216:37
*** edogawa_ has joined #lv216:41
drobillargareus: Yes, but in that situation you're passing the alignment X11 window as parent16:47
drobillargareus: I don't think "packing" in the Gtk sense even happens there, hence the non centeredness16:48
drobilla(I might be wrong, need to check, but if that's the case, then it won't center)16:48
rgareusdrobilla: I'll check other cases. but it seems tha suil_x11_in_gtk2  should add it. no need to add a middle-layer for all other GUIs16:49
drobillargareus: That means suil has to make assumptions about the parent16:50
rgareusx11_in_gtk.  it can expect the parent to be a gtk widget16:50
rgareusx11_in_gtk.  it can expect the parent to be a gtk container16:50
* drobilla shrugs16:52
drobillaYes, but I don't see why suil should add a container to the container because the host might not have passed a container that actually behaves the way it wants the plugin UI container to behave16:53
drobillaThis whole "let's work around everything Ardour does in the LV2 stack" theme better taper off soon :P16:53
* falktx has the pitchfork ready16:54
drobillaBut needs looking into.  The situation is weird.16:54
drobillaThe definition of "parent" for Gtk (being a Container) is designed for just Gtk16:54
rgareusdrobilla:  X_in_gtk   parent is a gtk-container  and a gtk widget need to go inside it.16:55
*** tytel has quit IRC16:55
drobillaYes.  Namely a Plug16:56
rgareusdrobilla: maybe all that's wrong is the Plug's  size_request(), size_allocate() implementation ?16:56
drobillargareus: Wouldn't be surprised, it's a relatively dumb forward-to-X11 thing right now16:57
rgareusdrobilla: I just checked, x11_in_gtk2.  does not connect "size-request"   only "size-allocate"17:00
rgareusthat explains it.17:01
drobillaThat'd do it17:01
drobillaSome time in 2058 we'll get this perfect :)17:01
*** sigma6 has quit IRC17:03
*** falktx has quit IRC17:08
*** NickSB2 has joined #lv217:13
*** aombk2 has quit IRC17:33
rgareus2058 is nearer than one may think.20:14
rgareusdrobilla: I've implemented a gtk size request for suil x11->gtk.. only to find out that it's the wrong approach.  the widget itself will still be allowed to grow. and we can't easily XMove it to the center (that approach works for Cocoa but not X11)20:37
rgareusso I'm fixing this in ardour after all20:38
rgareussuil does call gtk_set_size_request() on the Plug itself.  so all is good on that end20:40
rgareuscrap.  if ardour does not allow to the widget to expand.  fixed-size X11 UIs are centered.  but resizable x11 and resizable GTK guis don't resize  anyore :(20:43
*** ricardocrudo has joined #lv220:51
*** six6110 has quit IRC21:15
*** six6110 has joined #lv221:26
*** rncbc has quit IRC21:48
*** edogawa_ has quit IRC22:27
drobillargareus: There are probably a bunch of questions there about how okay it is for wigets to grow, how much, when...22:54
drobillaRe: changing buffer size stuff, seems LV2_Options_Status needs a LV2_OPTIONS_ERR_NOT_DYNAMIC or some such?22:55
*** ricardocrudo has quit IRC23:14

Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!