JoseExposito / touche

The desktop application to configure Touchégg
GNU General Public License v3.0
543 stars 26 forks source link

Feature request: Be verbose on errors, and quit on errors instead of beeing stuck without UI. #50

Open dreirund opened 2 years ago

dreirund commented 2 years ago

Is your feature request related to a problem? Please describe

When I start touche with a touchegg.conf which has invalid XML, touche does not show a GUI but also does not quit, and shows only unspecific error messages.

Example:

Describe the solution you'd like

Additional context

Issue #48.

JoseExposito commented 2 years ago

Thanks for the detailed feature request.

Definitely something needed, some users might not know how to run it from terminal and end up with no feedback.

dreirund commented 2 years ago

... I just see that the error message I posted above does indeed show the position in the touchegg.conf where it encountered the error. I did not notice that in first place, because the error message was so loaded with other stuff that it was not clear for me what to watch out for.

It would be helpful if it would say something precise like Error parsing XML in file <filename> at line <x>, character <y> or so, and without all that JavaScript-stuff.

Yes, and a graphical dialogue window with error message as well, you are right.