Skip to content

Conversation

@lbaudin
Copy link

@lbaudin lbaudin commented Oct 29, 2025

Both the app and the printer may be able to do copies. If the printer can do it, then it is likely more efficient and it should not be done in the app, so the app needs to know that the printer will do it.

Since the app may save print settings, we cannot just hide number-up and n-copies from the app, so we need both the app and the printer to advertise such capabilities if they are available.

Currently, this is not handled and n-copies is applied twice (so in GNOME documents are printed n-copies^2 times).

Related GNOME MR: https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/merge_requests/233

@swick
Copy link
Collaborator

swick commented Oct 29, 2025

have to bump the version of the frontend xdp_dbus_print_set_version (which we apparently forgot to do for v4).

@swick
Copy link
Collaborator

swick commented Oct 29, 2025

The test rightfully fails. You need to adjust it.

Both the app and the printer may be able to do copies. If the printer
can do it, then it is likely more efficient and it should not be done in the app,
so the app needs to know that the printer will do it.

In the print dialog, the n-copies and number-up settings must be available
if either the printer or the app can do it.
@lbaudin
Copy link
Author

lbaudin commented Oct 29, 2025

Oh right, it checked the version there.

@lbaudin
Copy link
Author

lbaudin commented Nov 20, 2025

Ping about this? (it leads to various annoying bugs with printing in gnome, so…)

@swick
Copy link
Collaborator

swick commented Nov 20, 2025

/ping @matthiasclasen @Sodivad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants