gtk print dialog and OOo

Matthias Clasen mclasen at redhat.com
Sat Jul 11 01:42:09 UTC 2009


On Wed, 2009-03-18 at 14:09 +0000, Caolán McNamara wrote:
> We've supported a gtk print dialog integration in OOo for a while, but
> there has always been a few little gotchas, and now that the "built-in"
> OOo dialog has some nifty extras there are extra gotchas. So I'll be
> reverting to the "built-in" dialog for F11, a quick dump of the gotchas
> are..

Hey Caolan,

I don't know if you have been following this, but Marek has been
chipping away on your complaints. I wonder if it would make sense for
you to evaluate the state of gtk printing for OOo with GTK+ 2.17.4, and
give us some feedback on what further improvements you think are needed
to make OOo use GtkPrint again in F12.


> *) Need an extra "Selection" option for printing.
> http://bugzilla.gnome.org/show_bug.cgi?id=344519
> http://bugzilla.gnome.org/show_bug.cgi?id=563619
> 
> OOo can print just the selected text, selected graphic or selected
> cells, but no way to show that in the gtk print dialog.

This is improved, at least. It is now possible to print the
'selection'. 


> *) Way to specify the page size and orientation (esp. when using n-up
> printing)
> http://bugzilla.gnome.org/show_bug.cgi?id=551409
> http://bugzilla.gnome.org/show_bug.cgi?id=551726
> 
> Most OpenOffice.org applications have per-page orientations rather than
> global per print-job orientation, but when printing multiple pages in
> one sheet of paper through cups, its desirable to have a way to specify
> the orientation and page size of the combined sheet. We could do this
> with a custom tab, but see next entry

Orientation and other page setup controls can now be embedded in the
print dialog, but maybe you were after something else here ?


> *) Emit a signal when a printer is selected.
> http://bugzilla.gnome.org/show_bug.cgi?id=564854
> 
> So e.g. a custom tab that should only exist for say, printing to a cups
> backend, or using save as .pdf file can be shown/hidden depending on the
> printer selection, e.g. pdf encryption options or pdf "read-only except
> for filling in fields" directives which only make sense in a save
> as .pdf context. Hackable around with nasty switch-page callback on the
> notebook widget if you rummage around horrifically through the dialog
> hierarchy looking for it.

Fixed, notify::selected-printer should work for what you want here.


Matthias






More information about the Fedora-desktop-list mailing list