Bug 153671 - Drop "Use printer metrics" feature completely
Summary: Drop "Use printer metrics" feature completely
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-16 15:56 UTC by Gabor Kelemen (allotropia)
Modified: 2024-04-25 03:16 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2023-02-16 15:56:30 UTC
This is a followup to bug 131136

In that bug, the UI for "Use printer metrics for document formatting" option was removed and was shipped in 7.5.

This is to continue that work and remove support of that obsolete feature completely.

Code pointer:
git grep UsePrinterMetrics
Comment 1 Julien Nabet 2023-02-17 12:26:05 UTC
Before someone spends some time on it, what about these ?
offapi/com/sun/star/sheet/XGlobalSheetSettings.idl:134:    [attribute] boolean UsePrinterMetrics;
offapi/type_reference/offapi.idl:11938:     [attribute] boolean UsePrinterMetrics;
oovbaapi/ooo/vba/word/WdCompatibility.idl:65:        const long wdUsePrinterMetrics = 26;

If in idl files, I suppose we can't remove them now, just deprecate them and hope that in 10 years, we can remove them at last?
Comment 2 Julien Nabet 2023-09-22 16:00:40 UTC
Regina/Miklos/Heiko/Xisco: any thoughts about UsePrinterMetrics in 3 idl files (see my previous comment)?
Since a new bug related to this happened (tdf#157368), it means others may happen here, it would be great to tackle this at last.
Comment 3 Regina Henschel 2023-09-24 18:12:27 UTC
I think, it cannot be simply removed. It belongs to the published interface XGlobalSheetSettings

It seems, it is needed for interoperability with MS Office. It seems it affects the situation when a font is used, that is built-in in the printer and/or (?) postscript and PDF export. The attribute exists already in OOo. Some discussions can be found in https://bz.apache.org/ooo/show_bug.cgi?id=96397.

Instead of testing with real printers, using the print preview might work.
Comment 4 Heiko Tietze 2023-09-26 10:38:50 UTC
(In reply to Heiko Tietze from bug 131136 comment #4)
> Miklos: "Let's just remove this option from the UI and have it at the
> advanced settings." Sounds like a good plan.
> 
> sw/uiconfig/swriter/ui/optcompatpage.ui
> m_xFormattingLB in sw/source/ui/config/optcomp.cxx and related
Comment 5 QA Administrators 2024-03-25 03:13:26 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2024-04-25 03:16:34 UTC
Dear Gabor Kelemen (allotropia),

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp