Re: "Layout::resizeIdle calls" messages ignore show_msg=NO
Rodrigo Arias <[email protected]>
| Newsgroups | gmane.comp.web.dillo.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, On Fri, May 03, 2024 at 12:48:54PM +1000, Kevin Koster wrote: >With Dillo 3.1.0-rc1 (and the current Git repo master branch), these >messages are printed to stdout when pages load even with show_msg=NO in >dillorc: >... >Layout::resizeIdle calls = 578 >Layout::resizeIdle calls = 579 >Layout::resizeIdle calls = 580 >Layout::resizeIdle calls = 581 >Layout::resizeIdle calls = 582 >Layout::resizeIdle calls = 583 >... > >I see that they come from a printf call in dw/layout.cc, line 876. > >Dillo 3.0.5 doesn't output such messages, and they are a minor >inconvenience when starting dillo from a terminal window, so it would >be nice if they obeyed the show_msg setting in dillorc when Dillo 3.1.0 >is released. Yeah, there is no way to properly output messages from the dw module (the layout renderer), as it doesn't link with the code that parses the preferences, so it cannot access the "prefs.show_msg" variable to find out if it should output messages or not. I will disable it for now by using _MSG() instead, and we can think of something more elaborate later. Thanks, Rodrigo. _______________________________________________ Dillo-dev mailing list -- dillo-dev-lx9mn2B4QYRWk0Htik3J/[email protected] To unsubscribe send an email to dillo-dev-leave-lx9mn2B4QYRWk0Htik3J/[email protected]