Make WordPress Core

Opened 2 years ago

Closed 4 days ago

#59058 closed defect (bug) (reported-upstream)

Large URLs not fully shown in popup box

Reported by: igordnt's profile igordnt Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.3
Component: Editor Keywords:
Focuses: Cc:

Description

I can’t access the advanced settings of a link while linking a large URL because the side scroll simply doesn’t work. This issue started with WP 6.3.

Here’s a pic of a large URL: https://imgur.com/a/KfUYqzr

The scroll won’t go right, so I can’t for example set the link to open in a new tab.

Attachments (1)

Long URL linked WP6.9 GB22.2.png (36.4 KB) - added by sabernhardt 4 days ago.
truncated URL in Chrome

Download all attachments as: .zip

Change History (16)

#1 @mrinal013
2 years ago

  • Keywords reporter-feedback added

Hi @igordnt

Thanks for reporting this.

Would you please details steps to reproduce the issue?
What theme are you using?
Where can I find 'advanced settings of a link'?

It will be a great pleasure to solve ASAP.

#2 @igordnt
2 years ago

Hi,

I'm using this theme here: https://themeforest.net/item/huber-multipurpose-review-theme/19858260

Whenever I try to include a large URL on a word this bug happens. For example: https://static.moonactive.net/static/coinmaster/reward/reward2.html?c=pe_EMAILuojFwA_20230806 - this URL in the word "25 spins".

I can include the link, but I can't access the "Edit" button (pencil icon) because the scroll doesn't work.

#3 @mrinal013
2 years ago

Hi,

Thanks for the information.

Is this problem happens when active a default theme? any twenty-series theme

#4 @igordnt
2 years ago

I recorded a video to show the bug:

https://youtu.be/7eZCbrNcIVY

#5 @igordnt
2 years ago

@mrinal013 I just made the test on another website that's using the Newspaper theme and this also happened. Then I switched to Twenty Twenty-Three and the result was the same.

#6 @mrinal013
2 years ago

Thanks for your testing.
However, I can't find the issue at my end. https://www.loom.com/share/81dbb74bee834a939654d6d5e827bcb2?sid=7e6304c5-6ea0-442d-8727-c81fc0e3aaaa
Would you please explain more about the server environment?

Last edited 2 years ago by mrinal013 (previous) (diff)

#7 @igordnt
2 years ago

@mrinal013 I think I found out what's the issue: my browser.

I just tested on Google Chrome and Microsoft Edge and the side scroll is working. The problem is with OperaGX.

#8 @mrinal013
2 years ago

  • Resolution set to invalid
  • Status changed from new to closed

Great finding @igordnt.

I mark this issue as solved

#9 @igordnt
2 years ago

Ok, but maybe other OperaGX users will have the same issue as the side scroll is working on WP 6.2, because I tested it.

#10 @mrinal013
2 years ago

  • Resolution invalid deleted
  • Status changed from closed to reopened

Ok. I reopen it to test it on Windows and Mac.

However, I can't find this issue on
Ubuntu OS 22.04
Opera version: 101.0.4843.43
Chrome Version 115.0.5790.110
https://www.loom.com/share/f8c0fea5cf434a4c87f8257dd0b40254?sid=01f84661-c5e0-4144-9002-2b349efa9204

Last edited 2 years ago by mrinal013 (previous) (diff)

#11 @NekoJonez
2 years ago

  • Summary changed from Large URLs bug in WP 6.3 to Large URLs not fully shown in popup box

I made the title a bit more descriptive.

This ticket was mentioned in Slack in #core by mrinal. View the logs.


2 years ago

This ticket was mentioned in Slack in #core by sirlouen. View the logs.


4 days ago

#14 @SirLouen
4 days ago

  • Keywords needs-testing added; reporter-feedback removed

Needs a reproduction report here to see if its still valid

@sabernhardt
4 days ago

truncated URL in Chrome

#15 @sabernhardt
4 days ago

  • Component changed from Posts, Post Types to Editor
  • Keywords needs-testing removed
  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from reopened to closed

I experienced this issue in Chrome (but not Firefox) years ago with Gutenberg 15.7 (which was merged into WordPress 6.3).

With changes since then, including GB60890, the link control popover now truncates long URLs

  • showing the domain if the URL is the link text
  • showing the end of the URL below that, in gray, ignoring any query string

Environment:

  • WordPress: 6.9
  • PHP: 8.4.0
  • Server: Apache/2.4.62 (Win64) PHP/8.4.0 mod_fcgid/2.3.10-dev
  • Database: mysqli (Server: 9.1.0 / Client: mysqlnd 8.4.0)
  • Browser: Chrome 143.0.0.0 for screenshot (also tested Firefox 145.0.2)
  • OS: Windows 11
  • Theme: Twenty Twenty-Five 1.4
  • Plugins:
    • Gutenberg 22.2.0
    • Test Reports 1.2.1
Note: See TracTickets for help on using tickets.