Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Printer's dialog shows up multiple times
Re: Printer's dialog shows up multiple times [message #45487 is a reply to message #45472] Mon, 23 November 2015 11:57 Go to previous messageGo to previous message
Giorgio is currently offline  Giorgio
Messages: 218
Registered: August 2015
Experienced Member
Hi there,
I minimized the application: no sql code, no barcode, very few controls; basically it is just a main window with a button that opens a dialog.

I attach here the complete project, it is very small (the main.cpp is just 90 lines long), I hope someone could take the time to check it.

To reproduce the bug:
1. Launch the application;
2. Click on the button "Data", a diaolog opens;
3. Put something on the inputfield;
4. Click the print button - I use a pdf printer for the testing, but it happens with any printer;
5. Close the dialog using the "X", "Ok", or "Cancel".

Now - without exiting the application - repeat steps 2, 3, 4: at this point the printer's dialog will pop up two times, so the first time the user clicks Ok and prints and the second time clicks cancel.

If you repeat for the third time, the printer's dialog will pop up, three times and so on.

Any help is appreciated.
Thanks,
Giorgio
  • Attachment: Bugged.zip
    (Size: 2.31KB, Downloaded 233 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Usage of Iml image data leads to linker error
Next Topic: How to use multiple schemas and databases?
Goto Forum:
  


Current Time: Fri Jun 20 19:46:30 CEST 2025

Total time taken to generate the page: 0.03018 seconds