It is currently Fri May 24, 2013 8:18 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: [PB 4.60] PrintRequester
PostPosted: Wed Nov 16, 2011 3:18 pm 
Offline
Enthusiast
Enthusiast

Joined: Fri Feb 24, 2006 9:40 am
Posts: 290
OS: Ubuntu 11.10, 32-bit, all patches applied till 16th november 2011 - executed in VirtualBox.

Several critical errors and a lot warnings show up by just opening the PrintRequester.

Code Example:

Code:
If OpenWindow(0, 0, 0, 230, 90, "Printrequester test...", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
   ButtonGadget  (1, 10, 10, 200, 20, "Click me")

   Repeat
     Event = WaitWindowEvent()
     
     Select Event
     
       Case #PB_Event_Gadget
         Select EventGadget()
           Case 1 :
             PRes.i = PrintRequester()
             Debug "PrinterResult: " + Str(PRes)

         EndSelect
     
     EndSelect
   Until Event = #PB_Event_CloseWindow
 EndIf


The following warnings and errors happen:

Code:
(testprinter:2786): GnomePrint-WARNING **: Could not create filter from description 'GnomePrintFilterSelect': filter 'GnomePrintFilterSelect' is unknown
(testprinter:2786): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(testprinter:2786): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(testprinter:2786): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(testprinter:2786): GnomePrint-WARNING **: Could not create filter from description 'GnomePrintFilterClip [ GnomePrintFilterMultipage ]': filter 'GnomePrintFilterClip' is unknown
(testprinter:2786): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(testprinter:2786): libgnomeprintui-CRITICAL **: gnome_print_layout_selector_load_filter: assertion `GNOME_IS_PRINT_FILTER (f)' failed
(testprinter:2786): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed
(testprinter:2786): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(testprinter:2786): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(testprinter:2786): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(testprinter:2786): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(testprinter:2786): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(testprinter:2786): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(testprinter:2786): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(testprinter:2786): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(testprinter:2786): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(testprinter:2786): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed
(testprinter:2786): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed
(testprinter:2786): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed
(testprinter:2786): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed
(testprinter:2786): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(testprinter:2786): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(testprinter:2786): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(testprinter:2786): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(testprinter:2786): GnomePrint-CRITICAL **: gnome_print_filter_reset: assertion `GNOME_IS_PRINT_FILTER (f)' failed
(testprinter:2786): GnomePrint-CRITICAL **: gnome_print_filter_flush: assertion `GNOME_IS_PRINT_FILTER (f)' failed


I don't know if it makes sense to report more printing bugs/problems before these are fixed :?

Other issues have already been reported: viewtopic.php?f=23&t=47541


Top
 Profile  
 
 Post subject: Re: [PB 4.60] PrintRequester
PostPosted: Tue Jan 03, 2012 5:46 pm 
Offline
Enthusiast
Enthusiast

Joined: Fri Feb 24, 2006 9:40 am
Posts: 290
Update.

Since PureBasic 4.61 Beta 1 x86, my application just crashes after throwing a lot critical errors and doesnt even show the printrequester anymore.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye