Created attachment 191880 [details] screenshot Steps to reproduce: 1. Copy some text ( I used the linux terminal ) 2. Open Writer 3. Insert - Hyperlink The dialog doesn't fit in the screen. This is happening since author Andreas Heinisch <andreas.heinisch@yahoo.de> 2023-07-26 10:31:56 +0200 committer Andreas Heinisch <andreas.heinisch@yahoo.de> 2023-07-27 09:01:57 +0200 commit 89d3735e05b98223a49a387421386fd736fc3de6 (patch) tree e5891f7cda1cd34b4d1040b5f2c1ee705ebaae1a parent cf8f7b91f41821b79495c0388359c4cb1156ea67 (diff) tdf#146576 - Propose clipboard content when inserting a hyperlink
My take on it https://gerrit.libreoffice.org/c/core/+/161926
I've been thinking a bit more about this issue and ignoring the clipboard content with spaces doesn't look like the real fix to me. Instead, I think we should not expand the dialog depending on the content of the URL field. Same happens with the Text field, even if there is a long text selected in Writer, the dialog size is the same. @Caolán, I thought you might also be interested in this issue
It appears to be the GtkLabel labelled by "URL:" in the "Document" tab which ends up controlling the width of the dialog, the url ComboBoxes already limit themselves to their initial width to avoid problems like this.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-24-2": https://git.libreoffice.org/core/commit/a25b8e353e3ac6383a63f3626b2d0cb88baaf872 Resolves: tdf#159138 don't expand dialog to fit excessively long urls It will be available in 24.2.1. 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.
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/2da068327d18b7e8d63a17001a7abb4d9e350411 Resolves: tdf#159138 don't expand dialog to fit excessively long urls It will be available in 24.8.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.
The dialog looks too small to me on gen, but seems to be like that before this set of changes. So if that's a problem then it is unchanged. The too wide issue should be solved now however.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-24-2-0": https://git.libreoffice.org/core/commit/e0237d26c6b07f79ab7d4c702b0d0c4241039ac2 Resolves: tdf#159138 don't expand dialog to fit excessively long urls 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.