*** Morphous has joined #gnuenterprise *** Amorphous has quit IRC *** johannesV has joined #gnuenterprise *** sjc has joined #gnuenterprise *** reinhard has joined #gnuenterprise reinhard, great job you did on dropdowns/fk-stuff seems to be working quite well ... but i had a situation where it produced a dirty form (from the beginning) which i cannot get clean so ctrl-c was my friend johannesV: I know of some remaining problems btw. i'll change form-generation to reflect recent changes then if a prop is a 'info' property: do we set it as 'usual' fk-field (like a dropdown) but with 'label'-style, ... ... or should we add a for the dropdown-source including the info-field ? (the latter method produces that weird situation) the first one seems to work (i would tend to the first solution anyway, but i'm curious why the second isn't working as well) I would go the latter way actually have never even considered the first way that weird behaviour will be fixed ASAP (expect a fix today) ok I think the latter is less overhead but there should nothing wrong with the first one, since it uses the same fk-source, but just another fk-description right because it's a "normal" block that's the difference using fk- will produce th _allowedValues-dictionaries twice (at least) *** kilo has joined #gnuenterprise good morning good morning kilo hi reinhard kilo: we are *not* trying to tease you, btw ;-) i don't believe that 8-)) *** dimas has quit IRC *** dimas has joined #gnuenterprise F**** i cannot find a signal emitted by a gtk.Combo when the drop-down is closed, neither when it's opened can you somehow monitor what signals are emitted at all? johannesV: you will not get that signal. i've tried that also... reinhard: re teasing me DENNIS: Oh, King, eh, very nice. And how d'you get that, eh? By exploiting the workers! By 'anging on to outdated imperialist dogma which perpetuates the economic and social differences in our society. If there's ever going to be any progress with the... that's from the holy grail, isn't it? ayer kilo, i've now installed a 'catch and print all signals' ... and it seems i get something ... will continue hacking ... iirc it did not work like the docs said it should which docs ... *lol* they tell nothing about such a signal *** btami has joined #gnuenterprise hi *** holycow has joined #gnuenterprise no, i remember reading something about combo signals damn combos there seems to be really no signal emitted on popup/close of the dropdown ahh... i get a map-signal when it opens ... hmm mornin guys ok, map and unmap aren't the right thing ... cause they're only called once .. reinhard: your latest changes are great unfortunately they do not yet work in win32 dropdowns are refreshed every time it is gtk that does not work quite prfect ie kilo: there are other problems remaining as well 1. it does not work if there is a block assigned to the fk datasource 2. updating other info on the screen doesn't work when you select the empty line in the dropdown well btami has extensively tested your latest changes in gnue-invoice, in windows yep and? reinhard: if you have a test gfd, please let share, and i can test it on win32 too and win32 ui works great. if you edit a dropdown's choice list in a subform, when closing the subform the choises are refreshed automatically in the dropdown in gtk2 it is only true if you have selected a value from the dropdown and called the editor subform that way maybe there are errors (you probably know that better), but we were happy to see these changes what i'm actually targeting at is things like in appserver's sample.gfd two dropdowns for the same key (country code and country name) when you select in one dropdown, the other dropdown updates magically morning holycow have to go for kids, bbl *** btami has quit IRC *** cilkay has joined #gnuenterprise johannesV: I think we have to go the non-block way for info fields ok anyway, i cannot find a way to solve the combo-problem i don't understand why they have left such a signal even simulating such a signal is quite hard to do any other signal that could be used? something that is fired more often but still somehow sensible? * reinhard seriously considers adding a field.setValue to GFDisplayHandler.addText will it not fire field-changed triggers with every character you type? it will erm it should but appearantly it doesn't... and is that what you want? doesnt a field change only when you move away from the entry? no but I think it's closest to what I want currently yes sigh let me guess: you s*ck with dropdowns... must get something to eat bbl *** jcater has joined #gnuenterprise jcater: any chance you can have a look at my latest changes regarding dropdowns? I'll try but today is looking bad for me (I am in at 5:00am :) I'm looking at commit logs now so, if I understand this right you've basically made any fk datasources that are bound to a dropdown to force the datasource's current record to match the dropdown's current selection ? it looks non-intrusive to me (i.e., I don't see how this can break anything -- it only adds new capabilities) jcater: exactly that will enable forms to have several dropdowns or entries pointing to the same fk datasource and always be in sync with each other cool for example you have a country code dropdown and a country name dropdown both have the same fk datasource bah... you're all up early today? :) I was up an hour ago finsihed scotty's boat for sub scouts cub* hmmm hmmmm what would others think when every single keystroke in an entry would generated pre-change and post-change events? a) that's ok b) acceptable for dropdowns, but not for other entries c) no way, are you crazy? actually expanding on our naming convention that would be a 3rd trigger on-change I think i agree with jcater reinhard, what are the consequences of the option? the consequences are currently pre-change and post-change are more or less fired at the same time as pre-focusout and post-focusout it would be fired much more often then jcater: when would the on-change be fired? I mean ah, i would personally go with b, or perhaps be able to define it on a per field basis as an attribute? I can either call setValue on the field, or I can not call it if you had a large text box for inputing notes, that wouldn't be appropriate i guess but if you had a contact field, you could use the input for lookahead features say holycow: that's about the idea a large text box would probably not define an on-change trigger if its an attribute one can turn on, on a per field basis, i say wonnerfull ah okay holycow: i think you are actaully right about the attribute hmmm jcater: you still here? (sorry to bug you) kinda *** jamest has joined #gnuenterprise *** jamest has quit IRC *** johannesV_ has joined #gnuenterprise *** holycow has quit IRC *** johannesV has quit IRC *** johannesV_ has quit IRC *** johannesV has joined #gnuenterprise *** jamest has joined #gnuenterprise johannesV: dropdowns are ready for further beating^H^H^H^H^H^H^H^Htesting great but the 'empty'-record problem in the block isn't solved, is it ? no you can not use a block on the same datasource than a dropdown just about to document that in BUGS ok *** kilo has quit IRC reinhard: i think i've got another one ... use sample.gfd, start and exec query (f8,f9) change the country-code by typing AT (for example) then change the record (without leaving the entry, using the cursor-keys) you're still in country-code now type x and it changes to RUx (if the next records country code is RU) that's an old one i remember that from months ago *** btami has joined #gnuenterprise that's a GF-cursorpos vs. real-cursorpos issue hmm, but it seems as if there is an 'old' value flying around after pressing a new key the old value comes up again (old == from last record) ? you said it changes to RUx not ATx right, but RU is the code from the other record after moving to the second record and the moving back to the first one ah now i see, i haven't explained properly after moving back to the first i see AT, but after pressing x i see RUx *** btami has quit IRC reinhard: dropdown-problem should be solved now johannesV: cool, thanks I still can't believe we have *really* working dropdowns finally seem so :) but i think we're on the right way ... so the next big point would be that 'search'-stuff did you already fix that "committing empty master" problem? yes, an empty master get's commited automatically if a detail is pending i thought to remove that pending bug from common regarding gnue-schema (but i've to rework gnue-schema a bit) doing this i've planned to integrate dependency-checking too (so the order of definitions no longer matters) working dropdowns? like i did on gcd's jamest: sounds unbelievable, doesn't it ? :)) i don't believe it i can't believe it i WON'T believe it something has to still be broken jamest: please try to find something, and then - if you're lucky to do so - tell us :)) let my svn up as i had one i hit this week lets see if it's still there :) ok, thanks definately works differently as this form used post-change to apply a query filter now the query is immediate instead of upon exit which i think is good jamest: it is much more "responsive" against the user the only bad thing I could think of would be down arrowing thru the filters as long as you have the dropown in dropped condition it shouldn't issue a post-change for cursor up/down I wish you guys had an oracle install :) as my oracle is still fscked wrt dropdowns? or wrt something completely different? completely different ah still the same old problem then? yeah ui corruption sorry to hear that sounds really weird i was talking down arrow from a closed dropdown fwiw i'm not saying that's an issue jamest: ah yes that does browse through the allowed values for wx just generates a lot trigger firing if the use navigates like that but i like the behaviour better now and users will learn quickly not to do that in the form :) i think so, too fwiw the on-change is fired on every keypress *only* in a dropdown so yes, the issue I had was fixed not in a normal entry to be precise i still don't believe the dropdowns work it is fired on every keypress if the field has a fk source so the fk source can sync with the selection that would go against the laws of the natural order lol to keep you satisified 2 issues still remain 1. you can't use a fk datasource as a datasource for a block at the same time (but you can use the same fk datasource for several fields) 2. when the fk_description for one of the allowed values is empty, the text "None" is displayed in the dropdown :) now you won't use a forms-trigger to keep other fields of the fk-source in sync and this change is really a *good* change since it makes forms having less code i'm all for less code bbl *** johannesV has quit IRC *** johannesV has joined #gnuenterprise *** holycow has joined #gnuenterprise off for today l8r all *** reinhard has quit IRC *** wendall911 has joined #gnuenterprise *** wendall911 has quit IRC *** johannesV has quit IRC *** havoc has quit IRC *** johannesV has joined #gnuenterprise *** havoc has joined #gnuenterprise *** wendall911 has joined #gnuenterprise *** kilo has joined #gnuenterprise *** sjc has quit IRC @server kilo: tolkien.freenode.net jcater: i'm playing with Supybot at home. do you need to set the irc server name? i can't make it to log in *** jamest has quit IRC *** kilo has quit IRC *** wendall911 has quit IRC *** jcater has quit IRC *** jcater has joined #gnuenterprise *** ajmitch_ has joined #gnuenterprise Andrew! You need to save me from Reinhard! me? why me? Because you are the keymaster. The one holding the source. * ajmitch_ only just got networking going here :) The new Debian packages! oh And perhaps if I upload them, he'll shut up about them for a day or two. ;) ah good luck with that ;) Well, I was thinking the day or two would be the weekend when I'm not usually online. =) by the way, NX seems quite fast, even to home :) Are you used to a dialup line that people on the street regularily use for a latrine? IP by Avian carrier might feel fast to you. =) heh using cable here at the moment *** jamest has joined #gnuenterprise jamest! sorta ah more like jamest! lurking while cleaning house you poor chap He's always doing chores. it's an excuse not to fix bugs :) *** holycow has quit IRC *** jamest has quit IRC *** jcater has quit IRC *** ajmitch_ has quit IRC *** ajmitch_ has joined #gnuenterprise *** dcmwai has joined #gnuenterprise