No Code Attached Yet bug
avatar Mich-es
Mich-es
20 Sep 2023

Steps to reproduce the issue

Create a picture an name it withe more than 20 charakters
Upload in media library
New Article select picture and try to rename it

Expected result

I can rename the picture

Actual result

I cant rename the picture - see screenshot
Unbenannt
Unbenannt1

System information (as much as possible)

J4.3.4

Additional comments

avatar Mich-es Mich-es - open - 20 Sep 2023
avatar Mich-es Mich-es - change - 20 Sep 2023
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 20 Sep 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 Sep 2023
avatar Fedik Fedik - change - 21 Sep 2023
Labels Added: bug
avatar Fedik Fedik - labeled - 21 Sep 2023
avatar brianteeman
brianteeman - comment - 21 Jan 2024

Unable to replicate

avatar Mich-es Mich-es - change - 21 Jan 2024
The description was changed
avatar Mich-es Mich-es - edited - 21 Jan 2024
avatar Mich-es
Mich-es - comment - 21 Jan 2024

I can reproduze this with Joomla 5.0.1

avatar brianteeman
brianteeman - comment - 21 Jan 2024

image

image

avatar Mich-es
Mich-es - comment - 21 Jan 2024

FIRST create a picture with more than 20 charakters (try out up to 80 charakters to reprouce it)
THAN try to rename it.

Have a look at my screenshots
On your screenshot, rename picture 2.jpg up to 80 charakters or more an than try it again to rename it

avatar brianteeman
brianteeman - comment - 21 Jan 2024

media

avatar Mich-es
Mich-es - comment - 21 Jan 2024

On your screenshot, rename picture 2.jpg to 2-veryveryveryvery-long-picture-name-really-long.jpg and than try it again to rename it - what tool u use it for the gif?

avatar brianteeman
brianteeman - comment - 21 Jan 2024

The tool is called licecap

media2

avatar Mich-es
Mich-es - comment - 21 Jan 2024

Thanks for the tool
test

avatar chmst
chmst - comment - 22 Jan 2024

Unfortunately your gif cuts the most important part. Is there a error-message? But I cannot replicate the issue.
Could you please add information about your environment?

avatar Mich-es
Mich-es - comment - 22 Jan 2024

No error Message
The long file name moves the selection area to the left into the area that is no longer visible. Just try it out and make the file name long enough until this bug occurs. Please bear in mind that you do not always have high screen resolutions. So please also try CTRL+

PHP 8.2
Joomla 5.0.1 & 5.0.2

avatar Mich-es
Mich-es - comment - 22 Jan 2024

Next try
test

avatar brianteeman
brianteeman - comment - 22 Jan 2024

ah - I think I finally understand what you are saying.

When the filename is very long it pushes the dropdown menu off to the left of the screen and it can at some resolutions or screen positions push the menu off the screen completely.

Is that correct?

I can think of a few possible solutions

  1. Use css to truncate the display of the filename
  2. Change the alignment of the dropdown menu items
  3. Separate the display of the filename and dropdown
avatar Mich-es
Mich-es - comment - 22 Jan 2024

Is that correct?

Yes, finally someone who understands me :-)

avatar brianteeman
brianteeman - comment - 22 Jan 2024

Example solution

example

avatar Mich-es
Mich-es - comment - 22 Jan 2024

Yes, this looks good!

One more thing - if you extend the file name, the entire image area slides down and you wonder where the images have disappeared to
test

avatar brianteeman
brianteeman - comment - 22 Jan 2024

Ok. Will prepare a fix later today

avatar Quy Quy - change - 22 Jan 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-01-22 16:26:58
Closed_By Quy
avatar Quy Quy - close - 22 Jan 2024
avatar Quy
Quy - comment - 22 Jan 2024

Fixed per #42691. Thanks!

Add a Comment

Login with GitHub to post a comment