Sunday, 2015-10-04

drobillargareus: With your patch, I only get vertical centering00:04
drobillargareus: e.g. jalv.gtk http://gareus.org/oss/lv2/meters#K20mono_gtk00:05
drobillaer, no, not that :)00:05
drobillaHm, and related problem with jalv, initial window size might be much larger than UI (if e.g. tiling WM), even if resizable.  The UI resizes once you resize the window at all, but not initially00:07
rgareusdrobilla: the latter is a not a new problem (due to the patch), is it?00:21
*** uncle-j_j1 has quit IRC00:21
rgareusfor testing I compiled meters.lv2  with EXTERNALUI=no  => x11 GUI.   EBUr128 is fixed size. all others are resizable, the needle meters have fixed aspect, too.00:23
drobillaProbably not00:23
drobillargareus: in what host?  If they're fixed, Jalv window is fixed too so there's no centering00:23
rgareusdrobilla: I tested with jalv and ardour00:24
* drobilla updates, rebuilds meters00:24
rgareusdon't use the _gtk variant00:24
drobillaI don't get how jalv can demonstrate this particular functionality00:24
drobillaI guess if the UI isn't actually resizable but doesn't set the hints00:25
rgareusK20 is a good exmple.  w/o the patch it's left aligned00:25
rgareusHarry's openAV plugins would be great. those were the initial motivation for me looking into this..00:28
rgareusbut they do return a FLTK window - not a X11 window ID :(00:28
* drobilla still doesn't really get how that hasn't blown up in anyone's face yet00:29
rgareuscast to int (x11 windows ID)   just a lot of messages from libx11 "invalid window ID" that nobody sees00:30
drobillaK20mono likes to segfault00:30
drobillaoh, right.00:30
rgareusdrobilla: it must be you. if that segfault is a valid bug, I'll send you a bottle of wine.00:31
drobillargareus: Initial size problem is indeed a side-effect of the patch somehow00:31
rgareusmmh00:31
drobilla*** longjmp causes uninitialized stack frame ***: jalv.gtk terminated00:32
drobilla00:32
drobillagood times00:32
* rgareus is about to do a longjmp into bed.00:33
drobillargareus: You appear to be using pango in a thread01:40
drobillaThe boom is always related to threaded use of font business01:40
*** aombk2 has joined #lv201:57
*** aombk has quit IRC01:59
* drobilla gives up getting X11 anything in Qt02:11
drobillaBadRequest this, BadRequest that.  I suspect the display QX11Info gives you is bunk...02:11
*** son0p has joined #lv202:52
*** bgola has quit IRC03:19
*** bgola has joined #lv203:20
*** tytel has joined #lv203:42
*** falktx__ has joined #lv203:43
*** falktx_ has quit IRC03:46
*** c3r1c3__Win has joined #lv204:38
*** c3r1c3_Windows has quit IRC04:41
*** tytel has quit IRC05:51
*** tytel has joined #lv206:37
*** tytel has quit IRC06:42
*** edogawa has joined #lv207:17
*** falktx__ has quit IRC07:22
*** tytel has joined #lv207:31
*** tytel has quit IRC07:36
*** deva has joined #lv208:13
*** tytel has joined #lv208:26
*** uncle-j_j has joined #lv208:26
*** tytel has quit IRC08:30
*** tytel has joined #lv209:20
*** tytel has quit IRC09:24
*** tytel has joined #lv209:52
*** tytel has quit IRC09:57
rgareusdrobilla: the readme mentions that you need a version of pango that's thread-safe.10:18
*** sigma6 has joined #lv211:54
*** falktx__ has joined #lv213:29
*** uncle-j_j has quit IRC13:41
*** uncle-j_j has joined #lv213:41
drobillargareus: If distro ones aren't, which seems to be the case, 99.99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999% of the userbase won't have one...14:35
* drobilla puts $100 on "more trouble than it's worth" without even bothering to look at the code to see why threads are involved14:36
*** ricardocrudo has joined #lv214:49
*** ricardocrudo has quit IRC14:55
*** tytel has joined #lv215:23
*** ventosus has joined #lv215:27
rgareusdrobilla: debian is fine, as is KXStudio.  (cairo/pango was made thread-save in Jan'14, but Ub 14.04 14.10 screwed it). I also provide static builds15:29
rgareusdrobilla:  the issues is that pango is used in both:   GUI (idle-thread)  and port_event (should be GUI thread, but depends on host)15:30
rgareusthe reasoning is:  only update value if it actually changes,  detect size of changed area,  queue partial draw.15:32
rgareus pango is used during port-event to measure the size of the partial exposure.15:32
rgareus(and prepare a cairo-surface, double buffered)15:33
falktx__do hosts call port_event outside of the main thread?15:52
falktx__(the 'idle' one)15:52
falktx__is that even allowed?15:52
drobillargareus: ... depends on host?  Which host?16:28
drobillaAll LV2 UI methods must be called from one thread, namely the GUI one16:29
rgareusdrobilla: then I don't see how you could have pango thread issues.16:29
rgareuslibxcb maybe.16:31
drobillaQt does use xcb somehow.  I suspect this is why none of my Xlib code works reliably in qt5...16:40
*** Magnus_RM has joined #lv217:26
*** tytel has quit IRC17:33
*** deva has quit IRC18:01
*** ventosus has left #lv218:24
*** rncbc has joined #lv218:52
*** tytel has joined #lv219:21
*** son0p_ has joined #lv219:28
*** Anchakor_ has joined #lv219:28
*** Anchakor has quit IRC19:30
*** son0p has quit IRC19:32
*** edogawa is now known as Shaun00719:41
*** Shaun007 is now known as edogawa19:42
*** aombk2 has quit IRC19:48
*** aombk2 has joined #lv219:49
*** uncle-j_j has quit IRC20:31
*** tytel has quit IRC20:51
*** falktx__ has quit IRC21:08
*** tytel has joined #lv221:11
*** tytel has quit IRC21:33
*** tytel has joined #lv221:33
*** tytel has quit IRC21:59
*** edogawa has quit IRC22:00
*** rncbc has quit IRC23:41
*** Magnus_RM has quit IRC23:57

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