wxWidgets / Phoenix

wxPython's Project Phoenix. A new implementation of wxPython, better, stronger, faster than he was before.
http://wxpython.org/
2.33k stars 516 forks source link

[Feature request] Remove all gtk annoying messages #2117

Open kikislater opened 2 years ago

kikislater commented 2 years ago

Operating system: all wxPython version & source: all Python version & source: all

Description of the problem:

Since several years I run some software with Wx and python-wxwidgets. Some like Grass GIS needs output from terminal but some weird message appears when manipulating gui. So I know this is due to theming or unproper window computation or missing option due to new release of Wx but this is really boring. There should be a configuration or option to enable / disable these annoying verbose message. I run softwares with python wx since more than 17 years on Linux and these message were always here.

There is one question on stackexchange but doesn't help and never get a real answer : https://stackoverflow.com/questions/3424774/how-to-suppress-gtk-warnings-from-a-wxwidgets-wxpython-application

Any idea or workaround to remove gtk messages are welcome

(Note : just a user feedback and new users doesn't understand why there are these message, I appreciate all the work done with Wx and python-wx)

swt2c commented 2 years ago

This has been requested upstream: https://github.com/wxWidgets/wxWidgets/issues/19347 And implemented upstream: https://github.com/wxWidgets/wxWidgets/commit/a2389fc512b72ca2fb6261dfbde024a7819500de

It will be picked up in wxPython whenever wxPython moves to wxWidgets 3.1.6 (not sure of Robin's plan).

kikislater commented 2 years ago

Really happy to read it !

Jorilx commented 2 years ago

I think this issue could be closed...? See this commit