2016-05-07 00:08 jwhitmore has joined #qi-hardware 2016-05-07 00:59 jwhitmore has quit [Ping timeout: 244 seconds] 2016-05-07 01:15 sandeepkr has quit [Ping timeout: 244 seconds] 2016-05-07 01:58 sb0 has joined #qi-hardware 2016-05-07 02:05 sb0 has quit [Ping timeout: 246 seconds] 2016-05-07 02:18 sb0 has joined #qi-hardware 2016-05-07 02:34 MistahDarcy has joined #qi-hardware 2016-05-07 02:59 MistahDarcy has quit [Ping timeout: 260 seconds] 2016-05-07 03:59 DocScrutinizer05 has quit [Disconnected by services] 2016-05-07 03:59 DocScrutinizer05 has joined #qi-hardware 2016-05-07 04:42 DocScrutinizer51: I just committed DXF import to SolveSpace 2016-05-07 05:03 doomlord_ has joined #qi-hardware 2016-05-07 05:51 arossdotme has quit [Ping timeout: 260 seconds] 2016-05-07 06:12 whitequark: btw, when you have "connected" geometries, how do you transport bits from one to the other ? e.g., in the case of the anelok case, the "wedge" is made of two circles and both outer tangents. i don't know the length of the tangents (without calculating it). that length would in turn go to anything that defines the top side. e.g., a window or window frame. how would solvespace transport that value (or equivalent) from one ske 2016-05-07 06:12 tch to the next ? 2016-05-07 06:13 I have no idea what are you talking about 2016-05-07 06:15 ;-) 2016-05-07 06:15 "wedge"? wtf 2016-05-07 06:15 ah, this is the overall form: http://downloads.qi-hardware.com/people/werner/anelok/tmp/case-interim/case-20150714.png 2016-05-07 06:15 thought you knew it 2016-05-07 06:16 on the side, the battery defines one circle. there's another one on the other end, smaller (with a more or less arbitrary radius) 2016-05-07 06:17 i have the two radii plus the distance between the two centers 2016-05-07 06:18 the top and bottom flat side is basically the two outer tangents on these circles / cylinders, extruded down the width of the case 2016-05-07 06:18 now, one would want to do things that are based on the geometry of these flat sides. such as placing a window at the right spot 2016-05-07 06:19 now would the 2D sketch that defines what's going on on the flat sides learn the length of the tangent ? 2016-05-07 06:20 (or the points / lines where tangents touch circle / cylinder) 2016-05-07 06:27 solvespace does not have 2d sketches 2016-05-07 06:28 all sketches are inherently 3d, although when you are drawing "in 2d", all points are implicitly constrained in plane 2016-05-07 06:28 so you do it all in the same 3D space as the main model ? 2016-05-07 06:28 there's no "main model" 2016-05-07 06:28 every sketch has one global coordinate space 2016-05-07 06:28 so it's all in the same 3D space 2016-05-07 06:28 yep 2016-05-07 06:29 okay, that should make this sort of "export/import" trivial 2016-05-07 06:31 also probably also more understandable than the mix of "sketches" and other stuff in freecad :) (i dodge all this by scripting model generation, but that's of course not really the nicest way) 2016-05-07 07:36 sb0 has quit [Quit: Leaving] 2016-05-07 08:10 kilae has joined #qi-hardware 2016-05-07 08:30 sb0 has joined #qi-hardware 2016-05-07 09:03 sandeepkr has joined #qi-hardware 2016-05-07 09:30 jwhitmore has joined #qi-hardware 2016-05-07 09:30 whitequark: playing with solvespace ... how do you use variables for geometry constraints 2016-05-07 09:31 err, i mean for dimensions 2016-05-07 09:31 and when it goes red, it seems there's not much of a choice but to backpedal out with undo ? or is there a way to find out what's wrong and fix it more directly 2016-05-07 09:31 ? 2016-05-07 09:34 pcercuei has joined #qi-hardware 2016-05-07 09:35 same point constraints seem to come apart when it goes red :( 2016-05-07 09:37 also not so nice that redundant constraints make it go red, without indicating where the conflict is 2016-05-07 09:40 nice that one can select constraints directly. not so nice: if two share the same indication, one sees only one 2016-05-07 09:52 whitequark: the number of arc segments is sometimes confusingly low 2016-05-07 09:55 whitequark: playing with my wedge shape: http://downloads.qi-hardware.com/people/werner/slvs/wedge-070654.slvs 2016-05-07 09:57 not everything is quite right there, though. e.g., there should be a global "wall thickness" parameter that gets used to calculate the big cylinder-arc (or whatever this is called) based on its inner cylinder, which is in turn battery diameter + a bit of slack 2016-05-07 10:00 wildlander has joined #qi-hardware 2016-05-07 10:03 the browser window is a bit inconvenient: should either stay on top of the main window or at least the main window shouldn't raise itself when clicked 2016-05-07 12:04 pcercuei has quit [Quit: leaving] 2016-05-07 12:48 not like there are no desktops that can do that 2016-05-07 13:02 sandeepkr_ has joined #qi-hardware 2016-05-07 13:05 sandeepkr_ has quit [Max SendQ exceeded] 2016-05-07 13:05 sandeepkr has quit [Ping timeout: 260 seconds] 2016-05-07 13:05 sandeepkr_ has joined #qi-hardware 2016-05-07 13:38 sandeepkr__ has joined #qi-hardware 2016-05-07 13:42 sandeepkr_ has quit [Ping timeout: 252 seconds] 2016-05-07 14:51 xiangfu has joined #qi-hardware 2016-05-07 15:29 pcercuei has joined #qi-hardware 2016-05-07 15:58 sb0 has quit [Quit: Leaving] 2016-05-07 16:33 sb0 has joined #qi-hardware 2016-05-07 16:38 wej has quit [*.net *.split] 2016-05-07 16:43 pcercuei has quit [Quit: leaving] 2016-05-07 17:11 xiangfu has quit [Remote host closed the connection] 2016-05-07 17:12 arossdotme has joined #qi-hardware 2016-05-07 17:12 arossdotme-planb has joined #qi-hardware 2016-05-07 18:23 wpwrak: you can't use variables in constraints (yet) 2016-05-07 18:28 wpwrak: when it goes red, the browser window shows which constraints are problematic and what you can do about it 2016-05-07 18:28 ewww :( 2016-05-07 18:29 ah, should position the browser window more prominently then. i only found it by accident 2016-05-07 18:29 'position'? 2016-05-07 18:29 the browser window is extremely important in solvespace, everything is done through it 2016-05-07 18:30 it disappears easily under the model window 2016-05-07 18:31 your WM is broken 2016-05-07 18:31 there's an "always on top" flag set on the browser window 2016-05-07 18:31 that information doesn't seem t make it 2016-05-07 18:31 (using fvwm here) 2016-05-07 18:31 it's the standard icccm flag. i3 respects it 2016-05-07 18:32 ditto any common WMs (kwm and whatever gnome and unity use) 2016-05-07 18:34 whitequark: wpwrak's window manager is known to not support those flags like "always on top" 2016-05-07 18:34 DocScrutinizer05: "< whitequark> your WM is broken" 2016-05-07 18:35 that's why I answered 2016-05-07 18:35 i specifically positioned it more prominently 2016-05-07 18:35 dunno what else can i do 2016-05-07 18:35 wpwrak: "the number of arc segments is sometimes confusingly low" configuration -> chord tolerance 2016-05-07 18:36 for display it's specified in % of model bounding box 2016-05-07 18:36 since that gives you consistent results regardless of part scale 2016-05-07 18:36 for export it's specified in mm, e.g. if you want to 3d-print 2016-05-07 18:37 how about (heresy warning) a non-multiwindowed UI? 2016-05-07 18:37 wpwrak: "same point constraints seem to come apart when it goes red :(" 2016-05-07 18:37 iirc aka modal vs non-modal 2016-05-07 18:38 when it's red, the solver can't do anything, not even propagate point-coincident constraints 2016-05-07 18:38 (though I think that had another meaning, about focus grab) 2016-05-07 18:38 you aren't supposed to do anything in that mode except fix them 2016-05-07 18:38 wpwrak: "nice that one can select constraints directly. not so nice: if two share the same indication, one sees only one" 2016-05-07 18:38 you can hover constraints in the browser window 2016-05-07 18:38 and you get a highlight in the graphics window 2016-05-07 18:39 so you can distinguish them by the name 2016-05-07 18:39 you can also right-click on points and select "delete point-coincident" if that helps 2016-05-07 18:39 DocScrutinizer05: yes modal is about focus 2016-05-07 18:39 re non-multiwindow UI: I have no especial objection to that, but the architecture I inherited makes that hard 2016-05-07 18:40 can't recall which program allowed selection of either multiwindow or one-window (tiled) GUI 2016-05-07 18:41 eh plenty of programs have something like "dock" 2016-05-07 18:41 checked eagle but can't find it there. gimp maybe? 2016-05-07 18:41 gimp yes 2016-05-07 18:44 whitequark: can you snap windows into other windows? 2016-05-07 18:44 no 2016-05-07 18:44 k, nice try 2016-05-07 18:44 something to keep in mind is that i have to support three platforms 2016-05-07 18:45 win32 cocoa and gtk 2016-05-07 18:46 so tricks like snapping windows onto others need quite a lot of work to implement 2016-05-07 18:46 yeah 2016-05-07 18:46 Qt? 2016-05-07 18:47 not a suggestion but a question 2016-05-07 18:47 Qt is shit on OS Ч 2016-05-07 18:47 OS X 2016-05-07 18:47 so I gather it doesn't use qt 2016-05-07 18:47 not the library itself but the UI it creates 2016-05-07 18:47 no, I use native win32 and cocoa interfaces on those platforms 2016-05-07 18:48 thats the only way to get a *good* UI 2016-05-07 18:48 yep, prolly right 2016-05-07 18:49 eagle "recently" switched to Qt and I have to say I'm not impressed much, even on linux 2016-05-07 18:49 "recently"? 2016-05-07 18:49 it was like a decade ago at least 2016-05-07 18:49 like maybe a year ago 2016-05-07 18:49 no 2016-05-07 18:50 err 2016-05-07 18:50 a year ago they switched from qt3 (iirc) to qt5 2016-05-07 18:50 aaah k 2016-05-07 18:50 might have been qt4 somewhere in between, unsure. but eagle always used qt 2016-05-07 18:50 didn't know it was Qt already 2016-05-07 18:50 qt5 has different rendering 2016-05-07 18:50 anyway looks like shit now 2016-05-07 18:51 show me a screenshot. prolly your system is misconfigured 2016-05-07 18:51 and still no *decent* keymapping features, particularly for mousebuttons etc 2016-05-07 18:51 s/mis/not-/ 2016-05-07 18:51 whitequark meant: "show me a screenshot. prolly your system is not-configured" 2016-05-07 18:51 yes. no keymapping. but that's not qt's fault, eagle just has a bad ui 2016-05-07 18:52 http://paste.opensuse.org/20088836 2016-05-07 18:53 yep, keymapping is a genuine eagle fsckup 2016-05-07 18:53 you can map keys, but not mousebuttons etc 2016-05-07 18:54 also the icons of editr window are soooo yuck 2016-05-07 18:54 your paste is just "/srv/mirrors/devuan/files.devuan.org/" 2016-05-07 18:55 damn!! 2016-05-07 18:55 wpwrak: looked at your "wedge", it looks reasonable to me 2016-05-07 18:55 wstaw,org cocks up once again 2016-05-07 18:57 http://wstaw.org/m/2016/05/07/plasma-desktopUB2219.png 2016-05-07 18:58 prolly was eagle which even makes screenshot app act funny 2016-05-07 18:59 but honestly look at those menus! 2016-05-07 18:59 YUCK! 2016-05-07 19:00 I guess what I don't like the most about them is the white background 2016-05-07 19:01 I prolly need that Qt configurator to set up such stuff? 2016-05-07 19:03 doomlord_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…] 2016-05-07 19:10 errrr what's wrong with that? seems ok to me 2016-05-07 19:10 same as qt5 looks over here 2016-05-07 19:10 iirc there's a switch to get the old toolicons too 2016-05-07 19:10 Options -> User Interface → Classic icon style 2016-05-07 19:13 duh! 2016-05-07 19:16 the menus still look strange with that white background 2016-05-07 19:18 do you use kde? 2016-05-07 19:18 yep 2016-05-07 19:19 systemsettings → application style 2016-05-07 19:19 eagle should respect that 2016-05-07 19:19 well, seems it doesn't? 2016-05-07 19:19 what do you set there? 2016-05-07 19:19 or is that eagle specific? 2016-05-07 19:19 no that's systemwide 2016-05-07 19:20 all my other menus look different in all apps 2016-05-07 19:20 mhm, can you run eagle from console and show me any messages it prints? 2016-05-07 19:20 since otherwise the eagle menus wouldn't look strange to me ;-) 2016-05-07 19:20 sure 2016-05-07 19:22 doesn't print anything there 2016-05-07 19:22 jr@saturn:~> ~/eagle-7.5/bin/eagle -->zilch 2016-05-07 19:25 mm 2016-05-07 19:25 and are you running kde4 or kde5? 2016-05-07 19:25 4 2016-05-07 19:26 ohhhh 2016-05-07 19:26 that's why 2016-05-07 19:26 ahaaa 2016-05-07 19:26 systemsettings4 doesn't set the right vars for qt5 2016-05-07 19:26 *sigh* I hate that shit 2016-05-07 19:27 Qt5, honestly now? how many more versions will they need until they go "stable" 2016-05-07 19:27 never? 2016-05-07 19:27 requirements are ever-changing 2016-05-07 19:27 what a shit 2016-05-07 19:28 well, no, not really 2016-05-07 19:28 the major reason for qt5 incompatibility is that all its drawing operations were redone in terms of GLES 2016-05-07 19:28 so how does API care? 2016-05-07 19:29 there are very few breaking API changes between qt4 and qt5, mostly with good reason 2016-05-07 19:29 e.g. reducing hardcoded x11 stuff 2016-05-07 19:30 instead of stabilizing stuff, each new version of KDE/Qt3/4/5 seems to introduce unique new bugs and problems 2016-05-07 19:30 while keeping the old ones. or at least new bugs are more than the old abandoned ones 2016-05-07 19:31 the behavior you dislike right now is not a bug 2016-05-07 19:31 it's the same problem as e.g. running gtk apps on kde54 2016-05-07 19:31 KDE3 worked, KDE4 is crap, I'm 'really looking forward'¡ to KDE5 2016-05-07 19:31 *on kde4 2016-05-07 19:34 but yeah, my distro here is already almost 2 years old, how dare I 2016-05-07 19:35 yes. it's full of security bugs, because it's written in shitty c 2016-05-07 19:35 the distro? Qt? KDE? 2016-05-07 19:36 the distro 2016-05-07 19:36 X11 isn't even "full" of security bugs, it IS a security bug, like it's literally impossible to write a robust screenlocker for X11 2016-05-07 19:37 yeah, so let's discard it and get wayland shit instead 2016-05-07 19:37 yes 2016-05-07 19:37 X11 should have been dumped into a trashcan decades ago 2016-05-07 19:37 and when stuff like VNC finally starts working again, I bet they already have some new leete shit we *must* adopt 2016-05-07 19:37 it's bad at drawing stuff, it's bad at window management, it has nonexistent security 2016-05-07 19:37 there is absolutely nothing x11 is good at 2016-05-07 19:38 it works 2016-05-07 19:38 nah. 2016-05-07 19:38 it doesn't. 2016-05-07 19:38 here it does 2016-05-07 19:38 it """works""" because of a pile of fragile hacks that happens to appear like it works some of the time 2016-05-07 19:38 unless some crappy Qt5 stuff comes along 2016-05-07 19:38 like most of unix, really 2016-05-07 19:39 that's the way I like it 2016-05-07 19:39 then don't complain when others fix your shitty OS 2016-05-07 19:39 I do 2016-05-07 19:39 cascade of ADHS youngsters 2016-05-07 19:40 yes, incompetent old farts are much better 2016-05-07 19:40 indeed 2016-05-07 19:40 2016-05-07 19:40 particularly when the attributed "incompetent" comes from such youngsters of the sort of Poettering et al 2016-05-07 19:41 well, you know I am not fond of poettering 2016-05-07 19:41 his "fixes" aren't any better than the old broken way 2016-05-07 19:41 there's an army of those nitwits 2016-05-07 19:41 trying to "fix UNIX" 2016-05-07 19:41 that doesn't mean that the old broken way is any good though 2016-05-07 19:42 yes, because practically every part of UNIX is broken by design. it would take an army to fix it, indeed 2016-05-07 19:42 please roll your own OS then, leave unix alone 2016-05-07 19:42 half of the core APIs are better in *Windows* 2016-05-07 19:42 then fix windows please! 2016-05-07 19:42 I just wanted to say, lets all switch to windows 2016-05-07 19:43 Debian/kWindowsNT is not a bad idea 2016-05-07 19:43 winnt is a great kernel 2016-05-07 19:43 windows userspace is shit too though 2016-05-07 19:46 lemme put it this way: as long as those leet devels are not capable to improve on the old while keeping 100(!)% backward compatibility, they are simply not competent enough to qualify to "fix unix/linux/whatever" 2016-05-07 19:46 you cannot keep 100% backward compatibility 2016-05-07 19:46 your requirements are impossible. 2016-05-07 19:46 you just diqualified 2016-05-07 19:46 yourself 2016-05-07 19:46 it's just "get off my lawn" masqueraded as "objective requirements" 2016-05-07 19:47 and no, i won't get off your lawn, and i won't appease your stockholm syndrome either 2016-05-07 19:48 indeed get off my lawn, instead of telling me "this wayland stuff is much better, just forget about all the tools you had so far, they don't work anymore with this new leete wayland. Incl VNC and whatnot" 2016-05-07 19:48 wej has joined #qi-hardware 2016-05-07 19:50 replace "wayland" by "systemd" or whatever you like, in last statement 2016-05-07 19:51 I don't see a single "requirement" that e.g. Qt4 made feasible and I missed it in Qt3 2016-05-07 19:51 I don't see any security issues with my X11 either 2016-05-07 19:52 https://www.cvedetails.com/vulnerability-list/vendor_id-88/product_id-147/X.org-X11.html 2016-05-07 19:52 and.... let me find the locker ones 2016-05-07 19:53 and for sure I don't need any systemd messing up my whole system, to cure dunno what, boottime? 2016-05-07 19:53 https://www.jwz.org/blog/2015/04/i-told-you-so-again/ by the author of xscreensaver no less 2016-05-07 19:54 this is a problem *in x11*, because x11 has no robust way for an application to say "i'm the screen locker" 2016-05-07 19:54 well, no way at all, you can only try to fake it, badly 2016-05-07 19:54 sounds like an XY problem of sorts. Somebody can't implement some crap so the underlying infra must be broken. Maybe the approachis broken and nobody really needs that crap he wants to implement? 2016-05-07 19:54 yes. no one needs screen lockers. 2016-05-07 19:55 obviously. 2016-05-07 19:55 have you considered actually thinking about use cases that do not perfectly match the one thing you want to do? 2016-05-07 19:55 I actually don't need, and even if I did, it seems they worked so far 2016-05-07 19:56 I thinkignoring usecases is a privilege of Poettering and friends 2016-05-07 20:00 a pretty sane rationale to nuke unix completely a reassemble it in a completely different incompatible way, to make stuff like screen lockers with session switching, audio during bootmenu, and multiseat work 2016-05-07 20:03 need the qr codes and http servers in the init system too 2016-05-07 20:06 yeah, systemd is already there to meet your needs 2016-05-07 20:06 i can't stand systemd 2016-05-07 20:06 poettering is just as incompetent as those before him, just with more bloat 2016-05-07 20:17 btw lovely hubris by wayland devels when they think their code would immenently have less CVEs than X11 2016-05-07 20:21 and actually screenlocker *is* an XY problem, you can't implement a decent screenlocker on app level without support from the display/window-manager. So better implement it outside and above of the whole display-manager system tight away 2016-05-07 20:21 right away* 2016-05-07 20:21 yes, that's exactly what wayland does. the screenlocker is implemented in the compositor itself 2016-05-07 20:22 *shrug* 2016-05-07 20:22 no argument to go for wayland 2016-05-07 20:23 actualy I think implementing the screensaver *into* the display manager is flawed design 2016-05-07 20:24 not screensaver, no 2016-05-07 20:24 kde5 doesn't have screensavers anymore 2016-05-07 20:24 it should be a system unentangled with display manager 2016-05-07 20:24 which actually pisses me off a lot but security wise it makes sense 2016-05-07 20:25 once a screensaver was exactly that. While a login screen was something entirely different, by purpose as well as implementation 2016-05-07 20:26 yes. screensavers and screenlockers are completely different classes of software that were wrongly intermingled 2016-05-07 20:26 mixing up the two is arguably not the right thing to do 2016-05-07 20:41 (screenlocker) must disable the normal display/window-manager's functions completely, incl kbd input and whatnot. Like switching to a new console (ctrl-alt-F9). Even providing support in display manager for an app to take over completely is a security risk since then any arbitrary such app could take over from display manager and intercept user's inputs 2016-05-07 20:43 hence wayland removes the XTEST functionality, used by x screenlockers 2016-05-07 20:43 and also, incidentally, vnc servers 2016-05-07 20:44 you are aware why on windows you're supposed to press ctrl-alt-del to login, are you? 2016-05-07 20:44 yes 2016-05-07 20:45 alt+sysrq+k on linux 2016-05-07 20:45 that solves a slightly different problem: someone impersonating a login screen 2016-05-07 20:45 so you need something to be intercepted by the kernel, before it ever reaches *any* userspace 2016-05-07 20:45 hmm, I think on ISA PC that's even deeper, you can't block it at a softzware level, causes a NMI iirc 2016-05-07 20:46 alt-ctl-del that is 2016-05-07 20:46 on anything 32-bit it's just a keyboard input, has to be so or you couldn't login from USB keyboards 2016-05-07 20:47 I dunno, it actually makes sense that there's no IRQ line/wire in the kbd cable so something has to decode the keycodes 2016-05-07 20:47 well with PS/2 you could decode that in hardware if you wanted 2016-05-07 20:47 maybe I'm wrong on the hw NMI thing 2016-05-07 20:47 thats an FSM that compares three bytes, not too hard 2016-05-07 20:47 aaaah then prolly that was it 2016-05-07 20:48 no idea if it actually worked like that, just speculating 2016-05-07 20:48 I guess there must be a reason for ps/2 jacks _still_ existing, and I tink I faintly recall I heard sth ölike this 2016-05-07 20:49 that NMI thing certainly don't happens on any 32-bit systems, that much i know 2016-05-07 20:50 once in the PC pleozen there must have been an IRQ to recover a locked up system 2016-05-07 20:50 ps/2 jacks mostly stopped existing a few years ago, you'd be hard pressed to find such a motherboard 2016-05-07 20:50 even vga is practically dead 2016-05-07 20:50 hmm, I bought a PC 1 year ago which still has them 2016-05-07 20:51 new 2016-05-07 20:51 there's a number of funny "cruft" in standard ISA PC mobos 2016-05-07 20:51 A20-gate for example ;-) 2016-05-07 20:52 ugh 2016-05-07 20:53 what pisses me off the most is that new SoCs are just as crufty, actually probably even more so 2016-05-07 20:53 just hard IP slapped together by some intern 2016-05-07 20:54 have you heard that intel laid off most of their verification team? 2016-05-07 20:54 wow, great! 2016-05-07 20:54 http://danluu.com/cpu-bugs/ 2016-05-07 20:54 to start with: they had any? 2016-05-07 20:54 ;-D 2016-05-07 20:55 yes, they had a massive amount of people dedicated to that 2016-05-07 20:55 which is why they were able to ship the monster that is x86 and have it work at all 2016-05-07 21:00 i use ps2 ports for keyboards and mice to have more available usb ports 2016-05-07 21:03 ok, https://www.youtube.com/watch?v=1zADyh0JQh8 2016-05-07 21:04 infobot has quit [Ping timeout: 260 seconds] 2016-05-07 21:05 DocScrutinizer05: have you tried out the dxf import feature yet? 2016-05-07 21:05 https://www.youtube.com/watch?v=VFphpY_3hk8 2016-05-07 21:05 nope 2016-05-07 21:06 friggin bot went south again 2016-05-07 21:07 jwhitmore has quit [Ping timeout: 260 seconds] 2016-05-07 21:11 wildlander has quit [Quit: Saliendo] 2016-05-07 21:29 kilae has quit [Quit: ChatZilla 0.9.92 [Firefox 46.0.1/20160502172042]] 2016-05-07 22:03 jwhitmore has joined #qi-hardware 2016-05-07 22:19 jwhitmore has quit [Ping timeout: 252 seconds] 2016-05-07 22:23 whitequark: hmm, seems that gtk_window_set_keep_above is only advisory, and you're not guaranteed that it works 2016-05-07 22:23 i wonder why the graphics window keeps in crawling on top, though. you're not calling gtk_window_present anywhere. 2016-05-07 22:24 wpwrak: yes. it's advisory. X11 does not have any way to make that mandatory, your WM is supposed to make sure of that 2016-05-07 22:24 and it keeps crawling on top perhaps because you're clicking on it? 2016-05-07 22:24 the WM is only supposed to take it into consideration :) 2016-05-07 22:24 clicking on a window itself shouldn't raise it 2016-05-07 22:25 e.g., i can put an xterm under the browser window and click on it all day, and nothing happens 2016-05-07 22:25 that's windows of a different application though 2016-05-07 22:25 or even with this xchat (under an xterm) 2016-05-07 22:25 try doing that with two browser windows to get an accurate comparison 2016-05-07 22:26 a browser is a little universe onto itself ;-) 2016-05-07 22:26 well, anything else that has two nonmodal windows 2016-05-07 22:26 gimp 2016-05-07 22:30 if it's something gtk does by default, then there must be a way to turn it off. now, how do they call this ... 2016-05-07 22:31 that's not gtk, that's your WM... 2016-05-07 22:31 of course, everyone is looking for the opposite ... how to make MY window dominate all the rest of the pile ... :( 2016-05-07 22:31 gtk has no say in window ordering at all 2016-05-07 22:32 i'm trying to think of a bare X11 program that opens multiple windows ... 2016-05-07 22:34 hard to find these days. but it would surprise me a bit if the WM would get involved if it doesn't care about auto-raising if windows are not from the same application 2016-05-07 22:35 https://rosettacode.org/wiki/Window_creation/X11#Xlib 2016-05-07 22:35 I'm sure you'll manage to open two ;) 2016-05-07 22:38 opened two, and as expected, fvwm doesn't get involved 2016-05-07 22:39 borrowing a bit of neo900 infrastructure: https://neo900.org/stuff/paste/w2-Iephae8k.c https://neo900.org/stuff/paste/Makefile-Aiw4xaj1 2016-05-07 22:40 hmmmm no idea then. i continue to insist that your wm should just respect the "above" flag 2016-05-07 22:44 though, if you produce a patch that does work for you, i'll probably merge it 2016-05-07 22:56 hmm, tried to TW->set_transient_for(*GW); but alas, no effect 2016-05-07 22:56 the "push to front" effect of GW is very strong 2016-05-07 22:56 and it also does this against windows from other applications 2016-05-07 22:57 i definitely never added such behavior intentionally 2016-05-07 22:58 ... which isn't something gtk does on its own either (tried with some gtk apps of my own) 2016-05-07 22:58 that have two toplevel windows? 2016-05-07 22:58 e.g., i can edit around in fped all day and it never tries to displace other windows 2016-05-07 22:59 i'm testing single-window gtk vs. xterm 2016-05-07 22:59 solvespace's GW always goes on top immediately. my gtk apps never do 2016-05-07 22:59 i'm pretty sure this is related to having two windows in one application 2016-05-07 23:01 i closed TW, and it still happens 2016-05-07 23:02 oh, so GW is raised even against other applications? 2016-05-07 23:02 oh, i see 2016-05-07 23:02 are you building with GTK2 or GTK3? 2016-05-07 23:03 libgtk-x11-2.0.so.0 and libgtkmm-2.4.so.1 2016-05-07 23:03 ok, so gtk2 2016-05-07 23:03 hm. 2016-05-07 23:04 thats very bizarre 2016-05-07 23:05 it seems to be caused by drawing, not the input itself. e.g., if i type "1", which seems to be ignored, nothign happens 2016-05-07 23:05 thats not mouse 2016-05-07 23:06 ah no, G (if just toggling state) doesn't raise it either 2016-05-07 23:06 yes, this is related to mouse 2016-05-07 23:06 yeah, just thought it may be input in general 2016-05-07 23:07 try commenting out line 553 and 573 in gtkmain.cpp 2016-05-07 23:07 it's also not mouse in general :) 2016-05-07 23:07 wheel and right-click do nothing 2016-05-07 23:09 yup, that eliminates the raising. unless i double-click left 2016-05-07 23:09 let's say you double-click left 2016-05-07 23:09 and it doesn't open an editor 2016-05-07 23:09 still happens? 2016-05-07 23:11 yes 2016-05-07 23:11 so it must be something that happens when SS processes the mouse event 2016-05-07 23:11 let's find out what ... 2016-05-07 23:12 btw, i'm getting a bunch of warnings when compiling. known issue ? 2016-05-07 23:12 which? 2016-05-07 23:13 oh, a few dozen. so it should compile without warnings ? here's an example: https://neo900.org/stuff/paste/yaeVo4ji 2016-05-07 23:14 ohh 2016-05-07 23:14 your gtk is too old 2016-05-07 23:14 that's nothing i can fix, it's a gtk issue 2016-05-07 23:15 are there others? 2016-05-07 23:15 i think so. i'll do a full build later and send you the output 2016-05-07 23:15 generally i keep it warning-free, and use -Wall, so yeah 2016-05-07 23:16 good. that's what i thought :) wish everyone had that attitude ;-) 2016-05-07 23:16 hm, actually -Wall is not in the build flags for some reason 2016-05-07 23:20 hmm, this may get tricky. left click on "empty" did raise the window. commenting out the call to SS.TW.HideEditControl(); in GraphicsWindow::MouseLeftDown (mouse.cpp) make it not raise the window in this case. however, if the click selects an object, the window still raises 2016-05-07 23:21 aaah !!! ;-) 2016-05-07 23:21 .... oh 2016-05-07 23:21 GW->raise(); 2016-05-07 23:21 gtk/gtkmain.cpp HideTextEditControl(void) 2016-05-07 23:21 so i do in fact call it explicitly 2016-05-07 23:21 yeah ;-) 2016-05-07 23:22 ok that's very simple to fix 2016-05-07 23:22 wrap it in if(TW->get_overlay().is_editing()) {} 2016-05-07 23:22 I'll commit it soon 2016-05-07 23:23 commented it out and it makes things a lot smoother. now, if a dialog comes up, the browser still gets pushed down. let's see if this can be fixed, too ... 2016-05-07 23:25 mmh, no such luck :( 2016-05-07 23:25 tried to do it with set_transient_for 2016-05-07 23:25 fwvm probably doesn't care about that either 2016-05-07 23:26 maybe it needs to be called at a specific time and i'm doing it too late. let's see .. 2016-05-07 23:37 nope, no effect 2016-05-07 23:38 a dialog also makes GW raise above xterms. though that looks less unexpected. let's see if this is really something "normal" ... 2016-05-07 23:52 wpwrak: does replacing raise() with show() do something nasty on your WM? 2016-05-07 23:57 hm, nevermind, I can just remove that 2016-05-07 23:57 doesn't seem to have any ill effect