Op maandag 11 maart 2019 04:48:03 CET schreef Chris Roy-Smith:
> On 10/3/19 7:45 pm, Colin Law wrote:
> > Thanks Chris.  That could indeed be useful.  One should always
> > remember, though, that with a ppa one is reliant on the integrity of
> > the packager to build what you are expecting.  There is nothing to
> > stop someone modifying the code for nefarious purposes and building it
> > into a ppa.  Looking at the packagers profile, however, there does not
> > seem to be anything that would lead one to worry about his/her
> > integrity.
> > 
> > Colin
> 
> I also tried running GnuCash using this command
> 
> flatpak run --device=all org.gnucash.GnuCash
> 
> But I still don't get any printers!
> 
> perhaps I misunderstood the notes at
> 
> http://docs.flatpak.org/en/latest/search.html?q=device&check_keywords=yes&ar
> ea=default
> 
> regards, Chris
> 

Hi Chris,

This part was new to me so it took me some research to figure out what's 
happening.

The --device option is not meant for printers. It's for accessing controllers 
or webcams. For printing flatpak provides a portal mechanism.

On the other side GnuCash does not handle printing directly. It relies on the 
underlying toolkits to do so.

For example for check printing we delegate to Gtk's built-in print 
functionality. Gtk is aware of the flatpak portal mechanism, so your printers 
should show up if you try to print a check.

For report printing, GnuCash delegates the request to webkit's built-in 
printing functionality (as we rely on webkit for displaying reports). 
Unfortunately webkit seems to be unaware of the flatpak portal mechanism. 
Hence no printers are listed.

I'm not sure if we can work around this in GnuCash or with flatpak command 
switches. That is to be investigated. I have opened
https://bugs.gnucash.org/show_bug.cgi?id=797146
to track this further.

Regards,

Geert


_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to