Bug #79072 [Linux]Assume Glib option command line
Submitted: 2 Nov 2015 12:20 Modified: 7 Feb 2018 10:35
Reporter: Louis de Gaulle Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Workbench Severity:S4 (Feature request)
Version:6.3.5 OS:Linux (Gnome desktop)
Assigned to: CPU Architecture:Any
Tags: option --g-fatal-warnings is ignored and cause return

[2 Nov 2015 12:20] Louis de Gaulle
Description:
It is good to be able to pass glib parameters to run and debug Gtk+ applications

When launching mysql-workbench with glib common commandline options an error occure.

How to repeat:

$] mysql-workbench --g-fatal-warnings
[2 Nov 2015 12:22] Louis de Gaulle
More infos on how to debug Gtk application
https://developer.gnome.org/gtk2/stable/gtk-running.html
[2 Nov 2015 13:14] Louis de Gaulle
Here a patch to assume the glib/gtk common command line options

gtk_init(&argc, &argv); is the key of the whole

Now we can debug/catch some error like : (mysql-workbench-bin:3645): Gtk-WARNING **:
[2 Nov 2015 13:15] Louis de Gaulle
nop

Attachment: options.patch (text/x-patch), 623 bytes.

[2 Nov 2015 13:16] Louis de Gaulle
All the trick

Attachment: options_init.patch (text/x-patch), 388 bytes.

[7 Feb 2018 10:35] MySQL Verification Team
Hello Louis de Gaulle,

Thank you for the feature request.
Please note that in order to submit contributions you must first sign the Oracle Contribution Agreement (OCA). More details are described in "Contributions" tab, please ensure to re-send the patch via that tab. Otherwise we would not be able to accept it.

Thanks,
Umesh