[Libreoffice-bugs] [Bug 123256] ViewCursor and TextCursor returns wrong PageStyleName

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Apr 24 08:38:03 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=123256

Miklos Vajna <vmiklos at collabora.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #3 from Miklos Vajna <vmiklos at collabora.com> ---
Yes, this is indeed a bug, at least in the ViewCursor case.

I think the reason for the current behavior is that we fetch the paragraph
properties for the cursor and expose PageStyleName based on a that, which means
that in case the paragraph spans over multiple pages, we expose the page style
of the first page. So the behavior is not too surprising, but the ViewCursor
(which is aware of pages) could be indeed fixed to take multi-page paragraphs
into account.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190424/2774dff1/attachment.html>


More information about the Libreoffice-bugs mailing list