Bug 159861 - Cursor shifted
Summary: Cursor shifted
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha0+
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Hyperlink
  Show dependency treegraph
 
Reported: 2024-02-23 20:41 UTC by raal
Modified: 2024-10-30 20:45 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
printscreen of the bug (73.93 KB, application/vnd.oasis.opendocument.text)
2024-02-23 20:41 UTC, raal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description raal 2024-02-23 20:41:22 UTC
Description:
In 24.8 the behaviour of long hyperlink is changed.

Steps to Reproduce:
open Impress
create bullet in text box - right click > Bullets and numbering> Scope=Slide > OK
paste long URL, for example http://www.example.com?mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
enter
write some text
try to right-click on the URL

Actual Results:
Cursor is shifted from the text when writing second text. Cannot invoke hyperlink menu (for example I want Remove hyperlink) / I can invoke menu only on first line of URL.


Expected Results:
Cursor on the second line is on the line.
I can click anywhere on the hyperlink to invoke context menu.


Reproducible: Always


User Profile Reset: No

Additional Info:
regression in 24.8.
Comment 1 raal 2024-02-23 20:41:56 UTC
Created attachment 192734 [details]
printscreen of the bug
Comment 2 raal 2024-02-23 20:43:59 UTC
This seems to have begun at the below commit in bibisect repository/OS linux-64-24.8.
Adding Cc: to Attila Szűcs ; Could you possibly take a look at this one?
Thanks
 cac8a65e189955a189492d9c3217a9d0666ef5e4 is the first bad commit
commit cac8a65e189955a189492d9c3217a9d0666ef5e4
Author: Jenkins Build User <tdf@maggie.tdf>
Date:   Fri Feb 16 18:17:34 2024 +0100

    source 9ed6d80622174826f8b7413529320ccd94782296

162503: tdf#154248 sd: change multiline field wrapping | https://gerrit.libreoffice.org/c/core/+/162503
Comment 3 m_a_riosv 2024-02-23 23:06:55 UTC
Not reproducible on
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 8eee7eab8087590aa19bb9989c294e9be767f356
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 4 Stéphane Guillou (stragu) 2024-02-26 11:13:14 UTC
Reproduced in:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 3b73071f7a7fcf80547da81e5effe4ed6018bbb4
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

To clarify the steps:

(In reply to raal from comment #0)
> paste long URL, for example
> http://www.example.
> com?mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
> mm
Actually, you might have to _write_ a long URL so it wraps to the next line. If you only paste it, it might adapt the font size to make it fit in one single line.