*** ajmitch_ has joined #gnuenterprise *** ajmitch has quit IRC *** ajmitch_ is now known as ajmitch *** btami has joined #gnuenterprise good morning *** johannesV has joined #gnuenterprise good morning *** ajmitch_ has joined #gnuenterprise *** ajmitch has quit IRC *** reinhard has joined #gnuenterprise good morning all *** kilo has joined #gnuenterprise *** ajmitch_ has quit IRC good morning *** johannesV_ has joined #gnuenterprise *** johannesV has quit IRC *** johannesV_ has quit IRC *** johannesV has joined #gnuenterprise *** yure has joined #gnuenterprise btami, it looks like i can fix that dropdown-problem ... great *** btami has quit IRC ok, that's another bug removed from the new wx26 driver ... if anybody finds another one, please let me know *** jcater has left #gnuenterprise *** sjc has joined #gnuenterprise *** jamest has joined #gnuenterprise *** jcater__ is now known as jcater *** yure has quit IRC *** klasstek has joined #gnuenterprise *** yure has joined #gnuenterprise *** derek has joined #gnuenterprise bbl *** derek has quit IRC *** derek has joined #gnuenterprise *** derek has quit IRC *** klasstek has quit IRC *** klasstek has joined #gnuenterprise *** btami has joined #gnuenterprise johannesV: if you click on a tab in a multi-page form, it loses the focus and selection with up/down keys from a dropdown doesn't work yet just with Shift+up/down but it's not intuitive, imho and enter key doesn't selects too in the dropdown (wx26 on XP) bbl *** btami has quit IRC *** klasstek has quit IRC *** klasstek has joined #gnuenterprise *** johannesV has quit IRC *** johannesV has joined #gnuenterprise btami, i thought it is the standard behaviour of the wx.MSW-Control (using Shift+UP/down); so i've created a sample-app (wx) to double-check it, and ... well, there i could use the up/down keys without shift-key to navigate within the popup ... so I'll try to figure out what our uidriver is doing wrong there ... I guess it's the form catching the keypress before the UI gets it no, i've just added a debug-print to the __keypress signal handler it does not get anything since it works fine for gtk and osx ah oh (at least gtk) hm, something is eating keypresses ... * jamest offers johannesV and reinhard a chair fwiw, this very issue was the main reason we split away from using wx into all the more-targeted UI libraries iirc welcome to our (wx) hell we hope you like it here i'm sure i'll find that hungry bastard ... :) looking at a simple wx.app using a dropdown (constructed the same way, binding the same eventhandlers) works just fine on wx.MSG erm, wx.MSW so i'm sure it can be working well in gnue-forms too :) atm, i'd say creating the wx26 uidriver wasn't really hard (after learning and understanding wx) which is the real hard work (as it is so much ...:) oh my god ... it can't be that simple * johannesV double-checking ... great, i've found out why up/down does not work for dropdowns on wx.MSW it is the menu-item for "next record" and "previous record" which are bound to up and down keys on wx.MSW the menu seems to have a higher priority than the current control - so the keypress is eaten by the menu !! that's all i'm going to change gnue.conf for another double-check now yeah, that works :) btami: to get up/down for dropdowns working on msw, change the "key_PrevRecord" and "key_NextRecord" in gnue.conf (as an intermediate solution) i'm not sure if it's possible to get things working internally ... will drop a message to the wx list though that reminds me that I have never liked the cursor keys being bound to record navigation I feel it's plain wrong to have the cursor keys bound to a menu item as a hotkey at least it's very problematic in this case there are quite a lot of controls that use cursor keys natively you mean up and down arrows for next/prev record multi line edits, dropdowns, radio buttons (that we don't have anyway) jamest: yes and we will either break that native behavoiur (like it is now with the dropdowns) or it will be impossible to go next/prev record when the focus is on such a control, because the control will eat the keypress yeah, i'm pretty sure that was an oracle forms emulated behaviour at least I recalled oracle forms working like that so matched it what would you replace those keys with? not sure an F-key block of 4 keys matching first, prev, next, last might be an option, but that would mean to redefine other f-keys, too alt cursor keys might be another option i think my users would hate that the fkey block alt home and alt end could even be first/last i could live with the alt-curs-up|down setup i imagine as it would require little new learning for the people here and alt left right could work same as shift-tab/tab i imagine however alt cursor keys are not available on curses AFAICT alt left right might be useful to change tabs *** derek has joined #gnuenterprise what is the key for that currently? ah yes, pgup/down no page-up/down is next/prev block oh to change tabs one has to use ctrl-page-up/down my favorite mapping is F11/F12 I thought the blocks were a matter of logic, not a matter of cursor navigation ah, not F11 that's used by the window-manager on os x F12 == new record that drives me crazy whenever i'd like to rollback F11 = rollback two functions that shouldn't be anywhere near each other on the keyboard alt cursor keys could be pretty intuitive for record navigation actually alt up/down = next/prev but the F keys never were meant to stick alt home/end = first/last alt insert = new record alt delete = delete record though I'd like to see F6, F8, F9 stick and maybe rollback should be alt-f6 or something f9 is not available on os x too :( sigh well, it is available of course, but it's already used (although it's changeable) i wonder if we'll need environment specific mappings most probably dvorak mapping baby ;) I would really prefer alt keys like listed above reinhard: i never liked block navigation i think that there is a way in a block to turn that off but you have no alt keys on curses yes, that alt-mapping sounds not bad right but I think breaking all key bindings is something we'd also want to save for 0.6 well, again forms wasn't really targeting consistancy across all frontends just to that front end jamest, you mean 'front end' in the sense of an 'uidriver' here ... yes maybe we really should consider having a per-os-mapping of keys I can imagine people in a mixed environment killing us for that but better would be to have most functions using the same keys (think of my brother) yeah just think of *me* well, we could put "rollback" on mac where "commit" is on win *evilgrin* ;-) i've got a winxp on my left, sitting in front of a gtk2 and having an os x on the right side on the same desk :) hehe iirc oracle forms did difffernt key mappings for different vt terms and you could override them if you wanted consistancy reinhard, better to have that keybindings changing randomly during the day :)) lol i just don't see us finding one magic keybinding set that works everywhere reinhard, is Shift+up/down ... available on curses ? depends on the terminal afaict, on most terminals it's scrolling back and forth in the buffer err not true, that's shift-pageup/down anyway ... that isn't much better (if i think of a multiline edit) shift cursor keys are moving while highlighting where shift+up/down would select up/down to the next line reinhard: what about something along the lines of emacs keybindings for curses I was going to propose a vim mode for multiline edits ;-) *lol* of course with syntax highlighting and automatic indenting would be nice for writing triggers in designer ... not so sure whether i'm still joking or not, actually :-) that'd be something for 0.6 then :) ok, have to run now ... i thought designer did highlighting? have a nice evening l8r will backread logs tomorrow good night all *** johannesV has quit IRC jamest: I have no idea, never actually used it :-( *** derek has quit IRC it does plus I've been working on designer a lot this weekend expect some mm, mmm goodness jcater: I saw your huge commits, and it's great to see you back gnue'ing again jcater: what's your take on layout management? will it cause problems for designer? reinhard: designer currently uses forms wx ui driver to render the form (unless something radically changed) ah so basically as long as the wx driver can render it, it will be not a big problem? and iirc it also links into the events from forms to capture focus events to know what is beign edited that's how it used to work *** klasstek has quit IRC *** klasstek has joined #gnuenterprise reinhard: no should be a big deal well, only from the same standpoint that all UI designer packages face i.e., how to present to the developer a good interface for designing layout management I see jamest: I may move away from that though from a coding standpoint, it is great as when a feature is added to forms then designer automatically supports it of course, wx won' won't let us capture all events on an object consistently enough so it makes the designer experience "lacking" i hadn't noticed :) so I'm experimenting with drawing the controls myself jcater: maybe wx2.6 has become better on that not really actually stuff that I could get away with in 2.4 won't work in 2.6 *** derek has joined #gnuenterprise * jcater found out the hard way this weekend :) jcater: do you ever find out things the easy way? that extra weight I gained in the late nineties came about pretty easily my experiments into making the layout-editor OpenGL based didn't go so well reinhard: fwiw, I'm not changing too much how designer works with forms as I know you'll be changing some stuff I'm working more on the designer code base itself as designer was designed to be able to edit any GObject-based structure and I have a lot of GObject-based stuff in-house jcater: let me guess you found out the hard way that getting that extra weight off isn't easy, the hard way ;) lol * jcater hides the bag of skittles on his desk * derek hides his bag of m&m's and calls a truce :) reinhard: what are your plans for LinuxTag in Wiesbaden? Do you know yet how you will get there? *** yure has quit IRC sacha: I will be there, but I don't know yet which days most probably rather towards the end than towards the beginning good night all *** reinhard has quit IRC *** derek has quit IRC *** ajmitch_ has joined #gnuenterprise *** ajmitch_ is now known as ajmitch *** jamest has quit IRC *** klasstek has quit IRC *** kilo has quit IRC *** sjc has quit IRC bah moo