From: jeroen <je...@fo...> - 2001-07-31 01:39:02
|
On Friday 27 July 2001 21:01, you wrote: > In a recent reply, you told me that my "keyboard problems may have > something to do with some differences in how focusing works on Windows vs. > X11." > > I have brooded on this reply for awhile and now I ask: Do you not consider > this a serious design flaw? "Write once, compile anywhere" is meaningless > if you get different behaviour on each platform. Identical behaviour is the goal. However, getting there is proving to be a lot of work. We can ensure FOX widgets behave more-or-less the same, when given the same messages by the underlying system. Of course, under X11 we need to deal with various window managers, focus models, and so on, which are not under our control; under Windows, we must deal certain ideosyncracies as well, and not all of them are equally well documented (necessitating experimentation to find out the truth). > I hope this doesn't make you angry, but I would really like to know if > differences in behaviour on different platforms is considered something > that needs fixing. Yes, that's what I'm doing. > The core of the application I am working on contains a grid of > miscellaneous widgets. I am attempting to move left/right with tab and > backtab. I am attempting to move up/down with the up/down arrow keys. > This is simple with text entry widgets, but when FXMenuButton and FXCombo > are added to the mix, I find focus taking on a life of its own. Both the > menu button and combo seem to be swallowing keystrokes and changing the > message sender arbitrarily. I find work arounds on Windows that don't > work on Linux, and vice versa. I also find that these widgets are not > keyboard friendly, and appear to have been designed only for use with a > mouse. I am working on the popup menus now and hope to come to a solution for this in the next couple of weeks. - Jeroen |