Bug 106663 - GoToNextPlacemarker skips placeholder after header
Summary: GoToNextPlacemarker skips placeholder after header
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Andreas Heinisch
URL:
Whiteboard: target:24.2.0
Keywords:
Depends on:
Blocks: Macro
  Show dependency treegraph
 
Reported: 2017-03-20 14:31 UTC by Samuel Mehrbrodt (allotropia)
Modified: 2023-09-19 20:44 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example document (16.79 KB, application/vnd.oasis.opendocument.text)
2017-03-20 14:31 UTC, Samuel Mehrbrodt (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Mehrbrodt (allotropia) 2017-03-20 14:31:46 UTC
Created attachment 132027 [details]
Example document

1. Open the attached document.
2. Place the cursor inside the text frame "Text frame in Header"
3. Click "Execute GoToNextPlacemarker

Expected: The Placeholder <Date> is highlighted
Actual: The Placeholder <Marker> is highlighted

If you place the cursor before "HEADING", it works as expected.
It also works as expected if you create a new line before the HEADING line.

I verified the problem with 5.0 and current master.
Comment 1 Xisco Faulí 2017-03-20 15:54:45 UTC
Confirmed in

- Version: 5.4.0.0.alpha0+
Build ID: 4ba483beccc99d336d0e0bec47b5fd6823b16c16
CPU threads: 4; OS: Linux 4.8; UI render: default; VCL: gtk2; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group


- Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)

- LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 2 QA Administrators 2018-03-21 03:35:37 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2020-03-21 02:41:30 UTC Comment hidden (obsolete)
Comment 4 BogdanB 2021-12-29 17:06:35 UTC
Also in
Version: 7.2.4.1 / LibreOffice Community
Build ID: 27d75539669ac387bb498e35313b970b7fe9c4f9
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 5 BogdanB 2023-08-18 17:04:13 UTC
Also in
Version: 7.5.5.2 (X86_64) / LibreOffice Community
Build ID: ca8fe7424262805f223b9a2334bc7181abbcbf5e
CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 6 Commit Notification 2023-09-14 06:22:07 UTC
Andreas Heinisch committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/016f3aea1e1a3731f925a3f8e7e5a92fff3ef28d

tdf#106663 - Fields: use the starting position of the frame

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 7 Andreas Heinisch 2023-09-14 06:27:08 UTC
I will provide an automated test soon.
Comment 8 Commit Notification 2023-09-19 20:44:29 UTC
Andreas Heinisch committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/486ae5db6987411d5e394de94b2b077099d03856

tdf#106663 - Test GoToNextPlacemarker in header's fly frame

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.