Skip to content

wxGUI: Fix Gtk-CRITICAL messages#7373

Open
kikislater wants to merge 13 commits into
OSGeo:mainfrom
kikislater:patch-5
Open

wxGUI: Fix Gtk-CRITICAL messages#7373
kikislater wants to merge 13 commits into
OSGeo:mainfrom
kikislater:patch-5

Conversation

@kikislater

Copy link
Copy Markdown
Contributor

Fix #1483

@github-actions github-actions Bot added GUI wxGUI related Python Related code is in Python labels May 8, 2026
kikislater and others added 5 commits May 8, 2026 09:05
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@kikislater kikislater changed the title Fix #1483 Fix Gtk-CRITICAL messages #1483 May 8, 2026
kikislater and others added 2 commits May 8, 2026 10:29
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

@kikislater kikislater left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

codeql modifications

kikislater and others added 2 commits May 8, 2026 10:32
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

@kikislater kikislater left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update code formatting

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Comment thread gui/wxpython/wxgui.py
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@kikislater kikislater changed the title Fix Gtk-CRITICAL messages #1483 WxGUI: Fix Gtk-CRITICAL messages (#1483) May 8, 2026
@kikislater kikislater changed the title WxGUI: Fix Gtk-CRITICAL messages (#1483) WxGUI: Fix Gtk-CRITICAL messages - fix in wxgui.py (#1483) May 8, 2026
@kikislater kikislater changed the title WxGUI: Fix Gtk-CRITICAL messages - fix in wxgui.py (#1483) wxGUI: Fix Gtk-CRITICAL messages (#1483) May 8, 2026
@echoix echoix changed the title wxGUI: Fix Gtk-CRITICAL messages (#1483) wxGUI: Fix Gtk-CRITICAL messages May 8, 2026
@petrasovaa

Copy link
Copy Markdown
Contributor

I am not getting these anymore even without your change, is it possible newer wxPython resolved those? I have wxPython 4.2.3 on Ubuntu 24.

@kikislater

Copy link
Copy Markdown
Contributor Author

Oh, I didn't receive your reply :/
Sorry for the late reply but It was tested with wxPython 4.2.5 (under Manjaro Linux but this is not important) and problem is still there.
This is present since 2016, so I don't think it will be fixed soon !

@petrasovaa

Copy link
Copy Markdown
Contributor

I was trying to reproduce the problem to see if this fixes it, but so far, I get only gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkCheckButton when I start GUI and the problem persists even with this change.

The other thing is that the change should be probably limited to platforms with GTK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GUI wxGUI related Python Related code is in Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Gtk-CRITICAL when adding a layer from the data catalog

2 participants