Bug #106427 Gtk-CRITICAL ** gtk_container_foreach: assertion GTK_IS_CONTAINER (container)
Submitted: 9 Feb 2022 19:19 Modified: 14 Feb 2022 12:29
Reporter: Alex Carol Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:8.0.28 OS:Linux (Ubuntu 20.04 x86_64)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[9 Feb 2022 19:19] Alex Carol
Description:
Error when a model is opened.

command line:
$ mysql-workbench
Found /lib/x86_64-linux-gnu/libproj.so.15

(mysql-workbench-bin:43464): Gtk-CRITICAL **: 14:17:17.463: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed

(mysql-workbench-bin:43464): Gtk-CRITICAL **: 14:17:17.482: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed

(mysql-workbench-bin:43464): Gtk-CRITICAL **: 14:17:19.628: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed

----- LOG FILE - wb.log - 
14:16:57 [INF][   WBContext UI]: Initializing workbench context UI with these values:
	base dir: /usr/share/mysql-workbench
	plugin path: /usr/lib/mysql-workbench/plugins
	struct path: /usr/share/mysql-workbench/grt
	module path: /usr/lib/mysql-workbench/modules
	library path: /usr/share/mysql-workbench/libraries
	user data dir: /home/alex/.mysql/workbench
	open at start: 
	open type: 
	run at startup: 
	run type: 
	Force SW rendering: No
	Force OpenGL: No
	quit when done: No
14:16:57 [INF][      WBContext]: WbContext::init
14:16:58 [INF][            WBA]: Looking for extension modules for WBA...
14:16:58 [INF][            WBA]: 0 extension modules found
14:16:58 [WRN][            grt]: Duplicate plugin name wb.tools.cmdlineClient	There is more than one plugin with the name wb.tools.cmdlineClient (in PyWbUtils and PyWbUtils).
14:16:58 [WRN][            grt]: /home/alex/.mysql/workbench/connections.xml:15: link '923b300a-89dc-11ec-ae4f-8388b558384c' <object GrtObject> key=owner could not be resolved
14:16:58 [WRN][            grt]: Duplicate plugin name wb.tools.cmdlineClient	There is more than one plugin with the name wb.tools.cmdlineClient (in PyWbUtils and PyWbUtils).
14:16:58 [INF][      WBContext]: System info:
 	MySQL Workbench Community (GPL) for Linux/Unix version 8.0.28 CE build 1474738 (64 bit)
	Configuration Directory: /home/alex/.mysql/workbench
	Data Directory: /usr/share/mysql-workbench
	Cairo Version: 1.16.0
	OS: Ubuntu 20.04 x86_64
	CPU: 16x 11th Gen Intel(R) Core(TM) i9-11900H @ 2.50GHz (2500.000MHz) - 31,08GiB RAM
No video adapter info available
	Distribution: Ubuntu 20.04.3 LTS

	Fips mode enabled: no

14:16:58 [WRN][         mforms]: Resource file not found: sidebar_wb@2x.png
14:16:58 [WRN][         mforms]: Resource file not found: sidebar_modeling@2x.png
14:16:58 [WRN][         mforms]: Resource file not found: sidebar_migration@2x.png
14:16:58 [WRN][         mforms]: Resource file not found: home_screen_close_light@2x.png
14:16:58 [WRN][         mforms]: Resource file not found: wb_doc_model@2x.png
14:16:58 [WRN][         mforms]: Resource file not found: wb_tile_schema_light@2x.png
14:16:58 [WRN][         mforms]: Resource file not found: wb_tile_time_light@2x.png
14:16:58 [WRN][         mforms]: Resource file not found: wb_tile_folder_mini_light@2x.png
14:16:58 [WRN][         mforms]: Resource file not found: home_screen_close_light@2x.png
14:16:58 [WRN][         mforms]: Resource file not found: wb_doc_model@2x.png
14:16:58 [WRN][         mforms]: Resource file not found: wb_tile_schema_light@2x.png
14:16:58 [WRN][         mforms]: Resource file not found: wb_tile_time_light@2x.png
14:16:58 [WRN][         mforms]: Resource file not found: wb_tile_folder_mini_light@2x.png

How to repeat:
Iniciate mysql-workbenck and open a model.
[9 Feb 2022 19:21] Alex Carol
logfile.

Attachment: wb.log (text/x-log), 2.68 KiB.

[14 Feb 2022 12:29] MySQL Verification Team
Hello Alex Carol,

Thank you for the bug report.
I tried to reproduce your issue on Ubuntu 20.04 with workbench 8.0.28 but I am not seeing any issues at my end.

Regards,
Ashwini Patil
[14 Feb 2022 12:36] MySQL Verification Team
8.0.28 test results

Attachment: bug_106427_test_results.png (image/png, text), 70.38 KiB.

[6 Aug 2022 15:09] Bernardd Pavković
I'm facing the same issue on ubuntu 22.04. Tried with version 8.0.30. I also tried installing older versions but same issue occurs. 

Issue is manifested when opening any model (new or existing). I'm unable to edit EER diagram objects nor edit tables in mysql model schema.
[6 Aug 2022 15:40] Bernardd Pavković
Opening test model results with this display

Attachment: mysqlTestModel.png (image/png, text), 389.12 KiB.

[6 Aug 2022 16:27] Bernardd Pavković
After doing a bit more tests I've found that issue is present only when "Fractional Scaling" is active. When disabled model can be edited properly.
[1 Oct 2022 3:39] Zak Wear
Thank you Bernardd, changing fractional scaling config fixed this.