Please remove debugln that appears whenever TGtk2WidgetSet.PeekMessage() is called.
Original Reporter info from Mantis: dbannon @davidbannon
-
Reporter name: David
Original Reporter info from Mantis: dbannon @davidbannon
- Reporter name: David
Description:
In /interfaces/gtk2/gtk2winapi.inc, function TGtk2WidgetSet.PeekMessage() there is a debugln('Peek !!!');
In current trunk its line #6837, going back to Lazarus 1.8.4 it was #6717 !
It appears multiple times in my app when its been launched from the command line. And, while harmless it does worry some end users. It looks like, at some stage, someone was chasing a bug in that part of the world, but the debugln has been there for a long time !
Interestingly, it only shows up with particular desktops, I use Mate and see it very reliably, I do know that it does not show up on some other desktops.
I guess its possible that someone was chasing this bug - https://forum.lazarus.freepascal.org/index.php/topic,50628.0.html - I don't know, I have not experienced the bug mentioned there. My issue is far simpler, lets remove that debugln, its not actively being used and it looks unprofessional.
Davo
Steps to reproduce:
I am not sure where PeekMessage() is being called from, but just looking at the source, its easy to see whats going to happen when that function is called.
Additional information:
I say 'always' to Reproducibility above because given the right environment, it will always show up. But I suspect a number of desktops don't call that function ....
Mantis conversion info:
- Mantis ID: 37521
- OS: Linux
- Version: 2.0.10
- Fixed in revision: r63704 (#acc57c65)
- Monitored by: » @davidbannon (David)