Hi Alessandro,
I'd suggest that failing silently is probably the worst situation for
the user, and the code-guidelines should be updated.
The user thinks they're getting what they want and instead their request
is being ignored. These sorts of things usually lead to users wasting
lots of time trying to figure out what's wrong when all that needs to
happen is to tell them (we've all had it happen to us I'm sure).
Just my 2p.
Cheers,
Jonathan
On 24/11/2015 08:58, Alessandro Pasotti wrote:
Hi,
I didn't find much on coding guidelines and I'm not sure about what to
do, it seems that this is treated differently in different parts of
the code.
An example:
in the vector layer configuration dialog, the user can enter ad UI
file for the custom form, if the specified file does not exist it is
simply ignored (no errors or warnings are shown to the user).
Being in a GUI context, I think that warning the user about a
not-critical misconfiguration would be the right thing to do.
Do we have any convention or best practice to follow in this case?
--
Alessandro Pasotti
w3: www.itopen.it <http://www.itopen.it>
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer