Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A thumbnail is displayed even though an image has been inserted into the post. #9722

Closed
rich20 opened this issue Aug 19, 2024 · 9 comments
Closed
Milestone

Comments

@rich20
Copy link
Member

rich20 commented Aug 19, 2024

Describe the bug
https://www.kunena.org/forum/36-German/168536-kunena-6-3-4-platzhalter-thumbnails-in-beitr%C3%A4gen-eingef%C3%BCgten-bildern#231957
Confirmed

To ReproduceInsert a picture into a message and you will see it

Expected behavior
No thumbnail

Actual result
The thumbnail is displayed

Additional context
This problem exists since K 6.3.4
#9697 (comment)

System information

  • Joomla version: ‎5.1.3-dev
  • Joomla template: CASSIOPEIA
  • Kunena version: 6.3.4
  • Kunena template: Aurelia
  • Php version: 8.2.20
  • Database version: 10.5.25-MariaDB

Desktop

  • OS: Ubuntu 22.04.1 LTS
  • Browser: Chromium, Firefox and Opera
@rich20 rich20 added this to the 6.3 milestone Aug 19, 2024
@Pinkeltje
Copy link
Contributor

Furthermore the displayed attachments (thumbnails) have the wrong layout.

@Pinkeltje
Copy link
Contributor

Pinkeltje commented Sep 11, 2024

Better, but now buttons are pushed to the right.
2024-09-11 Screenshot 579

Or even disappear behing Last edit bar when message has been edited.

2024-09-11 Screenshot 580

@Pinkeltje
Copy link
Contributor

For what it is worth: A thumbnail has always been displayed in this case. Screenshot from Joomla 3 with Kunena 5.2.14 and Crypsis.
2024-09-12 Screenshot 582

@Pinkeltje
Copy link
Contributor

Pinkeltje commented Sep 21, 2024

Don't think this is an improvement.
I goes wrong when inline attachment is removed from message. Furthermore layout is little bit off as it still shows <div class="card pb-3 pd-3 mb-3">

Uploaded 2 attachments
2024-09-21 Screenshot 612
Inserted attachments in message
2024-09-21 Screenshot 610
Result: both attachments shown in message
2024-09-21 Screenshot 609
Removed inline attachment from message
2024-09-21 Screenshot 611
Result when removed from message
2024-09-21 Screenshot 608

@xillibit
Copy link
Member

yes it remove the attachment on list below the message but it keeps the bbcode in the message

@Pinkeltje
Copy link
Contributor

Tested with K 6.3.5. Now when removing attachment entire message text is gone and replaced by true
2024-09-23 Screenshot 614
Result after removing attachment
2024-09-23 Screenshot 616

@Ruud68
Copy link
Contributor

Ruud68 commented Sep 23, 2024

Can confirm, just ran into this issue on my own site.

and another issue: I saw the message was replaced with true so I didn't save the message but did a 'cancel'.
This retained the message itself but the attachment was deleted.

That makes me wonder if that is correct?
IMO The attachment should be deleted upon saving the message and not upon clicking delete on the attachment. Doing it that way will actually make you cancel the changes you did.

I know that this is not a bug but probably by 'design' but wanted to report it anyway :)

@xillibit
Copy link
Member

Tested with K 6.3.5. Now when removing attachment entire message text is gone and replaced by true
I had made this change : c80df4d

@Ruud68 : yes it's a bug, there is already an issue for it : #9730

@Ruud68
Copy link
Contributor

Ruud68 commented Sep 23, 2024

Tested with K 6.3.5. Now when removing attachment entire message text is gone and replaced by true
I had made this change : c80df4d

@Ruud68 : yes it's a bug, there is already an issue for it : #9730

I think this is different: what expect is that when I click the remove attachment button, the attachment is only removed once the message is saved and not when saving the message is cancelled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants