World: r3wp
[!RebGUI] A lightweight alternative to VID
older newer | first last |
Ashley 19-Mar-2006 [3133] | Because those issues are important to IT folks and totally irrelevant to most real world users? ;) Most users don't even know they *can* drive a GUI via the keyboard, and if they click on a drop-list they *will* pick an item, even it's a blank "no selection" choice (I always have the first item of my pick lists as an empty string so users can easily click their way out instead of having to press ESC). As an aside, what most of my customers were complaining about, until recently fixed, was the fact that drop-lists didn't scale to fit the most items possible ... something no-one here even noticed! ;) |
Graham 19-Mar-2006 [3134] | Need request-file/keep .. have to comment out rebgui's request-file because it lacks this. Thanks. |
Ashley 19-Mar-2006 [3135] | Issue#47 ... raised by ... Graham. ;) |
Pekr 19-Mar-2006 [3136x4] | Ashley - that is simply rudiculous. I have 300+ users at my sight. Those type data into system. You really depreciate the fact how ppl use computer - the mouse is waste of time, totally ... |
well, drop list is not good example of how to use gui via keyboard, I do agree :-) our users are not typical users maybe, as they come from terminal SAP R2historically, where there was no mouse :-) | |
my complaint to drop-list is, that it is kind of menu ... and in rebol it is driven via show-popup? And that is broken .... I am used to close menu by clicking somewhere else .... it happens occassionally, when I unintentionally press right mouse button etc., and I really don't want any option to be selected ..... so I just move mouse out of the menu, and do a left mouse press ... not so with rebol .... | |
ctrl + tab not even being trapped by rebol view engine is total fiasco and I was slammed for that one pretty hard ... | |
Ashley 19-Mar-2006 [3140] | If the mouse is a waste of time for your users, then they don't need a GUI. Just deliver data entry functionality via a console type application. My users [medical] make extensive use of TabletPCs so no mouse / pen is a bit of a deal-breaker for me. ;) the mouse is waste of time, totally ... so you don't use a mouse for file management (File Explorer) or browsing? And of course you don't need one for Paint type operations? Not everyone who uses a computer is doing pure keyed data entry. Different strokes for different folks. Anyway, I'm gradually adding keyboard support to RebGUI as time and REBOL fixes permit; but it's not high on my list of priorities. |
Pekr 19-Mar-2006 [3141x4] | File management? Ah no, you Windows users :-) I would really like to see a video, how one can work effectively using such sh*t like windows explorer :-) No, I do use Total commander, totally without single mouse press .... |
and don't try to suggest type of application for my users :-) With our past system (now they use SAP R3 and they do complain), they used GUI Visual Objects based app - no keyboard, maybe unless they wanted something from menu - all forms plus grid were keyboard driven - they complained, if some form contained something requiring them to touch mouse .... | |
I am not saying anything - if it works for you, well then. But - it does not work for me. I point to the issue of weak keyboard support for years. And I know MANY ppl who comlain for rebol not being OS friendly. Just go into OS-X group and look what Geomol says about proper OS support. I think that ppl are forgiving to a bit different look, but not to non-os-compliant behavior ... | |
and as for browsing - yes, I very often use keyboard - to open new tabs (ctrl t), typing search phrase, pressing arrow down (=pointing it to google) .... or simply using "find as you type", enter, backspace for navigation :-) But that is available in Mozilla/FF | |
Graham 19-Mar-2006 [3145x2] | We have the Rebgui sources .. we can add support as needed if Ashley is too busy, or we can wait for his schedule. |
If rebol doesn't support it ... better to hassle Carl instead. | |
Pekr 19-Mar-2006 [3147x2] | we can't - what you do to switch between tabs, where os uses ctrl + tab, = combination, which rebol does not catch under the hood? |
I give up - I hassle them for years, meeting the barriers as Holger, or Gabriele, trying to explain me, that universal keyboard cross-platform manager is not easy to introduce ... well, I don't care, because I don't think, that rebol should support only the lowest common denominator of features ... it should play nice with the host os | |
Graham 19-Mar-2006 [3149x2] | is this relevant to RebGUI ?? |
If Rebol doesn't support it, then no point mentioning it here ... | |
Pekr 19-Mar-2006 [3151] | it started with ctrl + B for bold .... so I mentioned I want ctrl + tab, and ability to close menu clicking elsewhere ... at lest the second one is in our hands, but rather complicated, if I understand the problematics correctly |
Robert 25-Mar-2006 [3152x3] | Yesterday I had a phone call with Christian Ensel and we talked about how to add more eyecandy to RebGUI. As the RebGUI architecture is becoming more and more stable, how about thinking about a simple and lightweigth skinning system? |
Our idea was to seperate the visual aspects of the widgets into something like an own LOOK context. We don't want to made the current widgets much more complex. Then RebGUI loads the rebgui-widgets.r and rebgui-look.r and you either get Mac, Win or whatevery style you want. | |
Ashley, do you think this is possible or will it be to complex? | |
Ashley 25-Mar-2006 [3155] | That's a pretty good approach actually, much like the way locale is currently handled. Also fairly easy to implement now that metrics / colors / effects have been centralized. I'll look at adding this to the next build. |
Pekr 25-Mar-2006 [3156x2] | my vote - go for it ... apart from solid grid/table style, it is a bit uniformly (XPish) looking, although latest global changes + effects ability helped it ... |
guys - but what about solving that event problem - I noticed that in VID, you are able to close pop-up menus by clicking elsewhere ... in Rebgui not .... I thought it is View low level problem, but now it seems it is not ... | |
Ashley 25-Mar-2006 [3158] | 0.4.1 is out and is predominantly a maintenance release. From a REBOL/View console: do http://www.dobeash.com/get-rebgui.r do view-root/public/www.dobeash.com/RebGUI/tour.r Main changes include: - set-sizes, set-colors, set-fonts added to global context - CTRL-A fires action in text-list / table 'multi mode - radio-group, led-group, check-group now auto-size vertically - layout now handles false (logic!) correctly - effects, sizes and colors can be loaded at startup via like-named dat files (simple skinning system) - Minor documentation updates to reflect above changes |
ChristianE 25-Mar-2006 [3159x4] | Pekr, I promise I have this on my list; I'd like to do so, too! But the problem with events is that you'll have to deal with problems in any event ;-) |
WRT to look'n'feel, yes, I think that since most RebGUI widget largely depend on draw blocks, it should be possible to put them in the LOOK context Robert already mentioned. And by splitting one draw block in up to a hand full at most even for complex widgets, with some luck you may also make code even more readable and maintainable than it is already by seperating e.g. init-only, redraw on every REDRAW and redraw on resize stuff into named blocks, which together build an effect as in [draw [...constant drawings ...] draw [... state dependend stuff ...] draw [...etc...]] I have this in some experimental widgets I build to examine and get used to RebGUI done this way without noticeable loss of performance. With the EFFECT/DRAW/17: BLACK and EFFECT/DRAW/31: 2 * UNIT-SIZE approach one has a hard time to understand what's going on a week after you wrote some widget and carves his widgets into stone since one will never be bold enough to make only modest changes to the drawing sequences later ... | |
Iiiik, who is it complaining on lengthy draw blocks here and building up sentences like these at the same time ...;-) | |
Finally, Pekr, since I know you're really concerned because of the current pop-up menu behaviour, you may happen to have an oppinion on how over events for e.g. buttons are to be handled while a menu is currently open, too. I think I don't like them to change their look by simple hovering, because that would suggest that one click will be enough to trigger a button's action. But do you think that it shouldn't work this way, too? Or do you like the first click next to a menu should make the menu go away AND trigger the button instead of getting eaten? I haven't really made up my mind on this, and I think that even some well know user interfaces are inconsistent in handling this (even though I've never studied that systematically, just writing from memory). | |
Ashley 25-Mar-2006 [3163] | On the draw block comments I agree 100% ... I'd like to refactor *all* draw block code into a central container where it can live side by side with SVG code [once we have RebGUI support for that]. |
Graham 25-Mar-2006 [3164] | next update - can we change request to rebgui-request-* |
Anton 25-Mar-2006 [3165] | I prefer "click-through", the single-click is not eaten. I get really annoyed when my click events are eaten just for some application refocus. |
Graham 26-Mar-2006 [3166] | Looks like there's a start http://trac.geekisp.com/rebgui |
Ashley 26-Mar-2006 [3167] | Jaime has kindly agreed to host RebGUI as an SVN / Trac project and our intent is to open up both the code and documentation to full collaborative development and revision control (as a large number of people have requested in private correspondence to me). A fair bit of work is required before this can "go live" (I still need to familiarize myself with these "new" technologies), but I'd hope to have something in place within a week. Full details will then be announced. |
Pekr 26-Mar-2006 [3168] | ChristianE - just don't complicate things and do it the way other OS compliant apps do it - there is no need to come up what we think would be the best, because the next guy may not like it anyway ... |
ChristianE 26-Mar-2006 [3169x2] | Hi Pekr, I don't understand, sorry. I think that even OSes are inconsistend there. My personal taste would be some event eating, but I have what others like. Actually, I'm used to one single OS Windows, forgotten how Intuition did such things on Amiga and know nothing about Unix, Mac and such. That's why I'am asking how OSes do it. |
Promising much too much here: "but I have what others like" = "but I have no idea on what others like". Sorry. | |
Pekr 26-Mar-2006 [3171] | well, so we have altme, even with file-sharing, and we are moving to clumsy web methods? :-) |
Graham 26-Mar-2006 [3172] | Pekr, I presume you have lots of experience with this tool to make this comment. |
ChristianE 26-Mar-2006 [3173x2] | Ashley (and others): As RebGUI is designed to stay short and clean, chances are, that users want to do own custom styles which aren't subject to become part of the standard distro but rather be added on a per project basis. With the latest change to e.g. SET-SIZES, I for now don't see how to do that in a compatible manner: In case a user likes to have his widgets respond to unit- and font-size changes as the standard widgets do it looks like one has to patch SET-SIZES, or am I missing something? You reset all standard widgets there in one central location, which is very elegant, but it looks as you have no chance of knowing about styles added later with CTX-REBGUI/WIDGETS: MAKE CTX-REBGUI/WIDGETS [... new widgets here ...] BIND IN CTX-REBGUI 'SELF May I suggest some mechanism in the widgets FEEL, something like RESET or RESIZE, which simply get's triggered from within SET-SIZES for all widgets. A RESIZE feel function would have the benefit of keeping simply size-changing-related calculations out of the usual REDRAW which I'd prefer to be reserved for rapid state changes thru user interactions and content changes. Then, in SET-SIZES you'd simply do some FOREACH WIDGET/WIDGETS [WIDGET/FEEL/RESIZE WDIGET NEW-SIZE WIDGET/FEEL/REFONT WIDGET NEW-FONT] On the other hand, I'm sure you had good arguments on why not to feature an explicit resize and refont mechanism. But me I never understood why e.g. RESIZE wasn't in VIEW/VIDs shared FEEL contexts, too, and now I'm facing kind of a deja vu with RebGUI ... ;-) |
Currently, every widget has to be prepared for window-, unit- and font-size changes at any time when redrawing. I'd expect them to be handled easier and even faster if they'd be slightly more explicit. But, as I've said, I may be missing the point here. Eventually you'd simply suggest to do redraw: func [face action event] [ if face/size <> face/old-size [face/feel/resize face] if face/old-sizes <> sizes [face/feel/rescale face] if any [ face/font/old-font <> face/font face/font <> face/old-font ][ face/feel/rewrite font ] : ] But it would be kind of boring to so in every single widget. (Just thinking out loud) | |
Ashley 26-Mar-2006 [3175] | Yet again a suggestion I agree with 100%. ;) By way of explanation, the current system evolved from being completely static (all metrics / colors known at object creation) to one that included dynamic offset / size changes (#HWXY directives) and only just recently dynamic control over metrics / colors (and as indicated with the previous discussion on centralized / shared draw blocks - it still has some way to evolve). |
Pekr 26-Mar-2006 [3176] | Graham - first- I was just making fun without even looking into the site, watch the smiley (altough I noticed I am overusing them). OTOH I really don't like wiki systems, because most of the time, they are not UI clean for me ... it exposes its interface all around. The site provided though seems to have nice design ... |
Ashley 27-Mar-2006 [3177] | The first step to getting the collaborative documentation up is to migrate the widget specific documentation across; and this gives us the opportunity to reformat and expand upon the content. But what template to use? If you have an opinion on this then cruise along to http://trac.geekisp.com/rebgui/wiki/WidgetList#areaand click "Edit this page" to play around with the content and formating of this single entry (area). Once we are happy with the format I'll use it as a template to bring across all the other widget descriptions. |
Graham 27-Mar-2006 [3178] | Can you make it so that each widget drills down to the source for that widget? |
Ashley 28-Mar-2006 [3179] | In the works. I've already restructured the source by removing each widget (from %rebgui-widgets.r) to its own <widget>.r file under a new %widgets/ directory. Next step is to create a link to each source file under its matching WidgetsList Wiki entry. I've also created a monolithic script (striped output from prebol.r) which resides at: http://www.dobeash.com/RebGUI/rebgui.zip The intention at this stage is to have multiple source files that can be collaboratively worked on, with a "build" every so often to merge them into a single script for easy access / deployment (not everyone will want to grab the source from SVN). The fact that each widget resides in its own source file now makes it very easy to "plugin" additional widgets. |
Graham 28-Mar-2006 [3180x2] | I guess this means that other widgets that have not been "approved" can be uploaded .. but not included in the final distribution until finalised. |
svn can also be setup to allow alternate distributions ... | |
Ashley 28-Mar-2006 [3182] | Yes to the first question, with six widgets not making the cut (I'll upload them later): area2 (area plus horizontal scroll ... does not work correctly) auto-fill (needs to be reworked) list-view (code needs a bit more work) spinner (not completed) icon (awaiting SVG renderer code) svg-tool-bar (awaiting SVG renderer code) Alternate distributions: let's keep it simple for the moment ... |
older newer | first last |