|Started by ccc2, May, 14 2018 1:50 PM - 10 replies|
Posted on May, 14 2018 - 1:50 PM
is gui error useful . to me most of time is just generate necessary noisy .
Posted on May, 16 2018 - 2:32 AM
On my side, it's always on, and never a hassle, as I correct the errors as soon as they are displayed, like all other compiling errors.
My target is to ALWAYS have an empty list of errors and warnings in all projects... And if you work on each individual small problem as soon as you get a message, it's very easy...
An advantage of working like that is that any NEW problem is immediately clearly visible (and therefore easy to correct), as it is not swimming in a sea of old, non corrected ones.
Posted on May, 16 2018 - 8:43 AM
you can switch off the GUI errors and that's it. Sometimes it gives hints to badly designed controls, to short-spaced controls for captions ..
Posted on May, 16 2018 - 2:05 PM
If it generate what you consider unnecessary noise, it means, in my experience, that your UI is full of problems that you should definitely look at...
Posted on May, 16 2018 - 3:48 PM
Yes, it's very useful, but there is a lot of noise. At some point during the dev lifecycle you'll need to consider the issues raised and I think what you're getting at is that you need to "filter" all that "noise".
I tend to review the GUI "noise" periodically because it's a hassle having to re-build the project every time you switch it on/off.
Posted on May, 16 2018 - 10:38 PM
if I start a new project, I do the analysis first. I f that looks 95% fine then I let it run a full project RAD. I have to because we're using RAD11 / MDI as a standard and this is the only way to get MDI windows when generating a new window for the project. This RAD run generates about 200 to 300 windows AND about more than twice of that number in GUI errors. So, I can understand ccc2's complaint.
But. The GUI errors tell you things you woudn't get from warnings and compilation errors. It tells about double shortcuts on a window, double links to file items. It's possible to switch off the most annoying ones (e.g. "the caption in German doesn't fit a control") which is sometimes true, but not very often.
Posted on May, 17 2018 - 12:33 PM
I not sure about others the detection problem getting worse when you upgrade project from previous version.
on 100++ report it prompt text size too small . what the is gui compiler problem , all report show correct (no overlap ) and print out correct . if i change then it will be wrong . tell me what should I do to satisfy gui compiler?
Posted on May, 17 2018 - 12:43 PM
As you know, I'm not using the RAD, so I don't have your problem, but I would have thought that rule 1 in your cookbook would have been to remove all the GUI problems, so that the field is clear for more important problems... Again, maybe it's just me.
I'm pretty sure that the error message is not simply 'text too small', as error message have a tendency to be much more verbose, so I wont be able to help you with so little information.
Posted on May, 17 2018 - 4:01 PM
Hi Fabrice, yes, it's rule zero :cheers: ... the cook book deals with each type of the RAD windows and of course, one should leave a window only after all errors are gone. We do not delete all errors in the project from start because full app RAD generates lots of windows and reports which aren't needed at all. Fixing of errors in windows which would be deleted anyway is not a sensible way to deal with precious work time ...
However, what I wanted to say is that RAD11 produces hundreds of GUI problems on its own ... ok, it's from times without GUI errors, excused ...
Posted on May, 18 2018 - 8:09 AM
I found another bugs when upgrade from older version of wd project
item control "link to " if leave blank will cause problem cause in new version blank will be treated as <not found or not compatible > where it suppose to be treat as <none>
Posted on May, 18 2018 - 9:56 PM
I think GUI errors are very helpful. I keep them on all the time and fix them all before moving on. They help keep the app more user friendly. For instance, I often copy a button or other control, modify it, but forget to modify its help to comply with its new function. GUI error wakes me up. Also it wakes me up if the control's prompt is too short in one or more languages. Small things like that, but very important for the user.
But it is true that in some cases there may be a devastating amount of "errors", especially when upgrading an old app to a new WX version. But then I just have to take the time and fix all of them. Also, as I am using templates a lot, they always generate some "default" errors when some variables are referred in the template code, but not really in there until they are added in the generated window manually. These I just turn off.