Bug 144341 - Unable to set alignment for hyperlinks in text boxes
Summary: Unable to set alignment for hyperlinks in text boxes
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.3.6.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Textbox Hyperlink
  Show dependency treegraph
 
Reported: 2021-09-06 20:10 UTC by Rafael Lima
Modified: 2025-08-02 03:12 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample ODP file (17.94 KB, application/vnd.oasis.opendocument.presentation)
2021-09-06 20:10 UTC, Rafael Lima
Details
ODG file with screenshots (283.17 KB, application/vnd.oasis.opendocument.graphics)
2021-09-08 20:24 UTC, Rafael Lima
Details
Sample PPTX file (34.91 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2021-09-08 20:27 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2021-09-06 20:10:19 UTC
Created attachment 174833 [details]
Sample ODP file

In Impress, if you add a Textbox and inside of it you create a Hyperlink, the alignment of the Hyperlink is changed to "left align" and cannot be modified.

See the attached example. The text in the Textbox is aligned to the right. But if I insert a hyperlink, the link will be aligned to the left and it cannot be changed with any formatting method (sidebar, toolbar, right-click and then "Paragraph, etc..).

SYSTEM INFO:
Version: 7.2.0.4 / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 16; OS: Linux 5.11; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: threaded
Comment 1 Xisco Faulí 2021-09-07 08:30:46 UTC
Hi Rafael,
I can't reproduce the described behaviour in

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 4cd3ce9848aa039b8d443a1257d1298231680b01
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

the problem with the attached file is that the textbox is not wide enough. If you make it wider than the hyperlink, you will see the hyperlink can be aligned to the left, center or right.
To me, this is a NOTABUG
Comment 2 Rafael Lima 2021-09-08 20:24:15 UTC
Hi Xisco(In reply to Xisco Faulí from comment #1)
> Hi Rafael,
> I can't reproduce the described behaviour in

Hi Xisco, take another look at the link and notice that it is aligned to the left, even though I set its alignment to the right.

I uploaded an ODG file to clarify the issue. On page 1 I show how adding a hyperlink breaks alignment.

I also created a PPTX file in PowerPoint (also attached to this report) and took some screenshots (see page 2 of the ODG file). Notice that in PowerPoint adding a hyperlink does not break alignment.

This bug also causes a PPTX import issue, because if you open this PPTX file in Impress the alignment will be incorrect (see page 3 of the ODG file).
Comment 3 Rafael Lima 2021-09-08 20:24:47 UTC
Created attachment 174903 [details]
ODG file with screenshots
Comment 4 Rafael Lima 2021-09-08 20:27:22 UTC
Created attachment 174904 [details]
Sample PPTX file
Comment 5 Deep17 2021-09-29 18:18:23 UTC
Thank you for reporting the bug. I can confirm that the bug is reproducible in

Version: 7.2.1.2 (x64) / LibreOffice Community
Build ID: 87b77fad49947c1441b67c559c339af8f3517e22
CPU threads: 8; OS: Windows 10.0 Build 17763; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: a78190da867864485b5d0a91238616bd4090b5b5
CPU threads: 8; OS: Windows 10.0 Build 17763; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 6 Stéphane Guillou (stragu) 2022-12-16 16:58:49 UTC
reproduced in:

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

Already in 6.3:

Version: 6.3.6.2
Build ID: 2196df99b074d8a661f4036fca8fa0cbfa33a497
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3; 
Locale: en-AU (en_AU.UTF-8); UI-Language: en-US
Calc: threaded

OOo 3.3 wouldn't wrap the hyperlink at all.

This is not specific to Impress as the same happens in a Writer text box.
Comment 7 QA Administrators 2025-08-02 03:12:36 UTC
Dear Rafael Lima,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug