Bug 124089 - DOTM AutoText import creates incorrect shortcut (with space)
Summary: DOTM AutoText import creates incorrect shortcut (with space)
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX AutoText
  Show dependency treegraph
 
Reported: 2019-03-15 03:27 UTC by Aron Budea
Modified: 2020-12-05 04:28 UTC (History)
1 user (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 Aron Budea 2019-03-15 03:27:14 UTC
Word lacks the concept of shortcuts for AutoText, so during import simply the first couple of characters are taken, including spaces if any is there. However, spaces are normally not permitted (can't be entered), and mess up shortcuts: simply pressing F3 at the end won't do anything, the whole shortcut has to be selected first.

The easiest fix would be to strip spaces from shortcuts.
Another option would be to use initials instead, but they aren't very important, in Word entering them based on the suggestion after the first couple of characters seems to be the normal usage.

AutoText import from OOXML files was added by Szymon Kłos in 2017-04 and 05, perhaps that offers some clues where to find the relevant piece of code.

I don't have a sample right now, perhaps could try to create one later.

Observed using LO 6.2.0.3 / Windows 7.
Comment 1 Xisco Faulí 2019-04-16 08:40:32 UTC
(In reply to Aron Budea from comment #0)

> I don't have a sample right now, perhaps could try to create one later.

Any update ?
Comment 2 Xisco Faulí 2019-05-21 11:07:29 UTC
(In reply to Xisco Faulí from comment #1)
> (In reply to Aron Budea from comment #0)
> 
> > I don't have a sample right now, perhaps could try to create one later.
> 
> Any update ?

Hi Aron,
i'm setting this to NEEDINFO until the sample is provided...
Comment 3 QA Administrators 2020-04-06 03:29:15 UTC Comment hidden (obsolete, spam)
Comment 4 QA Administrators 2020-05-07 03:59:12 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2020-11-04 04:04:18 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2020-12-05 04:28:54 UTC
Dear Aron Budea,

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