*** kilo has joined #gnuenterprise good morning *** reinhard has joined #gnuenterprise hi kilo hello all good morning all quit oops *** btami has joined #gnuenterprise *** johannesV has joined #gnuenterprise good morning good morning *** yure has joined #gnuenterprise reinhard: as i'm reading issue102 in roundup, i feel with krizz the clear form button now gives an empty resultset, but most user want to clear the form (the last record you edited) and dont want to lose the last queried resultset but it is not "clear form" but "rollback", isn't it ? ? my users think it's an undo like button but they disappointed after clicking it btami: it might sound strange now to you, but I wholeheartly agree :) I would rather like to see an "undo" than a "clear" actually I can't see any advantage of "clear" against "undo" i find no usefulness of a "clear" button as it works now : yep hm, so what about transactions then ? undo might be tricky with appserver how to revert up to the last commit ? for 2-tier, undo can simply reset all records to original state if no "save" was before, why "clear" ? btami: would you think the "undo" should also start a new transaction? hmm.... actually it would have to sure so also changes from other users would/should become visible then? so we would have to requery anyway yep now if another user created a new record meahwile, would that new record be shown after undo? think a grid with 5 entries user changes one entry and hits "undo" after that grid shows 6 entries would that be what the user expects? why not? I have found it hard to predict what users expect :-) i think it should show the most recent state of the DB so yes, 6 rows erm entries so we would have to store the last query and simply redo it yes same would actually go after the commit i just gave the same feedback from our collegues (using inhouse app) ass krizz wrote i have some users who can handle situations like this s/ass/as :) as now after commit no new records are displayed the only question to remain is whether this breaks the holy sql*forms compatibility :) indeed i don't think we want sql*forms compatibility :) we want intuitive user interface and free whisky and world peace and free willy maybe, a new toolbar icon can solve the compatibility, if needed let's ask jamest/jcater about this in the afternoon or we could keep this functionailty and put a new icon there agree *** docelic has joined #gnuenterprise @roulette kilo: *click* kilo: *click* hmmm twisted, 2 revolvers firing the same time... :) :) scary games :) hmm we have some more peaceful ones iirc !coin @coin kilo: heads kilo: tails :) and @dice 2d6 @dice 2d6 kilo: 3 and 6 kilo: 4 and 2 :) *** dimas__ has joined #gnuenterprise *** dimas__ has quit IRC all who work with vim: I've committed 2 helpful files for your local .vim/ directory under gnue-common/utils/vim bbl *** btami has quit IRC *** dimas__ has joined #gnuenterprise *** jamest has joined #gnuenterprise reinhard: I wouldn't describe our goal as "holy sql*forms compatability" forms has already moved well beyond what sql*forms offered and broke several of it's bad designs well, replaced with several of it's own but having said that, I didn't get from the conversaion what is the problem with Clear? just the wording of that buttun isn't clear (no pun intended?) or the functionality isn't needed? I would agree "Clear" maybe isn't the best word to describe it to me "Revert to Database" or "Reset" or something might be clearer the basic point was that a function to undo all changes since the last save (but "stay" in the current resultset) would be more useful than replacing the current result set with an empty one and of course talking about "holy sql*forms compatibility" was only teasing :) i see that as 2 separate functions i wouldn't mind seeing an undo and clear used to be called rollback but users didn't grok the meaning i'm not sure how other places do it but here users will query something to edit it clear enter a new record yeah, same here I think it does make sense to requery on rollback of the block/datasource is set to auto-query, though jamest: I don't understand jamest: query something to edit it jamest: clear do they save in between? yes a better example so why do they clear instead of insert? i think it's mental, they want a clean slate to work with they also know with a blank screen they aren't accidentally changing a previously loaded record ah ok that's the same behaviour I see here I think then I see use for both undo and clear fwiw: users are completely oblivious to the MOD, INS, OK status bar i gave up trying to get them to use it I wouldn't call it "undo" though as I see a very real need to implement real undo behavior Refresh? f5 in Kate :) revert? Refresh / Reload / Revert revert is my favorite as I see it in a lot of editors I think the main focus is on forgetting what was not yet saved yeah and refreshing data from other transactions is only a welcome side effect and reload may have other meanings if the users don't back off so I think revert would be best "just a sec. I'm reloading" sigh speaking of which I have to drive to work bbi30m ok *** jcater has left #gnuenterprise and then you would still make "clear" destroy all unsaved changes? or would we clearly separate the function of destroying unsaved changes and clearing the resultset? *** CirrusImage has joined #gnuenterprise and "clear" would only have the function of making a query with 0 results? hi in my mind clear is nothing but a rollback and the current behaviour of not prompting for "save unsaved changes" is bad ok so we would prompt on clear? (FWIW, that's what I would prefer, too) it's what I do in my java sales system yes, no, cancel exactly btw, any ideas on how long till the next forms release? probably months one of my users started hitting a bug against triggers fired in buttons I think it might make sense to branch from the last 0.5 release if necessary for such kinds of bug fixes as forms will probably be a fast moving target over the next months we will of course use svn in house or so but I wouldn't install it to users HELLO :))) hi chillywilly hey, a of a cannot have a style "checkbox", can it ? I don't think so but I guess that's a remains of the days when was hm, so why do we use it in GFField then ? ok, that's what i was thinking too ... it probably should have moved to entry *** jcater_ is now known as jcater *** sacha has joined #gnuenterprise style is still in gffield? yeah now it's removed .. :) *** derek has quit IRC johannesV- just tried the wx26 uidriver on win32 and it looks great, except.. dropdowns don't seem to work CirrusImage, wxPython 2.6.2 is broken on win32 (wrt dropdowns) please use either 2.6.1* or 2.6.3* but i'm not sure if 2.6.3 really has all issues fixed that explains it yeah, i'm sorry, but i can't do more on that atm .. 2.6.3 is out for a couple of days right now so you might want to check that first 2.6.1 is known to work fine also, resetForeignKey() gives me an error TypeError: _updateChoices() takes exactly 2 arguments (1 given) ah, ok that one i can fix ... CirrusImage are you using svn or packages ? svn *** kilo has left #gnuenterprise ok calling from which trigger ? On-Action hm, works fine for me ... can you past the traceback ? s/past/paste/ Traceback (most recent call last): File "C:\Program Files\GNUe\bin\gnue\forms\uidrivers\wx26\widgets\button.py", line 81, in __on_button File "C:\Program Files\GNUe\bin\gnue\forms\GFObjects\GFButton.py", line 103, in _event_fire File "C:\Program Files\GNUe\bin\gnue\forms\GFObjects\GFButton.py", line 110, in __fire File "C:\Program Files\GNUe\bin\gnue\forms\GFForm.py", line 975, in refreshDisplay File "C:\Program Files\GNUe\bin\gnue\common\definitions\GObjects.py", line 252, in walk File "C:\Program Files\GNUe\bin\gnue\common\definitions\GObjects.py", line 252, in walk File "C:\Program Files\GNUe\bin\gnue\common\definitions\GObjects.py", line 252, in walk File "C:\Program Files\GNUe\bin\gnue\common\definitions\GObjects.py", line 249, in walk File "C:\Program Files\GNUe\bin\gnue\forms\GFForm.py", line 984, in __refreshDisplay File "C:\Program Files\GNUe\bin\gnue\common\events\EventController.py", line 152, in dispatchEvent File "C:\Program Files\GNUe\bin\gnue\forms\uidrivers\_base\UIdriver.py", line 394, in updateEntry File "C:\Program Files\GNUe\bin\gnue\forms\uidrivers\wx26\widgets\_base.py", line 188, in setValue TypeError: _updateChoices() takes exactly 2 arguments (1 given) I haven't tried it since I last updated a couple days ago CirrusImage, fixed in svn thanks for reporting ! please note that gnue-forms is undergoing massive changes atm as we are restructuring ... (designer too) johannes/reinhard, just fyi, designer has decoupled itself from the forms ui-drivers so changes inside uidrivers won't break designer jcater: this is good to hear *** yure has quit IRC hm, if a tag has a ValueSet defined, doesn't this raise an exception if one passed another value (than listed in ValueSet) ? i mean, i can do and nothing happens :) seems to be a bug in the parser instead in the trigger-function triggerSetCase() we do an assert(value in ('mixed','upper','lower')) which gets removed by optimization on installation I'd call this a deficiency of the parser there are several such tests the parser should do that it doesn't do that I'm sure our fine friends from Austria will fix :) ok, so if you all are ok with fixing it, i'll try to ... *** chillywilly has quit IRC *** chillywilly has joined #gnuenterprise johannesV: great am I right in thinking that a box is now a container widget *** SachaS has quit IRC so causes the field to really be at 10,20? (or 11,21 ... whichever) or am I imagining this? I'm not sure what would you think makes more sense? to me, if box is going to be a container object any children's layout (whether char-based or other) should be relative to that container that just seems intuitive to me a box may not be a container object at the moment, though but I swore siesel added that feature (I guess I can look :) *** k-man has quit IRC okay, it appears it does not support that *** johannesV_ has joined #gnuenterprise currently a box is derived from GFContainer, but it was never used as such so it does not map positions box, last I knew, also always showed up on screen *** johannesV has quit IRC so it'd suck up screen space unless we dropped the border jamest, right, that's it's only use atm okay, I know this is something that was talked about at length a few years ago, but it didn't change jamest: yeah, I wasn't saying box should be *the* container but should box be *a* container oh, yeah i think a box should be a container after doing all the stuff wrt layoutmanagement where i can imagine having a ... being a box with a border and a label, and a being a box without a border and label but it should be always the parent of and other stuff the like bbl *** dimas__ has quit IRC *** derek has joined #gnuenterprise http://burrowburrow.com/robots/goat.html lol I need that for my front yard (wife would kill me, but it'd be worth it) *** derek has quit IRC *** derek has joined #gnuenterprise jcater: can't you just tweek the truck on blocks a bit? add horns or something? good point *** k-man has joined #gnuenterprise *** yure has joined #gnuenterprise oii yure hy docelic *** johannesV_ has quit IRC *** sjc has joined #gnuenterprise cu all *** reinhard has quit IRC *** CirrusImage has quit IRC *** yure has quit IRC *** kilo has joined #gnuenterprise *** derek has quit IRC *** derek has joined #gnuenterprise *** jamest has left #gnuenterprise *** derek has quit IRC *** derek has joined #gnuenterprise *** kilo has left #gnuenterprise *** k-man has quit IRC *** jcater has quit IRC *** k-man has joined #gnuenterprise morning all *** jamest has joined #gnuenterprise *** derek has quit IRC *** derek has joined #gnuenterprise *** sjc has quit IRC *** derek has quit IRC *** sacha_ has joined #gnuenterprise *** sacha has quit IRC *** derek has joined #gnuenterprise *** derek has quit IRC *** sacha__ has joined #gnuenterprise *** sacha_ has quit IRC *** ncjp has quit IRC *** jamest has quit IRC *** sacha_ has joined #gnuenterprise *** sacha__ has quit IRC *** sacha_ has quit IRC *** ncjp has joined #gnuenterprise *** k-man has quit IRC *** derek has joined #gnuenterprise *** docelic has quit IRC *** sacha_ has joined #gnuenterprise *** sacha__ has joined #gnuenterprise *** sacha_ has quit IRC *** sacha__ has left #gnuenterprise *** sacha has joined #gnuenterprise *** bigbrother has joined #gnuenterprise *** chillywilly has quit IRC *** bigbrother_ has quit IRC *** chillywilly has joined #gnuenterprise *** sacha has quit IRC *** sacha has joined #gnuenterprise *** weex has joined #gnuenterprise