Allow suppressing GTK log messages (PR #22424)

25 views
Skip to first unread message

VZ

unread,
May 11, 2022, 6:37:37 PM5/11/22
to wx-...@googlegroups.com, Subscribed

See #22176 for the motivation.

This will probably be used for other messages in the future.


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/22424

Commit Summary

  • f137f19 Factor out wxGTKImpl::LogFilter from GTKSuppressDiagnostics()
  • 4602caf Add LogFilterByMessage GTK log filter
  • 14416a7 Suppress bogus GTK messages when removing wxNotebook pages
  • b9d3f73 Optionally detect not filtered GTK log messages

File Changes

(3 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/22424@github.com>

PB

unread,
May 12, 2022, 6:30:27 AM5/12/22
to wx-...@googlegroups.com, Subscribed

@PBfordev commented on this pull request.


In src/gtk/notebook.cpp:

> @@ -426,6 +427,12 @@ wxNotebookPage *wxNotebook::DoRemovePage( size_t page )

     if ( !client )

         return NULL;

 

+    // Suppress bogus assertion failures happening deel inside ATK that can't

⬇️ Suggested change
-    // Suppress bogus assertion failures happening deel inside ATK that can't

+    // Suppress bogus assertion failures happening deep inside ATK that can't

Knowing nothing about Linux, I assume ATK (The Accessibility Toolkit ?) and not GTK is correct here...


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/22424/review/970622714@github.com>

VZ

unread,
May 12, 2022, 10:10:30 AM5/12/22
to wx-...@googlegroups.com, Subscribed

@vadz commented on this pull request.


In src/gtk/notebook.cpp:

> @@ -426,6 +427,12 @@ wxNotebookPage *wxNotebook::DoRemovePage( size_t page )
     if ( !client )
         return NULL;
 
+    // Suppress bogus assertion failures happening deel inside ATK that can't

Oops, thanks for noticing. And yes, ATK (part/dependency of GTK) is indeed -- exceptionally -- not a typo :-)


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/22424/review/970921895@github.com>

VZ

unread,
May 15, 2022, 11:01:49 AM5/15/22
to wx-...@googlegroups.com, Subscribed

@paulcor Please let me know if I should wait for your review. Otherwise I'll merge this soon.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/22424/c1126959086@github.com>

VZ

unread,
May 17, 2022, 10:51:43 AM5/17/22
to wx-...@googlegroups.com, Subscribed

Closed #22424.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/22424/issue_event/6625236987@github.com>

VZ

unread,
May 17, 2022, 10:51:44 AM5/17/22
to wx-...@googlegroups.com, Subscribed

Merged by the commit above.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/22424/c1128970310@github.com>

Reply all
Reply to author
Forward
0 new messages