Support with printers

Hello,

Requirements:

having a printer

x I have Searched the forum for my issue and found nothing related or helpful
x I have checked the Resources category (Resources Index)
x I have reviewed the Wiki for relevant information
x I have read the the Release Notes and Errata

OpenMandriva Lx version:

OpenMandriva 6.0 Rock Gnome Spin

Desktop environment (KDE, LXQT…):

Gnome

Description of the issue (screenshots if relevant):

So, seems like i am unable to print unless the app is a gtk4 app

Relevant informations (hardware involved, software version, logs or output…):

i’ll add further informations on the matter

i do have a brother inkjet printer connected via wifi, which is perfectly recognized by gnome and by openmandriva itself, in fact it’s configured and running

i had anyway the need to print an email but evolution (a gtk3 app) wasn’t able to see any printer

i tried installing geary (another gtk3 app) but again, it wasn’t seeing any printer, i tried then entering the webmail but the browser (opera) wasn’t printing and upon clicking “use system dialog” the gtk3 printer dialog appeared and it was empty

luckily i also had a document with me which was printed by paper (the gtk4 document viewer)

on a side note, the scanner app, which is gtk4 too, correctly works and list my printer/scanner

any suggestion on how to solve this?

just to note, printer is configured just fine in the openmandriva printer tool, and it works fine (with gtk4 apps)

Please fix this up.

Please also specify what applications you can and cannot print from.

how do i fix that?

also i already specified that i tried some gtk3 apps like evolution and geary, and they do not see any printer, exactly like the browser, that triggers the gtk3 printer dialog app

i tried printing with papers which is a gtk4 app and it does indeed print fine

on a side note, i tried using evolution and geary in flatpak and they do print fine, but they do use the gtk4 printing dialog, so i do suppose the problem is gtk3…

anyway to sum up

evolution rpm does not see any printer

geary rpm does not see any printer

browsers do not see any printer

papers do see printers fine and prints

the same applications that do not see any printer, used in flatpak work fine and i do suppose it’s because they do use the gtk4 printing dialog instead of the gtk3

All Chromium based browsers have this issue in every single distro.

GNOME is also a spin, so you will probably be waiting on whomever manages it. Probably @AngryPenguin .

i just tried the same browser in another distro

upon clicking on print, the chromium printing dialog appeared, with “save as pdf” and my printer selectables, upon selecting my printer, the printer correctly printed my page from the chromium printing dialog

also, clicking at the end of the dialog, the button use system dialog, the system printing screen appear (it’s gtk3) and do correctly see my printer

flatpak would also be a workaround, but i wouldn’t prefer that if there’s an rpm available…

The point was, there was already a topic for it that your search should have found. Well known browsers are either based on Firefox or Chromium. You should test that it works in Firefox, also.

It must just be broken in Qt, then. If GTK3 fixes it, that’s some kind of dependency issue with the browser package, or lack of compatibility with GTK3 in GTK4. We can fix the former, but not the latter.

quite the contrary, the support is broken in gtk3 apps

anyway, your statement that firefox works lead me to a solution, so thank you

i tried installing firefox and it installed me 3 packages

  • the firefox package
  • the language pack (i selected it)
  • a package called lib64gtk3-module

magically everything was working

i made some tests and seems like lib64gtk3.0-module is what make gtk3 dialogs to work

i assume it was removed when i removed firefox for installing opera, as i tried removing firefox again, the package was removed and everything stopped working until i reinstalled the package

i wasn’t aware of that until you suggested me to try firefox, and i would think that many other people would be unaware of that too, so maybe it can be made that this particular package is not removed when/if removing firefox?

anyway, thank you for your help, i can mark this as solved

3 Likes

So if lib64gtk3.0-module fixing problem, maybe we should add it to gtk3 deps (force it).

Anyway, can you check if chromium (or based) browsers still having trouble printing?

My mistake.

When we build the chromium browsers, there is a Qt layer we focus on because the default experience is Plasma. The only exception being the repos we attach that have packages built by the software vendors (i.e. Brave, Opera/Vivaldi, etc…). We can’t really control whether those are going to work or not.

Issue with Qt based on chromium can be related to: Unable to print from web browsers in Cooker · Issue #2967 · OpenMandrivaAssociation/distribution · GitHub

The package must be:

lib64gtk-modules3.0.x86_64

I don’t show it installed, and the browser printing does not work.

Installing it does allow printing to work directly from the Brave browser.

I think that is related to this fix. I am testing TDE and could reproduce the behavior with Brave.

i just tested printing the openmandriva webpage with opera (a chromium based browser) and it printed just fine with the chromium dialog

i didn’t try with the system dialog that appear if you press “use system dialog” on the browser, but i just clicked on it and now my printer is fully recognized

as soon as i remove that module (lib64gtk.module3.0) everything stops working for gtk3 apps and then works again when the library is reinstalled

did a few test with the browser and it seems o work fine now (it printed like 9 pages just fine)

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.